﻿/* ============================================
   RESET & BASE STYLES
============================================ */

/* typography: headings and body */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

/* legacy imports kept for reference:
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Znamenny+Musical+Notation&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Nunito:wght@500;700&display=swap');
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #169556;
  --color-primary-dark: #27ae60;
  --color-secondary: #1a1a1a;
  --color-accent: #ff8c42;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --color-error: #e74c3c;
  --color-success: #27ae60;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: none;
  scroll-padding-top: 88px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

main > section {
  scroll-snap-align: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  main > section {
    scroll-snap-align: none;
  }
}

/* headings use Montserrat for a clean, modern look */
h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* body text uses Open Sans for readability */
h4,
h5,
h6,
p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

h1 {
  font-size: 3.75rem;
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 500;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

section:nth-child(even) {
  background-color: var(--color-light);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);

  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.2px);
  -webkit-backdrop-filter: blur(9.2px);
  border: 1px solid rgba(255, 255, 255, 0.47);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  padding: 0.5rem 0;

  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 20px;
}

.navbar-brand {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  cursor: pointer;
  justify-content: flex-start;
  align-items: center;
}

.navbar-brand img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.navbar-brand .tagline {
  font-size: 0.75rem;
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.3;
  white-space: normal;
}

.navbar-brand:hover {
  text-decoration: none;
}

.tagline .logoSpan {
  font-weight: 900;
  color: var(--color-primary);
  font-size: 1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #169556;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  rotate: 45deg;
  transform-origin: center;
  margin-bottom: -4px;
}

.menu-toggle.active span:nth-child(2) {
  display: none;
}

.menu-toggle.active span:nth-child(3) {
  rotate: -45deg;
  transform-origin: center;
  margin-top: -4px;
}

.ctaBtn {
  padding: 10px 25px;
  border: 1px solid var(--color-primary-dark);
  color: white !important;
  border-radius: 10px;
  transition: var(--transition);
  background-color: var(--color-primary);
}

.ctaBtn:hover,
.ctaBtn:focus {
  color: var(--color-primary) !important;
  background-color: #ffffff00;
  text-decoration: none;
}

.ctaBtn::after {
  display: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  box-shadow: 0 0px 20px rgb(0 0 0 / 30%);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
  color: var(--color-white);
  text-decoration: none;
}

.btn-secondary {
  /* background-color: #ffffff38; */
  color: white;
  border: 2.5px solid var(--color-white);
  font-weight: 700;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #ffffff20;
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../assets/trinas.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-carpintaria::before {
  background-image: url(../assets/Frame\ 1.png) !important;
}

.hero-pathway-construcao::before {
  background-image: url(../assets/construção.png) !important;
  background-position: 0 60%;
}

.hero-pathway-remodelacao::before {
  background-image: url(../assets/remolde.png) !important;
  background-position: bottom;
}

.hero-pathway-comercial::before {
  background-image: url(../assets/Novo\ Projeto.png) !important;
}

h2#resumo-pathway-construcao,
h2#tipos-construcao,
h2#resumo-pathway-remodelacao,
h2#tipos-remodelacao,
h2#resumo-pathway-comercial,
h2#tipos-comercial {
  text-align: center;
}

.hero-sobre::before {
  background-image: url(../assets/Construction_Banner_Mockup.png) !important;
  /* background-position: 0 -550px; */
}

.hero-contacts {
  display: none;
}

.hero-projects2::before {
  background-image: url("https://wallpapers.com/images/hd/blueprint-background-2400-x-1600-b3yfwdyp7twln03w.jpg") !important;
}

