/* ===================================================
   Hero
   =================================================== */
.hero {
  position: relative;
  padding-top: 0;
  overflow: hidden;
  min-height: calc(100vh - var(--home-stats-height));
  background:
    linear-gradient(145deg, rgba(238, 120, 46, 0.08) 0%, transparent 34%),
    linear-gradient(180deg, #f8f8f7 0%, #eeeeec 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 56px max(18px, calc((100vw - 1180px) / 2)) 56px;
  opacity: 0.68;
  background-image:
    linear-gradient(rgba(1, 7, 29, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 7, 29, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(112deg, transparent 0 54px, rgba(238, 120, 46, 0.055) 54px 56px, transparent 56px 112px);
  opacity: 0.9;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--container-px);
  padding-top: calc(var(--nav-height) + 58px);
  padding-bottom: clamp(30px, 3.8vw, 44px);
  min-height: calc(100vh - var(--home-stats-height));
  align-content: center;
  text-align: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  font-weight: var(--fw-semibold);
  line-height: 1.12;
  color: var(--clr-text-dark);
  letter-spacing: 0;
  margin-bottom: 16px;
  max-width: 780px;
}

.hero__break--mobile {
  display: none;
}

.hero__subtitle {
  font-size: clamp(0.96rem, 1.25vw, 1.06rem);
  font-weight: var(--fw-regular);
  color: rgba(1, 7, 29, 0.68);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 780px;
}

.hero__note {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--clr-orange);
  color: var(--clr-text-dark);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition);
  line-height: 1.5;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.hero__cta svg {
  flex-shrink: 0;
}

.hero .btn--white-glass {
  background: rgba(1, 7, 29, 0.06);
  border: 1px solid rgba(1, 7, 29, 0.14);
  color: var(--clr-text-dark);
  backdrop-filter: none;
}

.hero .btn--white-glass:hover {
  background: rgba(1, 7, 29, 0.1);
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(68px, 6.2vw, 78px);
  height: clamp(68px, 6.2vw, 78px);
  border-radius: 50%;
  background: var(--clr-white);
  overflow: hidden;
  box-shadow: 0 0 0 5px rgba(1, 7, 29, 0.06), 0 16px 40px rgba(1, 7, 29, 0.14);
}

.hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* ===================================================
   Big Numbers
   =================================================== */
.impact-stats {
  padding-block: clamp(26px, 3.2vw, 40px);
  min-height: var(--home-stats-height);
  background: linear-gradient(180deg, #eeeeec 0%, #f7f7f7 100%);
  border-top: 1px solid rgba(1, 7, 29, 0.1);
  display: flex;
  align-items: center;
}

.impact-stats .container {
  width: 100%;
}

.impact-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  text-align: center;
  padding: 16px 18px;
}

.impact-stat__value {
  font-size: clamp(1.9rem, 2.85vw, 2.85rem);
  font-weight: var(--fw-bold);
  color: var(--clr-text-dark);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.impact-stat__label {
  font-size: clamp(0.9rem, 1.12vw, 1rem);
  font-weight: var(--fw-regular);
  color: rgba(1, 7, 29, 0.62);
  line-height: 1.45;
  max-width: 320px;
}

/* ===================================================
   Projetos em Destaque da Home
   =================================================== */
.featured-projects {
  padding-block: clamp(42px, 5.5vw, 76px) var(--section-py);
}

.featured-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.featured-project-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(1, 7, 29, 0.1);
  border-radius: 14px;
  background: #dededc;
  box-shadow: 0 18px 48px rgba(1, 7, 29, 0.12);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.featured-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 120, 46, 0.32);
  box-shadow: 0 24px 70px rgba(1, 7, 29, 0.18);
}

.featured-project-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: #cfcfcd;
  border-bottom: 1px solid rgba(1, 7, 29, 0.08);
}

.featured-project-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transition: transform var(--transition-slow), opacity var(--transition);
}

.featured-project-card:hover .featured-project-card__media img {
  transform: scale(1.03);
  opacity: 1;
}

