/* =====================================================
   LAYOUT STYLES - Majuí Arquitetura
   Section-specific layouts and grid systems
   ===================================================== */

/* Performance Optimizations */
.manifesto,
.portfolio-teaser,
.services,
.numbered-services,
.cta-team {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

/* Hero Section - Full-screen with overlay text */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--text-light);
}

.hero__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__bg-image.active {
  opacity: 1;
}

/* Filtro colorido #BC9A69 com 60% opacidade e multiply blend mode */
.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #BC9A69;
  opacity: 0.6;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) var(--container-gutter);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(0);
}

.hero__nav.hidden {
  transform: translateY(-100%);
}

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__logo a {
  text-decoration: none;
  display: block;
  line-height: 0;
}

.logo {
  max-width: 28%;
  height: auto;
  transition: filter 0.3s ease;
}

/* Header color variations */
.hero__nav.light-bg .logo {
  filter: brightness(0) saturate(100%) invert(19%) sepia(13%) saturate(1789%) hue-rotate(314deg) brightness(95%) contrast(90%);
}

.hero__nav.light-bg .hero__menu-item {
  color: #522e28;
}

.hero__nav.light-bg .hero__menu-divider {
  background-color: #522e28;
}

/* Hero Vertical Menu - Top Right */
.hero__menu {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  text-align: right;
  transition: gap 0.4s ease;
}

.hero__menu:hover {
  gap: 12px;
}

.hero__menu-item {
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 500;
  color: var(--nuvem);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  position: relative;
}

.hero__menu:hover .hero__menu-item {
  opacity: 1;
  transform: translateX(0);
}

.hero__menu:hover .hero__menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.hero__menu:hover .hero__menu-item:nth-child(3) {
  transition-delay: 0.2s;
}

.hero__menu:hover .hero__menu-item:nth-child(5) {
  transition-delay: 0.3s;
}

.hero__menu-item:hover {
  opacity: 0.7 !important;
}

.hero__menu-divider {
  width: 60px;
  height: 1px;
  background-color: var(--nuvem);
  opacity: 0.8;
  margin: 0;
  transition: all 0.4s ease;
  align-self: flex-end;
}

.hero__menu:hover .hero__menu-divider {
  width: 80px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-gutter) var(--space-xxl);
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero__headline {
  max-width: 800px;
  font-family: var(--font-meshed);
  font-weight: 300;
  line-height: 1.1;
  color: var(--nuvem);
  text-align: right;
  font-weight: 200;
}

.hero__headline em {
  font-style: italic;
  font-weight: 500;
}

/* Hero Symbol - Bottom Left */
.hero__symbol {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--container-gutter);
  z-index: 3;
  margin-bottom: 40px;
}

.hero__symbol-img {
  max-width: 25%;
  /*width: clamp(60px, 8vw, 120px);*/
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* Manifesto Section - Two column layout */
.manifesto {
  background-color: var(--nuvem);
  background-image: url('../images/augustine-wong-mGxvBtgTlDo-unsplash 1.webp');
  background-size: 100% 200%;
  background-position: top;
  background-repeat: no-repeat;
  /*padding: var(--space-xxl) 0;*/
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(229, 232, 218, 0.5);
  pointer-events: none;
  z-index: 1;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  position: relative;
  z-index: 2;
  /*gap: var(--space-xxl);
  align-items: start;*/
}

.manifesto__eyebrow {
  font-family: var(--font-meshed);
  font-size: 72px;
  /*font-weight: 600;*/
  /*letter-spacing: 0.1em;*/
  text-transform: uppercase;
  color: var(--text-vinhedo);
  margin-bottom: var(--space-sm);
  font-weight: 200;
}

.manifesto__title {
  font-family: var(--font-meshed);
  font-size: var(--text-h2);
  color: var(--text-vinhedo);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0;
}

.manifesto__content {
  position: relative;
  width: 296px;
  text-align: left;
  padding-top: var(--space-md);
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 200;
  color: var(--text-vinhedo);
  margin-right: 24px;
}



.destaque_00 {
  font-weight: bold;
}

.manifesto__content p {
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.manifesto__content p:last-of-type {
  margin-bottom: var(--space-lg);
}

.sobre_title{
  margin-top: 120px;
  font-family: var(--font-montserrat);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 10%;
  color: #C86D38;
  padding-bottom: 120px;
}

.manifesto__right {
  /*position: relative;*/
  padding-bottom: 200px;
  padding-right: 0;
  padding-left: 1px;
  min-height: 350px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.manifesto__bird {
  position: absolute;
  bottom: 120px;
  right: 200px;
  width: 120px;
  height: auto;
  opacity: 0.8;
  z-index: 1;
}

/* Portfolio Teaser Section - 3-column grid */
.portfolio-teaser {
  background-color: var(--nuvem);
  background-image: url('../images/augustine-wong-mGxvBtgTlDo-unsplash 1.webp');
  background-size: 100% 200%;
  background-position: bottom;
  background-repeat: no-repeat;
  /*padding: var(--space-xxl) 0;*/
  position: relative;
  border-top: 1px solid var(--text-vinhedo);
  padding-bottom: 120px;
}

.portfolio-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(229, 232, 218, 0.5);
  pointer-events: none;
  z-index: 1;
}

.portfolio-teaser__intro {
  font-family: var(--font-meshed);
  font-size: 60px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  text-align: left;
  color: var(--text-vinhedo);
  position: relative;
  z-index: 2;
}

.portfolio-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 24px;
  row-gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
  padding: 0;
}

.portfolio-teaser__content {
  margin-right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.portfolio-teaser__text {
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-vinhedo);
  margin-top: 180px;
  margin-bottom: 0px;
  max-width: 35ch;
}

.sobre_nossos_projetos {
  margin-top: auto;
  margin-bottom: 0;
  font-family: var(--font-montserrat);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 10%;
  color: #6B929E;
}

/* Services Section - Accordion list with dividers */
.services {
  background-color: var(--bg-ice);
  padding: var(--space-xxl) 0;
  font-family: 'Meshed Display';
  font-weight: 200;
  color: var(--text-vinhedo);
  font-size: 60px;
}

.services__header {
  padding-top: 80px;
  display: flex;
  align-items: center;
  gap: 76px;
  padding-left: 24px;
  margin-bottom: 28px;
}

.sobre_majui {
  margin: 0;
  font-family: var(--font-montserrat);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 10%;
  color: #E4A99E;
}

.titulo_pequeno {
  margin: 0;
  font-size: 21px;
  font-family: var(--font-meshed);
  font-weight: 400;
  letter-spacing: 10%;
  color: var(--text-vinhedo);
}

.services .container {
  padding-top:24px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 80px
}

.services__list {
  margin: 0;
}

.service-item {
  border-bottom: 1px solid var(--deep-slate-op-30);
  padding: var(--space-lg) 0;
}

.service-item:first-child {
  padding-top: 0;
}

.service-item__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  transition: all var(--transition-fast);
}