.hero {
  margin-top: 80px;
  color: var(--color-white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgb(30 189 97 / 70%) 0%,
    rgb(39 174 95 / 74%) 100%
  );
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(173, 235, 201, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(117, 203, 154, 0.18),
      transparent 36%
    ),
    linear-gradient(118deg, #254d3b 0%, #1d3a2d 44%, #1f4937 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

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

.hero-content h1 {
  font-size: 3.75rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.dot {
  color: var(--color-white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  display: block;
  animation: countUp 2s ease-out forwards;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-top: 0.5rem;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   MANIFESTO BAND
   ============================================ */

.manifesto-band {
  position: relative;
  padding: 82px 0 74px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(173, 235, 201, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(117, 203, 154, 0.18),
      transparent 36%
    ),
    linear-gradient(118deg, #254d3b 0%, #1d3a2d 44%, #1f4937 100%);
  margin-top: 70px;
}

.manifesto-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2),
    transparent 66%
  );
  pointer-events: none;
}

.manifesto-band h1 {
  color: white;
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 2.6rem;
  align-items: stretch;
}

.manifesto-panel {
  background: linear-gradient(
    145deg,
    rgba(22, 149, 86, 0.12),
    rgba(22, 149, 86, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2.15rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 24px 55px rgba(10, 29, 21, 0.28);
}

.manifesto-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #9ee9c4;
  margin-bottom: 0.85rem;
}

.manifesto-panel h2 {
  color: #f4fff9;
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 19ch;
  text-wrap: balance;
}

.manifesto-lead {
  color: rgba(234, 252, 243, 0.9);
  max-width: 60ch;
  margin-bottom: 1.35rem;
}

.manifesto-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-bottom: 1.2rem;
}

.signal-pill {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.13);
  color: #ecfff5;
  border-radius: 999px;
  padding: 0.36rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.manifesto-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.manifesto-points {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.manifesto-points li {
  color: rgba(217, 248, 231, 0.96);
  padding-left: 1.15rem;
  position: relative;
  font-size: 0.95rem;
}

.manifesto-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2acb78;
  position: absolute;
  left: 0;
  top: 0.52rem;
}

.manifesto-aside {
  display: grid;
  gap: 1rem;
}

.manifesto-grid:last-child .manifesto-aside {
  order: 1;
}

.manifesto-quote {
  margin: 0;
  border-left: 3px solid #8ce8bc;
  padding: 0.8rem 0 0.8rem 1rem;
  color: #def9eb;
  font-size: 0.98rem;
  font-style: italic;
}

.manifesto-photo-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(-1deg);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

.manifesto-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
}

.manifesto-photo-wrap img {
  width: 100%;
  min-height: 380px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manifesto-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.metric-card {
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem 0.85rem;
  text-align: center;

  background: linear-gradient(
    145deg,
    rgba(22, 149, 86, 0.12),
    rgba(22, 149, 86, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(7px);
  box-shadow: 0 24px 55px rgba(10, 29, 21, 0.28);
}

.metric-value {
  display: block;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  text-shadow: 0 0 10px #00000071;
}

.metric-label {
  display: block;
  margin-top: 0.2rem;
  color: #ffffff;
  font-size: 0.75rem;
  /* text-shadow: 0 0 10px #00000071; */
  font-weight: 600;
}

h2#pathways-heading {
  text-align: center;
}

.manifesto-pathways {
  position: relative;
  z-index: 1;
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.pathway-card {
  border-radius: 16px;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 0.32rem;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(10, 33, 23, 0.2);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.manifesto-pathways .pathway-card:nth-child(1) {
  background: rgba(238, 149, 14, 0.1) !important;
}

.manifesto-pathways .pathway-card:nth-child(2) {
  background: rgba(131, 177, 72, 0.1) !important;
}

.manifesto-pathways .pathway-card:nth-child(3) {
  background: rgba(25, 85, 153, 0.1) !important;
}

.pathway-card:hover,
.pathway-card:focus {
  text-decoration: none;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 38px rgba(10, 33, 23, 0.28);
}

.pathway-title {
  color: #f4fff9;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.pathway-desc {
  color: rgba(232, 252, 242, 0.9);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */

.features-grid,
.services-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card,
.service-card,
.portfolio-item {
  background-color: var(--color-white);
  /* padding: 2.5rem; */
  border-radius: var(--radius);
  box-shadow: 0px 3px 10px 0px #0000007e;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card {
  padding: 2.5rem;

  background: rgba(255, 255, 255, 0.23);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.7px);
  -webkit-backdrop-filter: blur(6.7px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover,
.service-card:hover,
.portfolio-item:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.portfolio-info {
  padding: 1.5rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1000000000000;
  transition: var(--transition);
  opacity: 0;
  /* transition-delay: 0.2s; */
  width: 100%;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: var(--color-primary);
}

.feature-card h3,
.service-card h3 {
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.feature-card p,
.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 700;
  transition: var(--transition);
}

.service-link:hover {
  transform: translateX(5px);
}

/* ============================================
   WHY CIE SECTION
   ============================================ */

.why-cie {
  background-color: var(--color-white);
}

.why-cie h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.9;
}

.badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

section.services,
section.projects,
section.why-cie {
  background-image: url(../assets/paper.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: lighten;
  background-color: #ebebeb;
}

.services h2 {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.iconS {
  width: 64px;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
  background-color: var(--color-white);
}

.portfolio h2 {
  text-align: center;
}

.portfolio-image {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  transition: var(--transition);
  object-fit: cover;
  display: block;
}

.portfolio-item {
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-item:hover {
  z-index: 100000000;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
  position: absolute;
  padding: 1.5rem;
  top: 257px;
  background-color: white;
  width: 100%;
  border-radius: 0 0 20px 20px;
  z-index: 1000000 !important;
}

.portfolio-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1rem;
}

/* ============================================
   REVIEW SECTION
   ============================================ */

.review {
  background-color: var(--color-light);
}

.review h2 {
  text-align: center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about h2 {
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 1rem;
}

.about-text strong {
  color: var(--color-primary);
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.05) 0%,
    rgba(26, 26, 26, 0.05) 100%
  );
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(46, 204, 113, 0.1);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
  object-fit: cover;
  display: block;
}

.team-member h4 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.team-member p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact h2 {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
  color: var(--color-secondary);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.contact-item a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-item p {
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
}

.contact-benefits {
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1) 0%,
    rgba(26, 26, 26, 0.05) 100%
  );
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  border-left: 4px solid var(--color-primary);
}

.contact-benefits h4 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.contact-benefits ul {
  list-style: none;
}

.contact-benefits li {
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ============================================
   FORM STYLES
   ============================================ */

.contact-form {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--color-white);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

/* 
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: var(--color-error);
} */

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

.form-help {
  display: block;
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 8px;
  display: none;
  font-weight: 600;
  border-left: 4px solid;
}

.form-feedback.success {
  background-color: #d4edda;
  color: #155724;
  border-color: #27ae60;
  display: block;
}

.form-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #e74c3c;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a1a1a 100%);
  color: var(--color-white);
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-section h4 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 80px 0;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow);

    background: #f8f8f8;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20.8px);
    -webkit-backdrop-filter: blur(10.8px);
  }

  .nav-menu.active {
    max-height: 450px;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu li:last-child {
    border: none;
  }

  .nav-menu a {
    display: block;
    padding: 1.2rem 20px;
  }

  a.ctaBtn {
    border-radius: 0;
  }

  .nav-menu a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-brand {
    gap: 0.5rem;
  }

  .navbar-brand img {
    width: 40px;
    height: 40px;
  }

  .navbar-brand .tagline {
    font-size: 0.6rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .manifesto-band {
    padding: 56px 0;
    margin-top: 50px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .manifesto-panel h2 {
    font-size: 2.05rem;
  }

  .manifesto-photo-wrap img {
    min-height: 320px;
  }

  .manifesto-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .manifesto-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .manifesto-signals {
    margin-bottom: 1rem;
  }

  .manifesto-pathways {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 1rem;
  }

  .pathway-card {
    padding: 0.95rem 1rem;
  }

  .pathway-title {
    font-size: 0.96rem;
  }

  .pathway-desc {
    font-size: 0.82rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item:hover .portfolio-info {
    opacity: 1;
    position: relative;
    padding: 1.5rem;
    background-color: white;
    top: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
  }

  .portfolio-info {
    opacity: 1;
    position: relative;
    padding: 1.5rem;
    background-color: white;
    width: 100%;
    border-radius: 0 0 20px 20px;
    z-index: 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 100px 0;
    margin-top: 70px;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    padding: 0.75rem 15px;
  }

  .navbar-brand {
    gap: 0.4rem;
  }

  .navbar-brand img {
    width: 36px;
    height: 36px;
  }

  .navbar-brand .tagline {
    font-size: 0.55rem;
    line-height: 1.2;
  }

  .nav-menu {
    top: 65px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-cta {
    gap: 1rem;
  }

  .manifesto-panel h2 {
    font-size: 1.65rem;
  }

  .manifesto-eyebrow {
    font-size: 0.75rem;
  }

  .manifesto-photo-wrap img {
    min-height: 250px;
  }

  .manifesto-metrics {
    grid-template-columns: 1fr;
  }

  .manifesto-quote {
    font-size: 0.92rem;
  }

  .manifesto-pathways {
    margin-top: 0.9rem;
  }

  .pathway-card {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .pathway-title {
    font-size: 0.92rem;
  }

  .pathway-desc {
    font-size: 0.8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px;
    font-size: 0.95rem;
  }

  .form-group textarea {
    min-height: 100px;
  }

  section {
    padding: 40px 0;
  }

  .hero {
    padding: 80px 0;
    margin-top: 65px;
  }

  .service-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .about-intro p {
    font-size: 0.95rem;
  }

  .badges {
    gap: 0.75rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .contact-item {
    margin-bottom: 1.5rem;
  }

  .contact-item strong {
    font-size: 0.9rem;
  }

  .contact-item a,
  .contact-item p {
    font-size: 0.95rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-section p {
    font-size: 0.9rem;
  }
}

/* ============================================
   HERO SECTION IMPROVEMENTS
   ============================================ */

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-weight: 600;
}

.projects-portfolio .hero-description {
  color: #169556 !important;
  text-align: center;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content h1 .highlight {
  color: #ff8800;
  font-size: 1.9em;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: bold;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefits-grid .benefit-card:nth-child(1) {
  border-left: 4px solid #92bd4c;
}

.benefits-grid .benefit-card:nth-child(2) {
  border-left: 4px solid #69b356;
}

.benefits-grid .benefit-card:nth-child(3) {
  border-left: 4px solid #429e58;
}

.benefits-grid .benefit-card:nth-child(1) .benefit-number {
  background-color: #92bd4c;
}

.benefits-grid .benefit-card:nth-child(1) h3 {
  color: #92bd4c;
}

.benefits-grid .benefit-card:nth-child(2) .benefit-number {
  background-color: #69b356;
}

.benefits-grid .benefit-card:nth-child(2) h3 {
  color: #69b356;
}

.benefits-grid .benefit-card:nth-child(3) .benefit-number {
  background-color: #429e58;
}

.benefits-grid .benefit-card:nth-child(3) h3 {
  color: #429e58;
}

.benefit-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.benefit-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
  background-color: var(--color-primary);
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(173, 235, 201, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(117, 203, 154, 0.18),
      transparent 36%
    ),
    linear-gradient(118deg, #254d3b 0%, #1d3a2d 44%, #1f4937 100%);
}

#process-heading {
  color: var(--color-white);
}

.process .container > p {
  color: var(--color-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;

  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.2px);
  -webkit-backdrop-filter: blur(9.2px);
  border: 1px solid rgba(255, 255, 255, 0.47);
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.process-step:nth-child(1) .step-number,
.process-step:nth-child(1) .step-time {
  background: #d9a01c !important;
}

.process-step:nth-child(2) .step-number,
.process-step:nth-child(2) .step-time {
  background: #afa931 !important;
}

.process-step:nth-child(3) .step-number,
.process-step:nth-child(3) .step-time {
  background: #69b356 !important;
}

.process-step:nth-child(4) .step-number,
.process-step:nth-child(4) .step-time {
  background: #429e58 !important;
}

.process-step h3 {
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step-time {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

section.projects {
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(173, 235, 201, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(117, 203, 154, 0.18),
      transparent 36%
    ),
    linear-gradient(118deg, #254d3b 0%, #1d3a2d 44%, #1f4937 100%);
}

section.projects h2 {
  color: var(--color-white);
}

section.projects p {
  color: var(--color-light);
}

.projects {
  background-color: var(--color-white);
  padding-bottom: 200px;
}

.projects h2 {
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* overflow: hidden; */
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  /* transform: translateY(-12px); */
  box-shadow: var(--shadow-hover);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

/* .project-card:hover .project-image {
 transform: scale(1.05); 
} */

.project-info {
  padding: 2rem;
}

.project-info h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.detail {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 15px;
}

.project-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-results {
  background-color: var(--color-light);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
}

.project-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.items-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.items-btn .link {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background-color: var(--color-white);
}

.link:hover {
  text-decoration: none;
  background-color: var(--color-primary);
  color: white;
}

/* ============================================
   ABOUT SECTION IMPROVEMENTS
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  margin: 1.5rem 0;
}

.about-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-light);
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.about-credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.credential-box {
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.05) 0%,
    rgba(26, 26, 26, 0.05) 100%
  );
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
}

.credential-box h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.credential-box ul {
  list-style: none;
}

.credential-box li {
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================
   SERVICE FEATURES
   ============================================ */

.service-features {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.service-features li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
  position: relative;
}

.service-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* ============================================
   CONTACT IMPROVEMENTS
   ============================================ */

.contact-link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-note {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-credentials {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-trust {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .trust-item {
    justify-content: center;
  }

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

  .project-details {
    gap: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-trust {
    gap: 0.75rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROJETOS PAGE STYLES
   ============================================ */

.hero-projects {
  margin-top: 80px;
  color: var(--color-white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
}

.hero-projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../assets/13cd-2-1.jpg_1.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.hero-projects::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgb(30 189 97 / 70%) 0%,
    rgb(39 174 95 / 74%) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-projects .hero-content {
  position: relative;
  z-index: 2;
}

.hero-projects h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-projects .hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
}

.hero-projects .hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* Filter Section */
.projects-filter-section {
  padding: 3rem 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
  /* position: fixed;
    bottom: 5%;
    left: 5%;
    z-index: 10; */
}

.filter-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 28px;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Projects Portfolio */
.projects-portfolio {
  padding-top: 5rem;
  background-color: var(--color-white);
  padding-bottom: 215px;
  /* margin-top: 30px; */
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.project-card-link {
  cursor: pointer;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;

  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(173, 235, 201, 0.2),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(117, 203, 154, 0.18),
      transparent 36%
    ),
    linear-gradient(118deg, #254d3b 0%, #1d3a2d 44%, #1f4937 100%);

  z-index: 0;
  position: relative;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PROJETO PAGE STYLES
   ============================================ */

.back-button-section {
  padding: 2rem 0;
  background-color: var(--color-light);
  margin-top: 80px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: var(--transition);
  font-size: 14pt;
}

.back-button:hover {
  transform: translateX(-5px);
}

/* Project Hero */
.project-hero {
  padding: 0;
  background-color: var(--color-white);
}

.project-hero .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  gap: 3rem;
}

.project-hero-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width: 100%;
  max-width: 750px;
}

.carousel-main {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background-color: #f0f0f0;
}

.carousel-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 10;
}

.carousel-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.carousel-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin-top: 1rem;
  overflow-y: auto;
  max-width: 100%;
  overflow-x: auto;
}

.carousel-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s;
  flex-shrink: 0;
}

.carousel-thumbnail:hover {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.carousel-thumbnail.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.project-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.project-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.project-category-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-hero-info {
  max-width: 40%;
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  width: 85dvw;
  min-height: 400px;
  max-width: 35%;
}

.project-hero-info h1 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.project-hero-description {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.project-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-stat .stat-value {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* Project Details Section */
.project-details-section {
  padding: 4rem 0;
  background-color: var(--color-light);
}

.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.project-details-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-details-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-hero-info .services-box {
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  padding-bottom: 0;
}

.project-hero-info .services-box ul {
  display: flex;
  flex-direction: column;
}

/* Overview Box */
.overview-box,
.services-box,
.before-after-box,
.challenges-box,
.info-box,
.project-cta-box {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.overview-box h2,
.services-box h2,
.before-after-box h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.overview-box p,
.services-box p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.overview-results {
  background-color: var(--color-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-primary);
}

.overview-results h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* projetos 2 */

.projetos2,
.box {
  width: 100%;
}

.projetos2 .boxbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.box #projects-heading,
.container #projects-heading {
  text-align: center;
}

.projetoBox {
  width: 100%;
  max-width: calc(100% / 5);
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.projetoBox img {
  width: 100%;
  max-height: 300px;
  position: absolute;
  top: 0;
  left: 0;
  transition: var(--transition);
}

.projetoBox:hover img {
  transform: scale(1.5);
  transform-origin: center;
  opacity: 0.7;
}

.projetoBox .detalhes {
  position: absolute;
  opacity: 0;
  transition: var(--transition);
  bottom: -150px;
  padding: 10px 20px;
}

.projetoBox:hover .detalhes {
  opacity: 1;
  bottom: 0;
  background-color: #ffffffb7;
}

/* Services List */
.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.services-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-light);
  font-weight: 500;
}

.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Before & After */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.before-after-item {
  position: relative;
}

.before-after-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.before-after-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Info Box */
.info-box h3,
.challenges-box h3,
.project-cta-box h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--color-text-light);
  font-weight: 600;
}

.info-value {
  color: var(--color-primary);
  font-weight: 700;
}

/* Challenges & Solutions */
.challenge-item,
.solution-item {
  margin-bottom: 1.5rem;
}

.challenge-item:last-child,
.solution-item:last-child {
  margin-bottom: 0;
}

.challenge-item h4,
.solution-item h4 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.challenge-item p,
.solution-item p {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Project CTA Box */
.project-cta-box {
  /* background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(26, 26, 26, 0.05) 100%); */
  border: 2px solid var(--color-primary);
}

.project-cta-box p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.project-cta-box .btn-secondary {
  border: 3px solid var(--color-primary);
  color: var(--color-primary);
}

/* Related Projects */
.related-projects {
  padding: 4rem 0;
  background-color: var(--color-white);
  padding-bottom: 215px;
}

.related-projects h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.related-project-card {
  cursor: pointer;
}

/* Error Section */
.error-section {
  padding: 6rem 0;
  text-align: center;
}

.error-section h1 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.error-section p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE - PROJETOS & PROJETO PAGES
   ============================================ */

@media (max-width: 1024px) {
  .project-hero-carousel {
    grid-template-columns: 1fr;
  }

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

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

  .services-list {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .carousel-main {
    height: 350px;
  }

  .project-hero .container {
    flex-direction: column;
  }

  .project-hero-info {
    max-width: none;
  }

  .project-hero-carousel {
    flex-direction: row;
  }

  .carousel-thumbnails {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 325px;
    width: 20%;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-projects h1 {
    font-size: 2.2rem;
  }

  .project-hero-info h1 {
    font-size: 2rem;
  }

  .filter-controls {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .carousel-main {
    height: 300px;
  }

  .carousel-thumbnail {
    width: 70px;
    height: 70px;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-thumbnails {
    max-height: 285px;
  }
}

@media (max-width: 480px) {
  .hero-projects {
    padding: 80px 0;
  }

  .hero-projects h1 {
    font-size: 1.75rem;
  }

  .project-hero-info h1 {
    font-size: 1.5rem;
  }

  .project-hero-image {
    height: 250px;
  }

  .carousel-main {
    height: 250px;
  }

  .carousel-thumbnail {
    width: 60px;
    height: 60px;
  }

  .carousel-nav {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }

  .project-hero-carousel {
    flex-direction: column;
  }

  .carousel-thumbnails {
    flex-direction: row;
    width: 100%;
  }

  .overview-box,
  .services-box,
  .before-after-box,
  .challenges-box,
  .info-box,
  .project-cta-box {
    padding: 1.5rem;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

#process-heading {
  text-align: center;
}

/* ============================================
   SERVICE MODAL
   ============================================ */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 2001;
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;

  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 30px;
  backdrop-filter: blur(12px);
  /* padding: 0.5rem 0px; */
  background: rgba(255, 255, 255, 0.7);
}

#modalDescription ul {
  margin-left: 25px;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2002;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 3rem;
}

.modal-body h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.modal-body p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.modal-body h3 {
  color: var(--color-secondary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.modal-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.modal-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  position: relative;
}

.modal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.modal-list ol {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
}

.modal-list ol li {
  counter-increment: item;
  padding-left: 1.5rem;
}

.modal-list ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.modal-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.modal-cta .btn {
  width: 100%;
  text-align: center;
}

/* ============================================
   RESPONSIVE - MODAL
   ============================================ */

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-body {
    padding: 2rem;
  }

  .modal-body h2 {
    font-size: 1.5rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 85%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-body h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .modal-body h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  .modal-body p {
    font-size: 0.95rem;
  }

  .modal-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .modal-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* ============================================
   CARPINTARIA SECTION
   ============================================ */

.carpintaria {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(22, 149, 86, 0.08),
      transparent 35%
    ),
    radial-gradient(circle at 85% 85%, rgba(0, 0, 0, 0.05), transparent 35%),
    var(--color-light);
  padding: 5rem 0;
}

.carpintaria h2 {
  text-align: center;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.section-intro {
  max-width: 840px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-carpintaria {
  /* min-height: 72vh; */
  background:
        /* linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2)), */ url("../assets/Frame\ 1.png")
    center/cover no-repeat;
  background-color: none;
}

.hero-carpintaria .hero-content {
  max-width: 960px;
  margin: 0 auto;
}

.hero-carpintaria .hero-content h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 900;
}

.carpintaria-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto 2.5rem;
}

.carpintaria-stat {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.carpintaria-stat-value {
  display: block;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.carpintaria-stat-label {
  display: block;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.carpintaria-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.carpintaria-card {
  /* background-color: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow); */
  overflow: hidden;
  /* transition: var(--transition); */
  text-align: center;
  display: flex;
  flex-direction: row;
}

/* .carpintaria-card:hover {
     transform: translateY(-8px); 
     box-shadow: var(--shadow-hover); 
} */

.carpintaria-image {
  width: 100%;
  min-width: 50%;
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0% 100%, 15% 50%, 0% 0%);
  clip-path: shape(
    from 94.06% 44.72%,
    curve to 94.03% 55.27% with 93.54% 50%,
    curve to 90.35% 64.36% with 94.51% 60.55%,
    curve to 82.46% 71.14% with 86.19% 68.18%,
    curve to 77.79% 80.09% with 78.73% 74.11%,
    curve to 71.17% 85.99% with 76.85% 86.07%,
    curve to 60.97% 86.23% with 65.49% 85.91%,
    curve to 51.99% 89.33% with 56.44% 86.54%,
    curve to 42.56% 91.82% with 47.55% 92.13%,
    curve to 33.04% 89.37% with 37.57% 91.5%,
    curve to 24.01% 84.77% with 28.51% 87.23%,
    curve to 16.79% 77.97% with 19.51% 82.31%,
    curve to 9% 70.2% with 14.07% 73.63%,
    curve to 4.08% 61.06% with 3.93% 66.77%,
    curve to 7.25% 50.35% with 4.23% 55.35%,
    curve to 7.56% 39.46% with 10.26% 45.36%,
    curve to 10.03% 30.34% with 4.85% 33.57%,
    curve to 17.12% 22.15% with 15.22% 27.12%,
    curve to 22.47% 12.72% with 19.02% 17.17%,
    curve to 32.08% 9.52% with 25.91% 8.27%,
    curve to 43.06% 11.97% with 38.26% 10.78%,
    curve to 52.82% 9.51% with 47.86% 13.17%,
    curve to 62.28% 8.49% with 57.78% 5.85%,
    curve to 73.21% 10.64% with 66.77% 11.12%,
    curve to 83.7% 14.25% with 79.66% 10.16%,
    curve to 87.76% 24.68% with 87.74% 18.33%,
    curve to 91.18% 35.23% with 87.78% 31.03%,
    curve to 94.06% 44.72% with 94.57% 39.44%
  );
}

.carpintaria-image.dois {
  clip-path: polygon(
    100% 0%,
    85% 50%,
    100% 100%,
    15% 100%,
    0% 50%,
    15% 0%
  ) !important;
  clip-path: shape(
    from 94.3% 44.61%,
    curve to 91% 54.6% with 93.15% 50%,
    curve to 91.75% 65.82% with 88.85% 59.21%,
    curve to 87.48% 73.92% with 94.66% 72.43%,
    curve to 78.37% 80.47% with 80.3% 75.42%,
    curve to 72.77% 89.9% with 76.45% 85.53%,
    curve to 63.41% 94.02% with 69.1% 94.28%,
    curve to 52.79% 90.26% with 57.72% 93.77%,
    curve to 42.27% 90.61% with 47.86% 86.76%,
    curve to 33.77% 88.81% with 36.69% 94.46%,
    curve to 26.18% 81.68% with 30.86% 83.16%,
    curve to 18.2% 76.64% with 21.51% 80.2%,
    curve to 13.91% 68.29% with 14.89% 73.09%,
    curve to 6.76% 59.64% with 12.92% 63.5%,
    curve to 8.15% 50.88% with 0.59% 55.77%,
    curve to 11.11% 40.08% with 15.71% 45.99%,
    curve to 9.98% 30.07% with 6.51% 34.17%,
    curve to 17.14% 22.52% with 13.45% 25.96%,
    curve to 26.53% 19.16% with 20.84% 19.09%,
    curve to 36.15% 18.03% with 32.23% 19.22%,
    curve to 43.59% 8.57% with 40.07% 16.84%,
    curve to 52.14% 4.8% with 47.11% 0.3%,
    curve to 63.04% 7.74% with 57.18% 9.3%,
    curve to 70.8% 12.85% with 68.9% 6.18%,
    curve to 77.99% 20.79% with 72.7% 19.51%,
    curve to 88.88% 24.87% with 83.29% 22.07%,
    curve to 94.96% 33.45% with 94.47% 27.67%,
    curve to 94.3% 44.61% with 95.45% 39.23%
  ) !important;
}

.carpintaria-card:nth-child(even) {
  flex-direction: row-reverse;
}

.carpintaria-text {
  text-align: start;
  padding: 2rem 2rem 1.75rem;
}

.carpintaria-card:nth-child(odd) .carpintaria-text {
  text-align: end;
}

.carpintaria-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 50%;
    width: 150px;
    height: 150px; */
  margin: 25px auto;
  display: block;
  transition: var(--transition);
}

.carpintaria-card:hover .carpintaria-image img {
  transform: scale(1.1);
}

.carpintaria-card h3 {
  color: var(--color-secondary);
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.carpintaria-category {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.carpintaria-description {
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

.carpintaria-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(22, 149, 86, 0.25);
  padding-bottom: 3px;
  transition: var(--transition);
}

.carpintaria-link:hover {
  border-bottom-color: var(--color-primary);
  transform: translateX(3px);
}

.carpintaria-benefits {
  padding: 1rem 0 5rem;
}

/* ============================================
   RESPONSIVE - CARPINTARIA
   ============================================ */

@media (max-width: 1024px) {
  .carpintaria-card,
  .carpintaria-card:nth-child(even) {
    flex-direction: column;
  }

  .carpintaria-image {
    min-width: 100%;
    height: 300px;
  }

  .carpintaria-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .carpintaria {
    padding: 3rem 0;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .carpintaria-stats {
    grid-template-columns: 1fr;
  }

  .carpintaria-card h3 {
    font-size: 1.25rem;
  }

  .carpintaria-description {
    font-size: 0.9rem;
  }

  .carpintaria-image,
  .carpintaria-image.dois {
    height: 240px;
    clip-path: none !important;
  }

  .carpintaria-text {
    padding: 1.4rem;
  }
}

@media (max-width: 480px) {
  .carpintaria {
    padding: 2rem 0;
  }

  .section-intro {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  /* .carpintaria-image img {
        width: 120px;
        height: 120px;
        margin: 20px auto;
    } */

  .carpintaria-card h3 {
    font-size: 1.08rem;
  }

  .carpintaria-description {
    font-size: 0.88rem;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

/* Section animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Item animations (staggered) */
.scroll-animate-item {
  /* opacity: 0; */
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect for multiple items */
.feature-card:nth-child(1),
.service-card:nth-child(1),
.benefit-card:nth-child(1),
.process-step:nth-child(1),
.project-card:nth-child(1),
.portfolio-item:nth-child(1),
.team-member:nth-child(1) {
  transition-delay: 0s;
}

.feature-card:nth-child(2),
.service-card:nth-child(2),
.benefit-card:nth-child(2),
.process-step:nth-child(2),
.project-card:nth-child(2),
.portfolio-item:nth-child(2),
.team-member:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(3),
.service-card:nth-child(3),
.benefit-card:nth-child(3),
.process-step:nth-child(3),
.project-card:nth-child(3),
.portfolio-item:nth-child(3),
.team-member:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card:nth-child(4),
.service-card:nth-child(4),
.benefit-card:nth-child(4),
.process-step:nth-child(4),
.project-card:nth-child(4),
.portfolio-item:nth-child(4),
.team-member:nth-child(4) {
  transition-delay: 0.3s;
}

.feature-card:nth-child(5),
.service-card:nth-child(5),
.benefit-card:nth-child(5),
.process-step:nth-child(5),
.project-card:nth-child(5),
.portfolio-item:nth-child(5),
.team-member:nth-child(5) {
  transition-delay: 0.4s;
}

.feature-card:nth-child(6),
.service-card:nth-child(6),
.benefit-card:nth-child(6),
.process-step:nth-child(6),
.project-card:nth-child(6),
.portfolio-item:nth-child(6),
.team-member:nth-child(6) {
  transition-delay: 0.5s;
}

/* ============================================
   RGPD / LEGAL / FAQ / MOBILE CTA
============================================ */

#faqs h2 {
  text-align: center;
}

.form-consent {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.footer-legal-links {
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.9);
}

.faq-section {
  background: linear-gradient(180deg, #f8fbf9 0%, #edf6f1 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(22, 149, 86, 0.15);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.faq-item p {
  margin-bottom: 0;
}

.pathway-links {
  margin-top: 1.1rem;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(940px, calc(100% - 20px));
  background: #13221b;
  color: #f4fff9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 14px;
  z-index: 3000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.cookie-banner p {
  color: #f4fff9;
  margin-bottom: 0.6rem;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  padding: 10px 18px;
}

.cookie-banner-actions a {
  color: #9ee9c4;
  font-weight: 600;
}

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 2500;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.22);
}

.mobile-cta-bar a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.mobile-cta-phone {
  background: #126d41;
}

.mobile-cta-whatsapp {
  background: #25d366;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 64px;
  }

  .mobile-cta-bar {
    display: grid;
  }

  body {
    padding-bottom: 56px;
  }
}

.faq-section,
section.contact {
  background-image: url(../assets/paper.jpg) !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: lighten;
  background-color: #ebebeb !important;
}

.shadow {
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
  width: 100%;
  min-width: 50%;
}