.featured-project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.6vw, 34px);
}

.featured-project-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(238, 120, 46, 0.22);
  border-radius: var(--radius-full);
  color: var(--clr-orange-readable);
  background: rgba(238, 120, 46, 0.12);
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}

.featured-project-card__tag svg {
  flex: 0 0 auto;
}

.featured-project-card__title {
  max-width: 100%;
  margin-bottom: 14px;
  color: var(--clr-text-dark);
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  font-weight: var(--fw-bold);
  line-height: 1.24;
  letter-spacing: 0;
}

.featured-project-card__desc {
  max-width: 100%;
  margin-bottom: 26px;
  color: rgba(1, 7, 29, 0.68);
  font-size: 0.98rem;
  line-height: 1.58;
}

.featured-project-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-width: 128px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--clr-orange);
  color: var(--clr-text-dark);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  box-shadow: 0 10px 22px rgba(238, 120, 46, 0.26);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.featured-project-card__btn:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background: #ff8b3d;
  box-shadow: var(--shadow-brand);
}

/* ===================================================
   Depoimentos da Home
   =================================================== */
.home-testimonials {
  padding-block: var(--section-py);
}

.home-testimonials .section-title {
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}

.home-testimonial-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid rgba(1, 7, 29, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 16px 42px rgba(1, 7, 29, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.home-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-testimonial-card__avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(238, 120, 46, 0.14);
  color: var(--clr-orange-dark);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
}

.home-testimonial-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.home-testimonial-card__name {
  margin-bottom: 4px;
  color: var(--clr-text-dark);
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.home-testimonial-card__role {
  color: var(--clr-text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-testimonial-card__quote {
  flex: 1;
  margin: 0;
  color: rgba(1, 7, 29, 0.74);
  font-size: 0.96rem;
  font-style: italic;
  line-height: 1.68;
}

/* ===================================================
   Sobre mim da Home
   =================================================== */
.home-about {
  padding-block: var(--section-py);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(360px, 520px);
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
  justify-content: center;
  max-width: 1040px;
  margin-inline: auto;
}

.home-about__media {
  position: relative;
  width: 100%;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(1, 7, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 20px 60px rgba(1, 7, 29, 0.14);
}

.home-about__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.home-about__content {
  min-width: 0;
  max-width: 520px;
  justify-self: start;
}

.home-about__content .section-title {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.home-about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(28px, 3.4vw, 40px);
}

.home-about__list li {
  position: relative;
  padding-left: 28px;
  color: rgba(1, 7, 29, 0.76);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.55;
}

.home-about__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-orange);
  box-shadow: 0 0 0 5px rgba(238, 120, 46, 0.12);
}

.home-about__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-about__btn:hover {
  transform: translateY(-2px);
}

.home-about__btn--primary {
  border: 1px solid transparent;
  background: var(--clr-orange);
  color: var(--clr-text-dark);
}

.home-about__btn--primary:hover {
  background: #ff8b3d;
  box-shadow: var(--shadow-brand);
}

.home-about__btn--secondary {
  border: 1px solid rgba(1, 7, 29, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: var(--clr-text-dark);
}

.home-about__btn--secondary:hover {
  border-color: rgba(1, 7, 29, 0.24);
  background: rgba(255, 255, 255, 0.9);
}

/* ===================================================
   Como eu trabalho (dark section)
   =================================================== */
.work-process {
  background: var(--clr-dark);
  padding-block: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(150px, 16vw, 210px);
  position: relative;
  margin-top: -3px; /* cobre artefato de anti-aliasing da onda SVG */
  z-index: 1;
}

.work-process__heading {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--fw-light);
  color: var(--clr-light);
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
  line-height: 1;
}

.work-process__list {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 24px;
}

.process-item {
  padding-bottom: 0;
}

.process-item + .process-item {
  margin-top: clamp(40px, 5vw, 63px);
}

.process-item__title {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: var(--fw-medium);
  color: var(--clr-light);
  margin-bottom: 15px;
  line-height: 1;
}

.process-item__text {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: var(--fw-regular);
  color: var(--clr-light);
  line-height: 1.5;
}

/* ===================================================
   Projetos em Destaque
   =================================================== */
.projects {
  padding-block: var(--section-py);
}

.projects .section-title {
  line-height: 1.5; /* matches figma 80px / 120px line-height */
  max-width: 900px;
}

.projects .section-title.section-title--home {
  line-height: 1.18;
}

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

.project-card {
  --project-card-image-offset-top: 33px;
  --project-card-image-offset-left: 67px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 600px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  position: relative;
  padding-right: 0;
}

.project-card--quantum { background: var(--card-quantum); }
.project-card--2p      { background: var(--card-2p); }
.project-card--bit     { background: var(--card-bit); }
.project-card--farm    { background: var(--card-farm); }

.project-card__content {
  min-width: 0;
  padding: 48px 56px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/* Farm Well Hub usa texto escuro */
.project-card--quantum .project-card__content,
.project-card--2p      .project-card__content,
.project-card--bit     .project-card__content {
  color: var(--clr-light);
}

.project-card--farm .project-card__content {
  color: var(--clr-text-dark);
}

.project-card__tag {
  font-size: 0.8rem;
  font-weight: var(--fw-regular);
  font-style: italic;
  letter-spacing: 0;
  text-transform: lowercase;
  margin-bottom: 28px;
  line-height: 1;
}

.project-card--quantum .project-card__tag,
.project-card--2p      .project-card__tag,
.project-card--bit     .project-card__tag { color: var(--clr-light); }
.project-card--farm    .project-card__tag { color: var(--clr-text-dark); }

.project-card__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: var(--fw-bold);
  line-height: 1.5;
  margin-bottom: 16px;
}

.project-card__desc {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0;
  max-width: 420px;
}

.project-card__result {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 46px;
  max-width: 420px;
}

.project-card__btn-wrap {
  margin-bottom: 32px;
}

/* Quando não há .project-card__result antes do botão, mantém o espaçamento equivalente */
.project-card__desc + .project-card__btn-wrap {
  margin-top: 60px;
}

.project-card__btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(1, 7, 29, 0.8);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  font-family: var(--font);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  line-height: 1.5;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.project-card__btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.project-card__image {
  min-width: 0;
  min-height: inherit;
  overflow: hidden;
  position: relative;
  align-self: stretch;
  justify-self: stretch;
  height: 100%;
  display: block;
}

.project-card__image img {
  display: block;
  position: absolute;
  top: calc(-1 * var(--project-card-image-offset-top));
  right: 0;
  bottom: 0;
  left: calc(-1 * var(--project-card-image-offset-left));
  width: calc(100% + var(--project-card-image-offset-left));
  min-width: calc(100% + var(--project-card-image-offset-left));
  min-height: calc(100% + var(--project-card-image-offset-top));
  height: calc(100% + var(--project-card-image-offset-top));
  object-fit: cover;
  object-position: top right;
  transition: transform var(--transition-slow);
}

.project-card--bit .project-card__image img {
  width: calc(100% + var(--project-card-image-offset-left));
  max-width: none;
  min-height: calc(100% + var(--project-card-image-offset-top));
  height: calc(100% + var(--project-card-image-offset-top));
  border-radius: 0;
}

.project-card:hover .project-card__image img {
  transform: scale(1.02);
}

/* ===================================================
   Como eu penso e trabalho
   =================================================== */
.principles {
  padding-block: var(--section-py);
}

.principles .section-title {
  margin-bottom: clamp(40px, 5vw, 60px);
  line-height: 1.5;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 464px));
  gap: 24px;
  justify-content: center;
}

.principle-card {
  padding: 32px 16px;
}

.principle-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.principle-card__title {
  font-size: 1.5rem;
  font-weight: var(--fw-regular);
  color: var(--clr-text-dark);
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}

.principle-card__text {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  color: var(--clr-text);
  line-height: 1.5;
  margin-top: 14px;
}

