/* =========================================================
   Página aberta de uma Empresa (layout da Sigma)
   Medidas do Figma "Empresa aberto" (1440 x 6296).
   ========================================================= */
.em-page { background: var(--sb-light); }

/* ---------- Topo ---------- */
.em-hero { position: relative; min-height: 594px; color: #fff; background: var(--em-cor, #08c053); overflow: hidden; display: flex; }
.em-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.em-hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--em-cor, #08c053); opacity: .7; }
.em-hero__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 255px; padding-bottom: 44px; }
.em-hero__copy { max-width: 584px; }
.em-hero__title { font-size: var(--sb-fs-lg); line-height: 1; letter-spacing: -.03em; font-weight: 400; }
.em-hero__text { max-width: 443px; margin-top: 20px; font-size: 16px; line-height: 20px; }
.em-hero__btns { display: flex; gap: 10px; margin-bottom: 5px; flex: none; }
.em-hero__btns .sb-btn--branco { color: #089d24; font-weight: 600; }
.em-hero__btns .sb-btn--branco:hover { color: var(--sb-text); }

/* ---------- Apresentação ---------- */
.em-sobre { padding-top: 92px; }
.em-sobre__grid { display: flex; justify-content: space-between; gap: 40px; }
.em-sobre__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; max-width: 385px; padding-top: 1px; }
.em-sobre__text { max-width: 361px; }
.em-sobre__photo { width: 644px; flex: none; aspect-ratio: 644 / 400; border-radius: 50px; overflow: hidden; }
.em-sobre__photo img { width: 100%; height: 100%; object-fit: cover; }
.em-sobre__grid--sem-foto .em-sobre__copy { max-width: 760px; justify-content: flex-start; gap: 20px; }
.em-sobre__grid--sem-foto .em-sobre__text { max-width: 640px; }

/* ---------- Soluções da empresa ---------- */
.em-sol { padding-top: 114px; text-align: center; scroll-margin-top: 20px; }
.em-sol__title { max-width: 560px; margin: 0 auto; }
.em-sol__text { margin-top: 10px; font-size: 16px; line-height: 20px; color: var(--sb-gray); }
.em-sol__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 50px; text-align: left; }
.em-card { position: relative; display: flex; flex-direction: column; min-height: 352px; border: 1px solid var(--sb-green-esg); border-radius: 30px; overflow: hidden; background: transparent; }
.em-card__head { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: start; padding: 21px 22px 26px 20px; min-height: 128px; }
.em-card__title { grid-column: 1; font-size: var(--sb-fs-sm); line-height: 30px; letter-spacing: -.03em; font-weight: 500; color: #10c651; }
.em-card__title a { transition: color .25s; }
.em-card__title a:hover { color: var(--sb-olive); }
.em-card__text { grid-column: 1; margin-top: 10px; padding-left: 2px; max-width: 406px; font-size: 14px; line-height: 20px; color: #000; }
.em-card__btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 2px; width: 180px; border-color: var(--sb-green-esg); color: var(--sb-green-esg); }
.em-card__btn:hover { background: var(--sb-green-esg); color: #fff; }
.em-card__img { margin: auto -1px -1px; height: 224px; border-radius: 30px; overflow: hidden; }
.em-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sb-ease); }
.em-card:hover .em-card__img img { transform: scale(1.04); }