.service-item__header:hover {
  color: var(--accent-terracotta);
}

.service-item__title {
  font-family: var(--font-meshed);
  font-size: 70px;
  color: var(--text-vinhedo);
  font-style: italic;
  font-weight: 200;
  margin: 0;
}

.service-item__icon {
  font-size: 20px;
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

.service-item__header[aria-expanded="true"] .service-item__icon {
  transform: rotate(90deg);
}

.service-item__content {
  font-family: var(--font-montserrat);
  font-size: 20px;
  color: var(--text-vinhedo);
  font-weight: 200;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--transition-slow), opacity var(--transition-medium);
  padding-top: 0;
}

.service-item__content.is-open {
  max-height: 200px;
  opacity: 1;
  padding-top: var(--space-md);
}

.service-item__content p {
  max-width: 60ch;
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.service-item__content.is-open p {
  opacity: 1;
  transform: translateY(0);
}

/* Section Divider */
.section-divider {
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #497d89 0px,
    #497d89 20px,
    #334853 20px,
    #334853 40px
  );
}

.section-divider-thin {
  height: 1px;
  width: 100%;
  background-color: #522e28;
}

/* Testimonial Section - Dark background with texture */
.testimonial {
  background-color: #334853;
  background-image: url('../images/Mask group.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  position: relative;
  z-index: 2;
}

/* Left Column */
.testimonial__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.testimonial__title {
  font-family: var(--font-meshed);
  font-size: 72px;
  font-weight: 200;
  color: #6B929E;
  line-height: 1.1;
  margin: 0;
}

.testimonial__title i {
  font-style: italic;
}

.testimonial__divider {
  width: 100%;
  height: 1px;
  background: #E5EBDA;
  margin-top: auto;
}

/* Right Column */
.testimonial__right {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.testimonial__icon {
  height: 20px;
  width: auto;
  align-self: flex-end;
  margin-bottom: 40px;
}

.testimonial__carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.testimonial__counter {
  font-family: var(--font-meshed);
  font-size: 70px;
  font-weight: 200;
  color: #6B929E;
}

.testimonial__arrow {
  background: transparent;
  border: none;
  color: #E5E8DA;
  font-size: 32px;
  cursor: pointer;
  padding: 8px 16px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.testimonial__arrow:hover {
  transform: translateX(4px);
  color: #CF8419;
}

.testimonial__slides {
  position: relative;
  flex: 1;
}

.testimonial__slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial__slide.active {
  display: block;
  opacity: 1;
}

.testimonial__quote {
  margin-bottom: 24px;
}

.testimonial__quote p {
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 400;
  color: #E5E8DA;
  line-height: 1.6;
  margin: 0;
}

.testimonial__author {
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 600;
  color: #CF8419;
  font-style: normal;
}

/* Numbered Services Section - 3 columns */
.numbered-services {
  background-color: var(--pale-blue-1);
  padding: 0 0 120px 0;
}

.numbered-services__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 60px;
}

.numbered-services__title {
  font-family: var(--font-meshed);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #334853;
  text-transform: lowercase;
}

.numbered-services__cta {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #497D89;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.numbered-services__cta:hover {
  opacity: 0.7;
}

.numbered-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.numbered-service {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.numbered-service__number {
  font-family: var(--font-meshed);
  font-size: 60px;
  font-weight: 200;
  color: #334853;
}

.numbered-service__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  display: block;
}

.numbered-service__caption {
  font-family: var(--font-meshed);
  font-size: 32px;
  font-weight: 300;
  color: #334853;
  text-transform: lowercase;
}

/* CTA Team Section - Two columns */
.cta-team {
  background-color: var(--pale-blue-1);
  padding: 0;
}

.cta-team__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  align-items: stretch;
}

.cta-team__photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cta-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-team__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 60px;
  position: relative;
}

.cta-team__title {
  font-family: var(--font-meshed);
  font-size: 70px;
  font-weight: 200;
  color: #8C3838;
  line-height: 1.1;
  margin-bottom: 40px;
  text-align: left;
}

.cta-team__title em {
  font-style: italic;
}

.cta-team__title strong {
  font-weight: 700;
}

.cta-team__cta {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #C86D38;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin-bottom: auto;
}

.cta-team__cta:hover {
  opacity: 0.7;
}

.cta-team__icon {
  width: 60px;
  height: auto;
  margin-top: 60px;
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: #522e28;
  color: var(--text-light);
  padding: 0;
  min-height: 72vh;
}

.footer__grid {
  display: grid;
  grid-template-columns: 30% 55%;
  gap: 15%;
  align-items: stretch;
  min-height: 72vh;
}

/* First Column */
.footer__brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0 24px 24px;
}

.footer__logo {
  width: 224.64%;
  max-width: 449.28px;
  height: auto;
  display: block;
}

.footer__bird {
  width: 76.8px;
  height: auto;
  display: block;
  align-self: flex-start;
}

/* Second Column */
.footer__content-col {
  padding: 80px 48px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.footer__menu {
  display: flex;
  flex-direction: column;
}

.footer__menu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 12px 0;
}