/* ---------- Setores ---------- */
.em-set { padding-top: 138px; }
.em-set__inner { max-width: 1082px; margin: 0 auto; }
.em-set__title { max-width: 477px; }
.em-set__text { max-width: 472px; margin-top: 10px; padding-left: 2px; font-size: 16px; line-height: 20px; color: #000; }
.em-set .sb-setores { margin-top: 42px; }
.em-set .sb-setor { border-radius: 25px; }
.em-set .sb-setor__top { border-radius: 25px; }
.em-set .sb-setor__name { padding: 10px 17px 18px; font-size: 18px; line-height: 20px; font-weight: 300; letter-spacing: -.03em; color: #000; }

/* ---------- Diferenciais ---------- */
.em-dif { padding-top: 93px; }
.em-dif .sb-wrap { position: relative; left: 11px; }
.em-dif__title { max-width: 432px; }
.em-dif__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.em-dif .sb-feature { background: transparent; }

/* ---------- Depoimentos ---------- */
.em-dep { padding-top: 42px; overflow: hidden; }
.em-dep__grid { display: grid; grid-template-columns: 403px 1fr; }
.em-dep__copy { display: flex; flex-direction: column; padding-top: 56px; }
.em-dep__title { max-width: 213px; }
.em-dep__text { max-width: 284px; margin-top: 33px; padding-left: 2px; font-size: 16px; line-height: 20px; color: #000; }
.em-dep__nav { display: flex; gap: 10px; margin-top: 46px; padding-left: 2px; }
.em-dep__arrow { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .3s var(--sb-ease), opacity .3s; }
.em-dep__arrow svg { width: 30px; height: 30px; }
.em-dep__arrow--prev { transform: rotate(180deg); }
.em-dep__arrow:hover { transform: translateX(3px); }
.em-dep__arrow--prev:hover { transform: rotate(180deg) translateX(3px); }
.em-dep__arrow[hidden] { display: inline-block; opacity: .35; pointer-events: none; }
.em-dep__car { position: relative; min-width: 0; margin-right: calc(-1 * var(--sb-gutter) - max(0px, (100vw - var(--sb-max)) / 2)); }
.em-dep__quote { position: absolute; left: 0; top: 56px; width: 338px; height: 240px; pointer-events: none; }
.em-dep__quote svg { width: 338px; height: 240px; }
.em-dep__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 10px; margin-top: 115px; padding-left: 98px; padding-right: var(--sb-gutter); scroll-padding-left: 98px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.em-dep__track::-webkit-scrollbar { display: none; }
.em-dep__card { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 250px; padding: 28px 30px 24px; border-radius: 25px; background: #fff; }
.em-dep__quote-text { margin: 0; max-width: 297px; font-size: 14px; line-height: 17px; color: var(--sb-text); }
.em-dep__author { display: flex; flex-direction: column; font-size: 14px; line-height: 17px; color: var(--sb-green-esg); }
.em-dep__author strong { font-weight: 600; }

/* ---------- Ecossistema ---------- */
.em-eco { padding-top: 97px; }
.em-eco__box { display: flex; justify-content: space-between; gap: 40px; min-height: 432px; padding: 15px 14px 16px 44px; border-radius: 50px; background: linear-gradient(-50.58deg, #1cff8d 1.58%, #08a22b 96.75%); color: #fff; }
.em-eco__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 31px 0 18px; }
.em-eco__title { max-width: 309px; }
.em-eco__text { max-width: 384px; font-size: 16px; line-height: 20px; }
.em-eco__text p + p { margin-top: 20px; }
.em-eco__btn { margin-top: 20px; }
.em-eco__photo { width: 613px; flex: none; border-radius: 36px; overflow: hidden; min-height: 401px; }
.em-eco__photo img { width: 100%; height: 100%; object-fit: cover; }
.em-eco__box--sem-foto { min-height: 0; padding: 46px 44px 34px; }
.em-eco__box--sem-foto .em-eco__copy { padding: 0; }
.em-eco__box--sem-foto .em-eco__title { max-width: 520px; }

/* ---------- Formulário ---------- */
.em-form { padding-top: 152px; padding-bottom: 141px; scroll-margin-top: 0; }
.em-form__grid { display: grid; grid-template-columns: 616px 1fr; column-gap: 48px; align-items: start; }
.em-form__grid--sem-foto { grid-template-columns: 1fr; }
.em-form__grid--sem-foto .em-form__copy { display: grid; grid-template-columns: 1fr 676px; column-gap: 48px; align-content: start; }
.em-form__grid--sem-foto .em-form__title, .em-form__grid--sem-foto .em-form__text { grid-column: 1; }
.em-form__grid--sem-foto .em-form__form { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
.em-form__photo { aspect-ratio: 616 / 371; border-radius: 50px; overflow: hidden; }
.em-form__photo img { width: 100%; height: 100%; object-fit: cover; }
.em-form__title { max-width: 477px; }
.em-form__text { max-width: 535px; margin-top: 11px; font-size: 16px; line-height: 20px; color: #000; }
.em-form__form { margin-top: 20px; }
.em-form .sb-form input, .em-form .sb-form select, .em-form .sb-form textarea { border-color: #000; background-color: transparent; }
.em-form .sb-form input::placeholder, .em-form .sb-form textarea::placeholder { color: #000; }
.em-form .sb-form select:has(option[value=""]:checked) { color: #000; }
.em-form .sb-form input:focus, .em-form .sb-form select:focus, .em-form .sb-form textarea:focus { border-color: var(--sb-green-esg); }
.em-form .sb-form textarea { padding-top: 14px; }
.em-form .sb-form__submit { background: var(--sb-green-esg); }
.em-form .sb-form__submit:hover { background: #07a446; }

/* ---------- Chamada final ---------- */
.em-cta .sb-cta__inner { align-items: flex-end; padding-bottom: 63px; }
.em-cta .sb-cta__title { max-width: 680px; }
.em-cta .sb-cta__side { padding-bottom: 13px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1300px) {
	.em-sobre__photo { width: 54%; }
	.em-eco__photo { width: 52%; }
	.em-form__grid { grid-template-columns: 1fr 1fr; }
	.em-dif .sb-wrap { left: 0; }
}
@media (max-width: 1200px) {
	.em-hero__inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
	.em-dep__grid { grid-template-columns: 300px 1fr; }
	.em-card__head { grid-template-columns: 1fr; }
	.em-card__btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; }
}
@media (max-width: 1024px) {
	.em-hero { min-height: 560px; }
	.em-hero__inner { padding-top: 160px; }
	.em-sobre__grid { flex-direction: column; }
	.em-sobre__copy { max-width: none; }
	.em-sobre__text { max-width: 640px; }
	.em-sobre__photo { width: 100%; border-radius: 30px; }
	.em-sol { padding-top: 88px; }
	.em-set, .em-dif { padding-top: 88px; }
	.em-dif__grid { grid-template-columns: repeat(2, 1fr); }
	.em-dep__grid { grid-template-columns: 1fr; row-gap: 8px; }
	.em-dep__title { max-width: none; }
	.em-dep__copy { padding-top: 0; }
	.em-dep__nav { order: 3; margin-top: 24px; }
	.em-dep__car { margin-left: calc(-1 * var(--sb-gutter)); }
	.em-dep { padding-top: 88px; }
	.em-dep__track { margin-top: 59px; padding-left: calc(var(--sb-gutter) + 60px); scroll-padding-left: calc(var(--sb-gutter) + 60px); }
	.em-dep__quote { left: var(--sb-gutter); transform: scale(.7); transform-origin: left top; }
	.em-eco__box { flex-direction: column; padding: 36px 16px 16px; border-radius: 30px; }
	.em-eco__copy { padding: 0 12px; }
	.em-eco__title { max-width: 520px; }
	.em-eco__photo { width: 100%; min-height: 0; aspect-ratio: 613 / 401; border-radius: 24px; }
	.em-form { padding-top: 96px; padding-bottom: 96px; }
	.em-form__grid { grid-template-columns: 1fr; row-gap: 40px; }
	.em-form__grid--sem-foto .em-form__copy { display: block; }
	.em-form__grid--sem-foto .em-form__form { margin-top: 20px; }
	.em-form__photo { order: 2; border-radius: 30px; }
}
@media (max-width: 768px) {
	.em-cta .sb-cta__inner { align-items: stretch; padding-bottom: 64px; }
	.em-cta .sb-cta__side { padding-bottom: 0; }
	.em-hero { min-height: 0; }
	.em-hero__inner { padding-top: 130px; padding-bottom: 40px; gap: 28px; }
	.em-hero__btns { flex-wrap: wrap; width: 100%; margin-bottom: 0; }
	.em-hero__btns .sb-btn { flex: 1 1 200px; }
	.em-sobre { padding-top: 64px; }
	.em-sol { padding-top: 72px; }
	.em-sol__grid { grid-template-columns: 1fr; margin-top: 32px; }
	.em-card { min-height: 0; border-radius: 24px; }
	.em-card__head { padding: 20px 18px 22px; min-height: 0; }
	.em-card__title { line-height: 1.1; }
	.em-card__btn { width: auto; }
	.em-card__img { height: auto; aspect-ratio: 665 / 224; border-radius: 24px; }
	.em-set, .em-dif { padding-top: 72px; }
	.em-set .sb-setores { margin-top: 28px; }
	.em-set .sb-setor__name { font-size: 16px; }
	.em-dif__grid { grid-template-columns: 1fr; }
	.em-dep { padding-top: 72px; }
	.em-dep__text { margin-top: 16px; }
	.em-dep__track { grid-auto-columns: min(300px, 78vw); margin-top: 40px; padding-left: var(--sb-gutter); scroll-padding-left: var(--sb-gutter); }
	.em-dep__quote { transform: scale(.5); }
	.em-dep__card { min-height: 230px; padding: 24px 22px 22px; }
	.em-eco { padding-top: 72px; }
	.em-eco__copy { padding: 0 8px; }
	.em-eco__btn { margin-top: 24px; }
	.em-form { padding-top: 72px; padding-bottom: 72px; }
}