.footer__menu-item {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E5E8DA;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.footer__menu-item:hover {
  opacity: 0.7;
}

.footer__menu-divider {
  width: 100%;
  height: 0.5px;
  background-color: #E4A99E;
}

.footer__contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer__contact-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact-right {
  display: flex;
  align-items: flex-start;
}

.footer__email,
.footer__phone {
  font-family: var(--font-montserrat);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E4A99E;
  margin: 0;
}

.footer__social-item {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E5E8DA;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  justify-self: start;
}

.footer__social-item:hover {
  opacity: 0.7;
}

.footer__location {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E5E8DA;
  text-transform: uppercase;
  margin: 0;
}

.footer__bottom-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: auto;
}

.footer__copyright {
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E5E8DA;
  text-transform: uppercase;
  margin: 0;
}

.footer__credits {
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E5E8DA;
  margin: 0;
}

/* Responsive Design */

/* Tablet Vertical (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  /* Hero Section */
  .hero__nav {
    align-items: center;
  }

  .hero__menu {
    position: relative;
    top: auto;
    right: auto;
  }

  .hero__headline {
    font-size: clamp(48px, 8vw, 60px);
    text-align: left;
    max-width: 80%;
    padding: 0 0 120px 0;
  }

  .hero__content {
    justify-content: flex-start;
    padding: 0 24px var(--space-xl);
  }

  .hero__symbol {
    bottom: 24px;
    left: 24px;
  }

  .hero__symbol-img {
    max-width: 80px;
  }

  /* Manifesto Section */
  .manifesto__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: 80px 24px;
  }

  .manifesto__eyebrow {
    font-size: 56px;
    text-align: left;
  }

  .manifesto__title {
    font-size: 36px;
    text-align: left;
  }

  .manifesto__content {
    max-width: 100%;
    font-size: 18px;
    text-align: left;
  }

  .sobre_title {
    margin-top: 60px;
    padding-bottom: 80px;
    text-align: left;
  }

  .manifesto__right {
    padding-bottom: 100px;
  }

  .manifesto__bird {
    right: 24px;
    bottom: 40px;
    width: 100px;
  }

  /* Portfolio Teaser */
  .portfolio-teaser {
    padding-bottom: 80px;
  }

  .portfolio-teaser__intro {
    font-size: 48px;
    text-align: left;
    padding: 0;
    margin-left: 0;
  }

  .portfolio-teaser__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px 24px;
    padding: 0;
  }

  .portfolio-teaser__content {
    margin-right: 0;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 16px 24px;
  }

  .portfolio-teaser__intro {
    grid-column: 1;
    grid-row: 1;
  }

  .portfolio-teaser__text {
    margin-top: 0;
    font-size: 16px;
    text-align: left;
    grid-column: 1;
    grid-row: 2;
  }

  .sobre_nossos_projetos {
    margin-top: 0;
    text-align: right;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  .project-card__thumb {
    max-width: 100%;
  }

  /* Services Section */
  .services {
    font-size: 48px;
  }

  .services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .service-item__header {
    padding: 16px 0;
    -webkit-tap-highlight-color: rgba(228, 169, 158, 0.2);
  }

  .service-item__header:active {
    color: var(--accent-terracotta);
  }

  .service-item__title {
    font-size: 48px;
    text-align: left;
  }

  .service-item__content {
    font-size: 18px;
    text-align: left;
  }

  /* Testimonial Section */
  .testimonial {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }

  .testimonial__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .testimonial__title {
    font-size: 56px;
    text-align: left;
  }

  .testimonial__divider {
    display: none;
  }

  .testimonial__counter {
    font-size: 56px;
  }

  .testimonial__quote p {
    font-size: 18px;
    text-align: left;
  }

  .testimonial__author {
    font-size: 18px;
    text-align: left;
  }

  /* Numbered Services */
  .numbered-services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .numbered-service__number {
    font-size: 48px;
    text-align: left;
  }

  .numbered-service__caption {
    font-size: 28px;
    text-align: left;
  }

  /* CTA Team */
  .cta-team__grid {
    grid-template-columns: 1fr;
  }

  .cta-team__content {
    padding: 60px 24px;
  }

  .cta-team__title {
    font-size: 56px;
    text-align: left;
  }

  .cta-team__cta {
    text-align: left;
  }

  .cta-team__icon {
    width: 50px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__brand-col {
    padding: 24px;
  }

  .footer__logo {
    width: 180%;
    max-width: 300px;
  }

  .footer__content-col {
    padding: 24px;
  }

  .footer__menu-item {
    font-size: 14px;
    text-align: left;
  }

  .footer__email,
  .footer__phone {
    font-size: 13px;
    text-align: left;
  }

  .footer__location {
    font-size: 14px;
    text-align: left;
  }

  .footer__copyright,
  .footer__credits {
    font-size: 11px;
    text-align: left;
  }

  /* Sobre Page - Tablet */
  .sobre-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sobre-hero__content {
    padding: 60px 24px;
    background-image: url('../images/estampamajuimarca.png');
    background-blend-mode: color-burn;
  }

  .sobre-hero__icon {
    width: 50px;
    margin-bottom: 32px;
  }

  .sobre-hero__headline {
    font-size: 40px;
    text-align: left;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Projects Gallery - Sobre page tablet */
  .projects-gallery--sobre .projects-gallery__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .projects-gallery--sobre .projects-gallery__content {
    margin-right: 0;
  }

  .projects-gallery--sobre .projects-gallery__intro {
    font-size: 48px;
    text-align: left;
    padding: 0;
  }

  .projects-gallery--sobre .projects-gallery__text {
    margin-top: 0;
    font-size: 16px;
    text-align: left;
  }

  .projects-gallery--sobre .projects-gallery__link-text {
    margin-top: 24px;
    text-align: left;
  }

  .project-card--sobre .project-card__thumb {
    max-width: 100%;
  }

  /* Sobre page - Tablet styles */
  .sobre-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .sobre-hero__photo {
    width: 100%;
    height: 60vh;
  }

  .sobre-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sobre-hero__content {
    width: 100%;
    height: auto;
    padding: 60px 24px;
  }

  .sobre-hero__icon {
    height: 20px;
    margin-top: 0;
    margin-bottom: 24px;
  }

  .sobre-hero__headline {
    font-size: 40px;
  }

  .sobre-manifesto {
    padding: 60px 24px;
  }

  .sobre-manifesto__grid {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 40px;
    padding: 0;
    align-items: end;
  }

  .sobre-manifesto__left {
    align-self: end;
    padding-bottom: 0;
  }

  .sobre-manifesto__title {
    font-size: 48px;
    text-align: left;
    line-height: 1.3;
    margin: 0;
  }

  .sobre-manifesto__right {
    padding-right: 0 !important;
    padding-left: 0 !important;
    align-self: end;
    min-width: 0;
  }

  .sobre-manifesto__text {
    font-size: 18px;
    text-align: left;
    line-height: 1.3;
    margin: 0 0 20px 0;
    padding-right: 0;
  }

  .sobre-manifesto__divider {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #F4D6B3;
  }

  .arquitetas-fotos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .arquitetas-info {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 24px;
  }

  .arquitetas-info__name {
    font-size: 36px;
  }

  .arquitetas-info__title-line {
    font-size: 16px;
  }

  .arquitetas-info__subtitle {
    font-size: 32px;
  }

  .arquitetas-info__description {
    font-size: 18px;
  }

  /* Simbolo section - Tablet */
  .simbolo-section {
    padding: 60px 24px !important;
  }

  .simbolo-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .simbolo-section__topics {
    padding-right: 0 !important;
    padding-left: 24px !important;
  }

  /* Projects gallery sobre - same layout as home with more rows */
  .projects-gallery--sobre {
    padding-bottom: 80px !important;
    background-color: #8C3838 !important;
  }

  .projects-gallery--sobre .projects-gallery__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 60px 24px !important;
    padding: 0 24px !important;
  }

  .projects-gallery--sobre .projects-gallery__content {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    gap: 16px 24px !important;
    margin-right: 0 !important;
  }

  .projects-gallery--sobre .projects-gallery__intro {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 48px !important;
    text-align: left !important;
    padding: 0 !important;
    margin-left: 0 !important;
  }

  .projects-gallery--sobre .projects-gallery__text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin-top: 0 !important;
    font-size: 16px !important;
    text-align: left !important;
  }

  .projects-gallery--sobre .projects-gallery__link-text {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    text-align: right !important;
    margin-top: 0 !important;
  }

  .projects-gallery--sobre .project-card__thumb {
    max-width: 100% !important;
  }

  .projects-gallery--sobre .projects-gallery__icon-wrapper {
    display: none !important;
  }
}

/* Smartphone (menos de 768px) */
@media (max-width: 767px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Container reset for mobile */
  .container {
    padding: 60px 0 0 0;
  }

  .container__deps {
    padding: 60px 24px;
  }

  /* Hide desktop-only elements on mobile */
  .desktop-only {
    display: none;
  }

  /* Hero Section */
  .logo {
    max-width: 42%;
  }

  .hero__menu {
    position: relative;
    margin: 0;
    gap: 1px;
    align-items: flex-end;
  }

  .hero__menu:hover {
    gap: 12px;
  }

  .hero__menu-item {
    opacity: 0;
    transform: translateX(20px);
    font-size: 10px;
    text-align: right;
    letter-spacing: 0.05em;
  }

  .hero__menu:hover .hero__menu-item {
    opacity: 1;
    transform: translateX(0);
  }

  .hero__menu-divider {
    width: 50px;
    align-self: flex-end;
  }

  .hero__menu:hover .hero__menu-divider {
    width: 60px;
  }

  /* Menu open state for mobile */
  .hero__menu.menu-open {
    gap: 12px;
  }

  .hero__menu.menu-open .hero__menu-item {
    opacity: 1;
    transform: translateX(0);
  }

  .hero__menu.menu-open .hero__menu-divider {
    width: 60px;
  }

  /* Sobre page: subtle backdrop for menu on mobile */
  .hero__nav--sobre::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
    mix-blend-mode: lighten;
    pointer-events: none;
    z-index: -1;
  }

  .hero__content {
    justify-content: flex-start;
    padding: 0 24px 80px;
  }

  .hero__headline {
    font-size: clamp(36px, 10vw, 48px);
    text-align: left;
    max-width: 85%;
    margin: 0;
    padding: 0 0 40px 0;
  }

  .hero__symbol {
    bottom: 48px;
    left: 24px;
    margin-bottom: 0;
  }

  .hero__symbol-img {
    max-width: 60px;
  }

  /* Manifesto Section */
  .manifesto {
    background-size: cover;
    background-position: center;
  }

  .manifesto__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }

  .manifesto__eyebrow {
    font-size: 40px;
    text-align: left;
    padding-left: 0;
  }

  .manifesto__title {
    font-size: 28px;
    text-align: left;
    padding-left: 0;
  }

  .manifesto__content {
    max-width: 100%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .manifesto__content p {
    text-align: left;
    margin: 0;
    padding: 0;
  }

  .sobre_title {
    margin-top: 40px;
    padding-bottom: 60px;
    font-size: 14px;
    text-align: left;
    padding-left: 0;
  }

  .manifesto__right {
    padding: 0 0 80px 0 !important;
    justify-content: flex-start !important;
  }

  .manifesto__bird {
    right: 24px;
    bottom: 20px;
    width: 80px;
  }

  /* Portfolio Teaser */
  .portfolio-teaser {
    background-size: cover;
    background-position: center;
    padding-bottom: 60px;
  }

  .portfolio-teaser__intro {
    font-size: 36px;
    text-align: left;
    padding: 0;
    margin: 0 0 40px 0;
  }

  .portfolio-teaser__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .portfolio-teaser__content {
    margin-right: 0;
    text-align: left;
  }

  .portfolio-teaser__text {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    max-width: 100%;
    text-align: left;
  }

  .sobre_nossos_projetos {
    margin-top: 0;
    font-size: 14px;
    text-align: left;
  }

  .project-card__thumb {
    max-width: 100%;
    aspect-ratio: 4/5;
  }

  .project-card__caption {
    text-align: left;
  }

  .project-card__link {
    font-size: 14px;
    text-align: left;
  }

  /* Services Section */
  .services {
    font-size: 36px;
    padding: 60px 0;
  }

  .services__header {
    padding-top: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-left: 24px;
  }

  .titulo_pequeno {
    font-size: 18px;
    text-align: left;
  }

  .sobre_majui {
    font-size: 14px;
    text-align: left;
  }

  .services .container {
    padding: 24px;
  }

  .service-item {
    padding: 24px 0;
  }

  .service-item__header {
    padding: 20px 0;
    -webkit-tap-highlight-color: rgba(228, 169, 158, 0.2);
  }

  .service-item__header:active {
    color: var(--accent-terracotta);
  }

  .service-item__title {
    font-size: 36px;
    text-align: left;
  }

  .service-item__content {
    font-size: 16px;
    text-align: left;
  }

  .service-item__content p {
    text-align: left;
  }

  .service-item__content br {
    display: none;
  }

  .service-item__content.is-open {
    max-height: 300px;
  }

  /* Testimonial Section */
  .testimonial {
    padding: 60px 0;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }

  .testimonial__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial__left {
    padding: 0 24px;
  }

  .testimonial__title {
    font-size: 40px;
    text-align: left;
  }

  .testimonial__divider {
    display: none;
  }

  .testimonial__right {
    padding: 0 24px;
  }

  .testimonial__icon {
    height: 16px;
    margin-bottom: 24px;
  }

  .testimonial__counter {
    font-size: 48px;
    text-align: left;
  }

  .testimonial__quote {
    text-align: left;
  }

  .testimonial__quote p {
    font-size: 16px;
    text-align: left;
  }

  .testimonial__author {
    font-size: 16px;
    text-align: left;
  }

  /* Numbered Services */
  .numbered-services {
    padding: 60px 0;
  }

  .numbered-services__header {
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 24px;
    text-align: left;
  }

  .numbered-services__title {
    font-size: 18px;
    text-align: left;
  }

  .numbered-services__cta {
    font-size: 14px;
    text-align: left;
  }

  .numbered-services__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .numbered-service {
    text-align: left;
  }

  .numbered-service__number {
    font-size: 40px;
    text-align: left;
  }

  .numbered-service__caption {
    font-size: 24px;
    text-align: left;
  }

  /* CTA Team */
  .cta-team__grid {
    grid-template-columns: 1fr;
  }

  .cta-team__photo {
    aspect-ratio: 4/3;
    min-height: 300px;
  }

  .cta-team__photo img {
    object-position: top center;
  }

  .cta-team__content {
    padding: 40px 24px;
    text-align: left;
  }

  .cta-team__title {
    font-size: 40px;
    margin-bottom: 24px;
    text-align: left;
  }

  .cta-team__cta {
    font-size: 14px;
    text-align: left;
  }

  .cta-team__icon {
    width: 40px;
    margin-top: 40px;
    align-self: flex-start;
  }

  /* Footer */
  .footer {
    min-height: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .footer__brand-col {
    padding: 40px 24px 24px;
  }

  .footer__logo {
    width: 150%;
    max-width: 250px;
  }

  .footer__bird {
    width: 60px;
    margin-top: 40px;
  }

  .footer__content-col {
    padding: 24px;
    gap: 40px;
  }

  .footer__menu-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px 0;
  }

  .footer__menu-item,
  .footer__social-item {
    font-size: 14px;
    text-align: left;
  }

  .footer__contact-info {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .footer__contact-left {
    gap: 12px;
    text-align: left;
  }

  .footer__contact-right {
    text-align: left;
  }

  .footer__email,
  .footer__phone {
    font-size: 13px;
    text-align: left;
  }

  .footer__location {
    font-size: 14px;
    text-align: left;
  }

  .footer__bottom-info {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .footer__copyright,
  .footer__credits {
    font-size: 11px;
    text-align: left;
  }

  /* Sobre Page - Mobile */
  .sobre-hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden !important;
  }

  .sobre-hero__photo {
    width: 100% !important;
    height: 50vh !important;
    max-height: 50vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }

  .sobre-hero__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .sobre-hero__content {
    width: 100% !important;
    height: 50vh !important;
    max-height: 50vh !important;
    padding: 32px 24px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
    background-color: #522e28 !important;
    background-image: url('../images/estampamajuimarca.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: color-burn !important;
    flex-shrink: 0 !important;
  }

  .sobre-hero__icon {
    height: 16px;
    margin-top: 0;
    margin-bottom: 16px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(8%) saturate(457%) hue-rotate(132deg) brightness(96%) contrast(92%);
  }

  .sobre-hero__headline {
    font-size: 24px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    color: #C0CACC;
    line-height: 1.2;
  }

  .team {
    padding: 60px 0;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .team-member__name {
    font-size: 14px;
    text-align: left;
  }

  .team-member__bio {
    font-size: 15px;
    text-align: left;
  }

  .values {
    padding: 60px 0;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .values__content {
    padding: 0;
  }

  .values__title {
    font-size: 14px;
    text-align: left;
  }

  .values__list {
    margin-bottom: 40px;
    gap: 24px;
  }

  .values__text {
    font-size: 14px;
    text-align: left;
  }

  .values__link {
    font-size: 14px;
    text-align: left;
  }

  .values__images {
    padding-right: 0;
  }

  .values__images-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-gallery {
    padding: 60px 0;
  }

  /* Projects Gallery - Sobre page mobile */
  .projects-gallery--sobre {
    padding: 60px 0;
    background-color: #8C3838 !important;
  }

  .projects-gallery--sobre .projects-gallery__grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 24px !important;
  }

  .projects-gallery--sobre .projects-gallery__content--row1 {
    margin-right: 0 !important;
    text-align: left !important;
    grid-row: auto !important;
  }

  .projects-gallery--sobre .projects-gallery__intro {
    font-size: 36px !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
  }

  .projects-gallery--sobre .projects-gallery__text {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .projects-gallery--sobre .projects-gallery__link-text {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    text-align: left !important;
  }

  .projects-gallery--sobre .projects-gallery__link {
    font-size: 14px !important;
    text-align: left !important;
  }

  .projects-gallery--sobre .projects-gallery__icon-wrapper {
    display: none !important;
  }

  .project-card--sobre .project-card__thumb {
    max-width: 100% !important;
    aspect-ratio: 4/5 !important;
  }

  .project-card--sobre .project-card__caption {
    text-align: left !important;
  }

  .project-card--sobre .project-card__link {
    font-size: 14px !important;
    text-align: left !important;
  }

  /* Sobre Manifesto Section - Mobile */
  @media (max-width: 767px) {
    .sobre-manifesto {
      padding: 60px 24px !important;
      background-color: #522e28 !important;
    }

    .sobre-manifesto__grid {
      grid-template-columns: 1fr !important;
      gap: 24px !important;
      padding: 0 !important;
      align-items: start !important;
    }

    .sobre-manifesto__left {
      margin-bottom: 0 !important;
    }

    .sobre-manifesto__title {
      font-size: 32px !important;
      text-align: left !important;
      margin-bottom: 32px !important;
      color: #C0CACC !important;
      font-family: var(--font-meshed) !important;
      font-weight: 200 !important;
      line-height: 1 !important;
    }

    .sobre-manifesto__divider {
      display: none !important;
    }

    .sobre-manifesto__right {
      padding-left: 0 !important;
    }

    .sobre-manifesto__text {
      font-size: 15px !important;
      margin: 0 0 60px 0 !important;
      padding-right: 0 !important;
      text-align: left !important;
      line-height: 1.5 !important;
      font-family: var(--font-montserrat) !important;
      font-weight: 400 !important;
      color: #C0CACC !important;
    }
  }

  /* Architects Photos and Info - Mobile */
  .arquitetas-fotos {
    padding: 0;
    background-color: #522e28;
  }

  .arquitetas-fotos__container {
    padding: 0;
  }

  .arquitetas-fotos__grid {
    display: none !important;
  }

  .arquitetas-fotos__photo {
    display: none !important;
  }

  .arquitetas-fotos__icon {
    display: none !important;
  }

  .arquitetas-info {
    grid-template-columns: 1fr !important;
    gap: 60px;
    padding: 0 !important;
    background-color: #522e28;
    display: flex !important;
    flex-direction: column;
  }

  .arquitetas-info__item {
    gap: 0;
    display: flex;
    flex-direction: column;
  }

  /* Adiciona a foto antes de cada item usando background */
  .arquitetas-info__item::before {
    content: '';
    width: calc(100% - 48px); /* 100% - (24px left + 24px right) */
    margin-left: 24px;
    margin-right: 24px;
    padding-bottom: 133.33%; /* aspect-ratio 3/4 */
    background-size: cover;
    background-position: center;
    display: block;
    margin-bottom: 32px;
  }

  .arquitetas-info__item:nth-child(1)::before {
    background-image: url('../images/ClaraDuarte.webp');
  }

  .arquitetas-info__item:nth-child(2)::before {
    background-image: url('../images/IsabelleFerreira.webp');
  }

  .arquitetas-info__content {
    flex-direction: column;
    gap: 12px;
    padding: 0 24px;
    margin-bottom: 24px;
  }

  .arquitetas-info__name {
    font-size: 24px;
    text-align: left;
  }

  .arquitetas-info__title-line {
    font-size: 14px;
    text-align: left;
  }

  .arquitetas-info__divider {
    margin: 0 24px 24px 24px;
  }

  .arquitetas-info__subtitle {
    font-size: 18px;
    padding: 0 24px !important;
    margin-bottom: 16px;
    text-align: left;
  }

  .arquitetas-info__description {
    font-size: 16px;
    padding: 0 24px 40px 24px !important;
    text-align: left;
  }

  /* Symbol Section - Mobile */
  .simbolo-section {
    min-height: auto !important;
    padding: 60px 24px !important;
    overflow: visible !important;
    background-color: var(--pale-blue-1) !important;
    position: relative !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    margin: 0 !important;
  }

  .simbolo-section::before {
    display: none !important;
  }

  .simbolo-section__content {
    padding: 0 !important;
    position: static !important;
    z-index: auto !important;
  }

  .simbolo-section__grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .simbolo-section__topics {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .simbolo-section__divider {
    width: 100% !important;
    height: 1px !important;
    background-color: #591D15 !important;
    margin: 0 !important;
  }

  .simbolo-section__topic {
    font-family: var(--font-montserrat) !important;
    font-size: 15px !important;
    padding: 16px 0 !important;
    text-align: left !important;
    width: 100% !important;
    word-wrap: break-word !important;
    color: #591D15 !important;
    opacity: 1 !important;
    transform: none !important;
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
  }

  .simbolo-section__topic strong {
    font-weight: 700 !important;
  }

  .simbolo-section__photo-block {
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .simbolo-section__photo {
    padding-right: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  .simbolo-section__photo-title {
    font-family: var(--font-meshed) !important;
    font-size: 24px !important;
    font-weight: 200 !important;
    text-align: left !important;
    margin: 0 !important;
    color: #591D15 !important;
    font-style: italic !important;
    line-height: 1.1 !important;
  }

  .simbolo-section__photo-text {
    font-family: var(--font-montserrat) !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    text-align: left !important;
    line-height: 1.6 !important;
    color: #591D15 !important;
    margin: 0 !important;
  }
}


/* =====================================================
   SOBRE PAGE STYLES
   ===================================================== */

/* Scroll Animations for Sobre Page */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation states */
.animate-on-scroll,
.arquitetas-info__item,
.simbolo-section__topic,
.project-card--sobre {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible,
.arquitetas-info__item.is-visible,
.simbolo-section__topic.is-visible,
.project-card--sobre.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for items in a group */
.arquitetas-info__item:nth-child(1).is-visible {
  transition-delay: 0.1s;
}

.arquitetas-info__item:nth-child(2).is-visible {
  transition-delay: 0.2s;
}

.simbolo-section__topic:nth-child(odd).is-visible {
  transition-delay: 0.1s;
}

.simbolo-section__topic:nth-child(even).is-visible {
  transition-delay: 0.2s;
}

.project-card--sobre:nth-child(2).is-visible {
  transition-delay: 0.1s;
}

.project-card--sobre:nth-child(3).is-visible {
  transition-delay: 0.2s;
}

.project-card--sobre:nth-child(4).is-visible {
  transition-delay: 0.3s;
}

.project-card--sobre:nth-child(5).is-visible {
  transition-delay: 0.4s;
}

/* Sobre Hero Section - Split layout with photo and pattern */
.sobre-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  height: 100vh;
  background-color: #522e28;
  margin: 0;
  padding: 0;
  position: relative;
  top: 0;
  left: 0;
}

.sobre-hero__photo {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.sobre-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.sobre-hero__image:hover {
  transform: scale(1.02);
}

.sobre-hero__content {
  width: 100%;
  height: 100vh;
  background-color: #522e28;
  background-image: url('../images/estampamajuimarca.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: color-burn;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 24px;
}

.sobre-hero__icon {
  height: 25px;
  width: auto;
  margin-top: 150px;
  filter: brightness(0) saturate(100%) invert(89%) sepia(8%) saturate(457%) hue-rotate(132deg) brightness(96%) contrast(92%);
  animation: fadeIn 1s ease-out;
}

.sobre-hero__headline {
  font-family: var(--font-meshed);
  font-size: 50px !important;
  font-weight: 200;
  color: #C0CACC;
  line-height: 1.2;
  text-align: left;
  margin: 0;
  margin-top: auto;
  margin-bottom: 100px;
  animation: fadeInUp 1.2s ease-out;
}

.sobre-hero__headline strong {
  font-weight: 400;
}

/* Divider line after hero */
.sobre-hero__divider {
  width: 100%;
  height: 1px;
  background-color: #F4D6B3;
  margin: 0;
  padding: 0;
}

/* Sobre Manifesto Section - Segunda dobra */
.sobre-manifesto {
  background-color: #522e28;
  padding: 80px 0;
}

.sobre-manifesto__grid {
  display: grid;
  grid-template-columns: calc(50% - 24px) 1fr;
  gap: 0;
  align-items: end;
  padding-left: 24px;
}

.sobre-manifesto__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sobre-manifesto__title {
  font-family: var(--font-meshed);
  font-size: 60px;
  font-weight: 200;
  color: #C0CACC;
  text-align: left;
  margin: 0;
  line-height: 1;
}

.sobre-manifesto__divider {
  width: 100vw;
  height: 1px;
  background-color: #F4D6B3;
  margin: 0;
}

.sobre-manifesto__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 24px;
}

.sobre-manifesto__text {
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 400;
  color: #C0CACC;
  line-height: 1.3;
  text-align: left;
  margin: 0 0 80px 0;
  padding-right: 200px;
}

/* Architects Photos Section */
.arquitetas-fotos {
  background-color: #522e28;
  padding: 0;
}

.arquitetas-fotos__container {
  padding: 0 24px;
  position: relative;
}

.arquitetas-fotos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.arquitetas-fotos__photo {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.arquitetas-fotos__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.arquitetas-fotos__image:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.arquitetas-fotos__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.arquitetas-fotos__icon-img {
  width: 40px;
  height: auto;
  display: block;
}

/* Architects Info */
.arquitetas-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 24px 200px 24px;
  background-color: #522e28;
}

.arquitetas-info__item {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.arquitetas-info__content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.arquitetas-info__name {
  font-family: var(--font-meshed);
  font-size: 45px;
  font-weight: 500;
  color: #C0CACC;
  margin: 0;
  text-transform: lowercase;
  line-height: 1;
}

.arquitetas-info__title {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.arquitetas-info__title-line {
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 400;
  color: #C0CACC;
  margin: 0;
  line-height: 1.3;
}

.arquitetas-info__title-line--bold {
  font-weight: 600;
}

.arquitetas-info__divider {
  width: 100%;
  height: 1px;
  background-color: #BC9A69;
}

.arquitetas-info__subtitle {
  font-family: var(--font-meshed);
  font-size: 55px;
  font-weight: 200;
  color: #C0CACC;
  margin: 0;
  line-height: 1.1;
  padding-right: 120px;
}

.arquitetas-info__description {
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 300;
  color: #C0CACC;
  line-height: 1.3;
  margin: 0;
  padding-right: 120px;
}

/* Symbol Background Section */
.simbolo-section {
  position: relative;
  background-color: var(--pale-blue-1);
  min-height: 600px;
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.simbolo-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: -68px;
  bottom: 0;
  width: 50%;
  background-image: url('../images/SimboloMajuiSobre.png');
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.simbolo-section.is-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.simbolo-section__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 0 24px;
}

.simbolo-section__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 96px;
  align-items: start;
}

.simbolo-section__topics {
  display: flex;
  flex-direction: column;
  padding-left: 300px;
}

.simbolo-section__divider {
  width: 100%;
  height: 1px;
  background-color: #591D15;
  margin: 0;
}

.simbolo-section__topic {
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 400;
  color: #591D15;
  margin: 0;
  padding: 24px 0;
  line-height: 1.4;
}

.simbolo-section__topic strong {
  font-weight: 700;
}

.simbolo-section__photo-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 0;
  padding-bottom: 80px;
}

.simbolo-section__photo {
  width: 100%;
  height: auto;
  display: block;
  padding-right: 24px;
  transition: transform 0.3s ease;
}

.simbolo-section__photo:hover {
  transform: translateY(-5px);
}

.simbolo-section__photo-title {
  font-family: var(--font-meshed);
  font-size: 50px;
  font-weight: 200;
  font-style: italic;
  color: #591D15;
  margin: 0;
  line-height: 1.1;
}

.simbolo-section__photo-text {
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 300;
  color: #591D15;
  line-height: 1.3;
  margin: 0;
}

/* Team Section - Two column grid with photos and bios */
.team {
  background-color: #522e28;
  padding: 80px 0 120px;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-member__photo {
  width: 100%;
  margin-bottom: 32px;
}

.team-member__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-member__info {
  padding: 0 24px;
}

.team-member__decorative-line {
  width: 80px;
  height: 1px;
  background-color: #6B929E;
  margin-bottom: 24px;
}

.team-member__name {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--nuvem);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.team-member__bio {
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--nuvem);
  opacity: 0.9;
}

/* Values Section - List with images */
.values {
  background-color: var(--pale-blue-1);
  padding: 120px 0;
}

.values__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: start;
}

.values__content {
  padding: 40px 24px;
}

.values__title {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #334853;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.values__list {
  list-style: none;
  margin: 0 0 80px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.values__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.values__bullet {
  font-size: 20px;
  color: #497D89;
  flex-shrink: 0;
  margin-top: 2px;
}

.values__text {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #334853;
  line-height: 1.5;
}

.values__cta {
  margin: 0;
}

.values__link {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #497D89;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.values__link:hover {
  opacity: 0.7;
}

.values__images {
  padding-right: 24px;
}

.values__images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.values__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Projects Gallery Section */
.projects-gallery {
  background-color: #8C3838;
  padding: 0 0 120px 0;
  position: relative;
}

/* Projects Gallery - Sobre page variant (matches Portfolio Teaser structure) */
.projects-gallery--sobre .projects-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 24px;
  row-gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.projects-gallery--sobre .projects-gallery__content--row1 {
  margin-right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  grid-row: 1;
}

.projects-gallery--sobre .projects-gallery__intro {
  font-family: var(--font-meshed);
  font-size: 60px;
  font-weight: 200;
  text-transform: uppercase;
  color: #E5E8DA;
  margin-bottom: 0;
  text-align: left;
  position: relative;
  z-index: 2;
  line-height: 1.1;
}

.projects-gallery--sobre .projects-gallery__text {
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: #E5E8DA;
  margin-top: 180px;
  margin-bottom: auto;
  max-width: 35ch;
}

.projects-gallery--sobre .projects-gallery__link-text {
  margin-top: 0;
  margin-bottom: 0;
}

.projects-gallery--sobre .projects-gallery__link {
  font-family: var(--font-montserrat);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 10%;
  color: #E4A99E;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.projects-gallery--sobre .projects-gallery__link:hover {
  opacity: 0.7;
}

.projects-gallery--sobre .projects-gallery__icon-wrapper {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-right: 80px;
  height: 100%;
}

.projects-gallery--sobre .projects-gallery__icon {
  width: 60px;
  height: auto;
  display: block;
}

.project-card--sobre {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* Remove o scale hover para cards da página sobre */
.project-card--sobre:hover {
  transform: none !important;
}

.project-card--sobre .project-card__thumb {
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 500px;
  object-fit: cover;
  display: block;
  position: relative;
  overflow: hidden;
}

/* Remove o conteúdo do ::after (placeholder) - não funciona em <img> */
.project-card--sobre .project-card__thumb::after {
  content: '' !important;
}

/* Adiciona overlay laranja no hover - usa ::after no container pai */
.project-card--sobre::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(170, 89, 23, 0);
  transition: background-color 0.4s ease;
  z-index: 1;
  pointer-events: none;
  /* Limita o overlay ao tamanho da imagem */
  max-height: calc(100% - 16px - 1.5em); /* subtrai gap + altura aproximada do caption */
  aspect-ratio: 4/5;
}

.project-card--sobre:hover::after {
  background-color: rgba(170, 89, 23, 0.5);
}

.project-card--sobre .project-card__caption {
  margin: 0;
  text-align: left;
}

.project-card--sobre .project-card__link {
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  color: #E4A99E;
  text-decoration: none;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}

.project-card--sobre .project-card__link:hover {
  opacity: 0.7;
}

/* =====================================================
   ENTRANCE ANIMATIONS
   ===================================================== */

/* Hero elements entrance animations */
.hero__headline {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero__symbol {
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1s ease-out 0.6s forwards;
}

/* Portfolio teaser animations */
.portfolio-teaser__grid > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.portfolio-teaser__grid > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-teaser__grid > *:nth-child(1).is-visible {
  transition-delay: 0.1s;
}

.portfolio-teaser__grid > *:nth-child(2).is-visible {
  transition-delay: 0.2s;
}

.portfolio-teaser__grid > *:nth-child(3).is-visible {
  transition-delay: 0.3s;
}

/* Numbered services animations */
.numbered-service {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.numbered-service.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.numbered-service:nth-child(1).is-visible {
  transition-delay: 0.1s;
}

.numbered-service:nth-child(2).is-visible {
  transition-delay: 0.2s;
}

.numbered-service:nth-child(3).is-visible {
  transition-delay: 0.3s;
}

/* Project cards animations */
.project-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Show first 2 cards with 0.2s delay on projects page (first row) */
.projects-section .projects-grid .project-card:nth-child(1),
.projects-section .projects-grid .project-card:nth-child(2) {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Show cards 3-4 with 0.5s delay on projects page (second row) */
.projects-section .projects-grid .project-card:nth-child(3),
.projects-section .projects-grid .project-card:nth-child(4) {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Manifesto bird animation */
.manifesto__bird {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 1s ease-out 0.8s forwards;
}

/* CTA Team content */
.cta-team__content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-team__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero__headline,
  .hero__symbol,
  .manifesto__bird {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .portfolio-teaser__grid > *,
  .numbered-service,
  .project-card,
  .cta-team__content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
