/* Extensão da fase 4: os seletores ficam restritos aos novos módulos e à navegação. */
.module-section { padding-block: 112px; }
.module-section .module-heading { margin-bottom: 56px; }
.module-section .module-heading h2 { max-width: 860px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.1; letter-spacing: -.045em; }
.module-kicker { font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; color: var(--turquoise); margin: 0 0 24px; }
.module-section figure { margin: 0; }
.module-section img { max-width: 100%; height: auto; }
.module-section p { text-wrap: pretty; }
#navegacao .desktop-links { gap: 24px; }

.module-situations { padding-top: 80px; background: var(--night); border-top: 1px solid #ffffff1c; }
.module-situations .situation-heading { display: grid; grid-template-columns: .7fr 1.65fr; align-items: start; gap: 64px; }
.module-situations .situation-heading .module-kicker { padding-top: 10px; }
.module-situations .situation-heading h2 { max-width: 830px; }
.situations-list { padding: 0; margin: 0; list-style: none; }
.situation-row { display: grid; grid-template-columns: 70px minmax(220px, .9fr) minmax(0, 1.25fr); align-items: start; gap: 32px; padding-block: 32px; border-top: 1px solid #587088; }
.situation-number { color: var(--sand); font-size: 12px; letter-spacing: .14em; font-weight: 750; padding-top: 5px; }
.situation-row h3 { font-size: 25px; font-weight: 600; max-width: 320px; line-height: 1.25; }
.situation-row p { color: var(--secondary); font-size: 16px; line-height: 1.75; margin: 0; max-width: 510px; }
.situation-note { max-width: 700px; margin: 32px 0 0 auto; color: var(--secondary); font-size: 14px; line-height: 1.75; }

.module-solutions { background: radial-gradient(ellipse 80% 60% at 50% 45%, #0fa7a718, transparent 80%), var(--night); }
.module-solutions .module-heading { display: grid; grid-template-columns: .7fr 1.65fr; align-items: start; gap: 64px; }
.module-solutions .module-heading .module-kicker { padding-top: 10px; }
.solutions-figure { position: relative; width: 100%; border-radius: 24px; overflow: hidden; background: #0b263d; }
.solutions-figure img { width: 100%; object-fit: contain; }
.solutions-scene { position: relative; width: 100%; aspect-ratio: 1902 / 827; overflow: hidden; background: radial-gradient(ellipse at 52% 43%, #17444f, #0b263d 74%); }
.solutions-scene > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.solutions-scene > canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.solutions-scene[data-scene-state="ready"] > img, .solutions-scene[data-scene-state="running"] > img, .solutions-scene[data-scene-state="done"] > img { opacity: 0; }
.services-ribbon { position: relative; margin-top: 32px; padding: 20px 28px; border-radius: 100px; overflow: hidden; color: var(--night); background: linear-gradient(105deg, #4fc4c5 0%, #87d8c3 48%, #dfd4af 100%); box-shadow: inset 0 1px 0 #ffffff3d, inset 0 -1px 0 #0b1f3a12; }
.services-ribbon-track { display: flex; width: max-content; align-items: center; gap: 36px; font-size: clamp(18px, 2vw, 28px); line-height: 1.4; font-weight: 650; letter-spacing: -.025em; white-space: nowrap; }
.services-ribbon::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, #4fc4c5 0, #4fc4c500 34px, #dfd4af00 calc(100% - 34px), #dfd4af 100%); }
.services-ribbon-track i { font-size: 17px; font-style: normal; color: #12666b; }
.solutions-figure figcaption { position: relative; z-index: 2; padding: 16px 20px; color: var(--secondary); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: center; background: #0b1f3a; }
.solutions-fronts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin-top: 54px; }
.solution-front { border-top: 1px solid #698598; padding-top: 24px; }
.solution-number { display: block; color: var(--sand); font-size: 11px; letter-spacing: .1em; font-weight: 750; margin-bottom: 22px; }
.solution-front h3 { font-size: 24px; line-height: 1.28; font-weight: 600; min-height: 92px; max-width: 320px; margin-bottom: 20px; }
.solution-front p { color: var(--secondary); font-size: 15px; line-height: 1.8; margin: 0; }
.solution-custom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 20px 70px; margin-top: 64px; padding: 36px 0 0; border-top: 1px solid #698598; }
.solution-custom h3 { font-size: 28px; line-height: 1.25; color: var(--sand); font-weight: 600; max-width: 310px; }
.solution-custom p { color: var(--secondary); font-size: 16px; line-height: 1.75; margin: 0; max-width: 680px; }
.solution-custom .text-link { grid-column: 2; color: var(--turquoise); justify-self: start; }

.module-projects { background: var(--paper); color: var(--night); border-radius: 48px 48px 0 0; }
.module-projects .module-kicker, .module-founder .module-kicker, .module-faq .module-kicker { color: #12666b; }
.module-projects :focus-visible, .module-founder :focus-visible, .module-faq :focus-visible { outline-color: #12666b; }
.module-projects .projects-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 88px; align-items: end; margin-bottom: 64px; }
.projects-heading > p { color: #34485c; font-size: 16px; line-height: 1.75; margin: 0; max-width: 500px; }
.project-case { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; border-top: 1px solid #c4cdcf; padding-block: 64px; position: relative; }
.project-case:nth-of-type(even) { grid-template-columns: 1fr 1.4fr; }
.project-case:nth-of-type(even) .project-figure { grid-column: 2; grid-row: 1; }
.project-case:nth-of-type(even) .project-story { grid-column: 1; grid-row: 1; }
.project-figure { min-width: 0; }
.project-image-mask { overflow: hidden; border-radius: 14px; }
.project-figure img { display: block; width: 100%; object-fit: contain; border: 1px solid #d2dcdf; border-radius: 14px; background: #ffffff; }
.project-figure figcaption { margin-top: 18px; padding-left: 14px; border-left: 2px solid #12666b; color: #475b6b; font-size: 14px; line-height: 1.75; }
.project-story { min-width: 0; }
.project-label { font-size: 11px; line-height: 1.5; text-transform: uppercase; color: #12666b; font-weight: 800; letter-spacing: .14em; margin: 0 0 18px; }
.project-story h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; max-width: 400px; margin-bottom: 24px; text-wrap: balance; }
.project-story > p:not(.project-label) { font-size: 15px; line-height: 1.75; color: #34485c; margin-bottom: 20px; }
.project-story > .project-participation { font-size: 13px; color: #516172; margin-bottom: 0; }
.projects-next { display: flex; justify-content: center; padding-top: 24px; border-top: 1px solid #c4cdcf; }
.projects-next .button { border-radius: 100px; min-height: 56px; padding-inline: 28px; }
.projects-next .button:hover { background: var(--night); color: var(--white); border-color: var(--night); }

.module-process { background: var(--night); }
.module-process .module-heading h2 { max-width: 740px; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-step { display: grid; grid-template-columns: 80px minmax(200px, .9fr) minmax(0, 1.45fr); gap: 32px; padding-block: 36px; border-top: 1px solid #587088; position: relative; }
.process-number { font-size: 24px; line-height: 1.2; color: var(--sand); font-weight: 500; letter-spacing: -.02em; padding-top: 2px; }
.process-step h3 { font-size: 26px; font-weight: 600; line-height: 1.25; }
.process-step p { color: var(--secondary); line-height: 1.75; font-size: 16px; margin: 0; max-width: 640px; }
.process-step > [data-process-trace] { position: absolute; left: 0; top: -10px; width: 100%; height: 20px; color: var(--turquoise); }

.module-founder { background: #eed9b7; color: var(--night); }
.founder-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: 96px; align-items: center; }
.founder-mark { display: flex; align-items: center; min-width: 0; padding: 40px 20px; border: 1px solid #0b1f3a35; border-radius: 50%; aspect-ratio: 1; justify-content: center; background: var(--night); }
.founder-mark img { width: 230px; max-width: 100%; }
.founder-copy h2 { font-size: clamp(36px, 3.8vw, 54px); font-weight: 600; margin-bottom: 30px; max-width: 710px; }
.founder-copy > p:not(.module-kicker) { color: #34485c; max-width: 690px; font-size: 16px; line-height: 1.75; }
.founder-copy > .founder-principle { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid #0b1f3a4d; font-size: 17px; color: var(--night); font-weight: 600; }

.module-faq { background: var(--paper); color: var(--night); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 100px; align-items: start; }
.module-faq .module-heading { margin: 0; }
.faq-list { min-width: 0; }
.faq-item { border-top: 1px solid #9baeb8; padding: 0; }
.faq-item:last-child { border-bottom: 1px solid #9baeb8; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding-block: 23px; font-size: 17px; line-height: 1.5; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after { content: "+"; color: #12666b; font-size: 25px; font-weight: 400; flex: 0 0 22px; text-align: center; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: #12666b; }
.faq-answer { padding: 0 44px 26px 0; }
.faq-answer p { color: #34485c; font-size: 15px; line-height: 1.8; margin: 0; max-width: 620px; }

@media (max-width: 1100px) {
  #navegacao .desktop-links { gap: 16px; }
  #navegacao .desktop-links a { font-size: 12px; }
  .module-section { padding-block: 88px; }
  .module-situations .situation-heading, .module-solutions .module-heading { grid-template-columns: .6fr 1.5fr; gap: 40px; }
  .module-section .module-heading h2 { font-size: 48px; }
  .situation-row { grid-template-columns: 40px .9fr 1.2fr; gap: 24px; }
  .situation-row h3 { font-size: 22px; }
  .solutions-fronts { gap: 28px; }
  .solution-front h3 { font-size: 21px; min-height: 85px; }
  .solution-custom { gap: 20px 48px; }
  .module-projects .projects-heading { gap: 48px; }
  .project-case, .project-case:nth-of-type(even) { gap: 40px; }
  .project-story h3 { font-size: 30px; }
  .process-step { grid-template-columns: 60px .9fr 1.4fr; gap: 24px; }
  .founder-layout { gap: 60px; }
  .founder-copy h2 { font-size: 44px; }
  .faq-layout { gap: 56px; }
}

@media (max-width: 900px) {
  .module-section { padding-block: 80px; }
  .module-section .module-heading { margin-bottom: 42px; }
  .module-situations .situation-heading, .module-solutions .module-heading { display: block; }
  .module-section .module-heading h2 { max-width: 670px; font-size: 44px; }
  .situation-row { grid-template-columns: 34px .9fr 1.2fr; gap: 20px; }
  .situation-row p { font-size: 15px; }
  .situation-note { max-width: 530px; }
  .solutions-fronts { gap: 24px; margin-top: 42px; }
  .solution-front h3 { font-size: 20px; min-height: 106px; }
  .solution-front p { font-size: 14px; line-height: 1.8; }
  .solution-custom { grid-template-columns: .9fr 1.2fr; gap: 20px 40px; }
  .solution-custom h3 { font-size: 26px; }
  .solution-custom p { font-size: 15px; }
  .module-projects { border-radius: 36px 36px 0 0; }
  .module-projects .projects-heading { display: block; }
  .projects-heading > p { margin-top: 28px; max-width: 630px; }
  .project-case, .project-case:nth-of-type(even) { display: block; padding-block: 46px; }
  .project-figure figcaption { max-width: 670px; }
  .project-story { margin-top: 32px; }
  .project-story h3 { max-width: 620px; font-size: 32px; }
  .project-story > p { max-width: 670px; }
  .process-step { grid-template-columns: 40px .8fr 1.35fr; gap: 20px; }
  .process-step h3 { font-size: 23px; }
  .process-step p { font-size: 15px; }
  .founder-layout { grid-template-columns: .7fr 1.5fr; gap: 40px; }
  .founder-mark { padding: 24px; }
  .founder-copy h2 { font-size: 38px; }
  .founder-copy > p:not(.module-kicker) { font-size: 15px; }
  .faq-layout { display: block; }
  .module-faq .module-heading { margin-bottom: 42px; }
}

@media (max-width: 640px) {
  .module-section { padding-block: 64px; }
  .module-section .module-heading { margin-bottom: 32px; }
  .module-section .module-heading h2 { font-size: 36px; line-height: 1.14; letter-spacing: -.04em; }
  .module-kicker { font-size: 10px; margin-bottom: 20px; }
  .situation-row { grid-template-columns: 26px 1fr; gap: 12px 16px; padding-block: 26px; }
  .situation-row h3 { font-size: 23px; max-width: 300px; }
  .situation-row p { grid-column: 2; font-size: 15px; }
  .situation-note { margin-top: 24px; font-size: 14px; }
  .solutions-figure { border-radius: 14px; }
  .solutions-scene { aspect-ratio: 1.38; }
  .services-ribbon { margin-top: 24px; padding: 17px 24px; }
  .services-ribbon-track { gap: 24px; font-size: 19px; }
  .solutions-figure figcaption { padding: 12px; font-size: 11px; }
  .solutions-fronts { display: block; margin-top: 28px; }
  .solution-front { padding-block: 24px; }
  .solution-number { margin-bottom: 14px; }
  .solution-front h3 { min-height: 0; font-size: 25px; max-width: 350px; margin-bottom: 18px; }
  .solution-front p { font-size: 15px; }
  .solution-custom { display: block; margin-top: 20px; padding-top: 28px; }
  .solution-custom h3 { font-size: 27px; margin-bottom: 20px; }
  .solution-custom .text-link { margin-top: 20px; font-size: 13px; }
  .module-projects { border-radius: 28px 28px 0 0; }
  .module-projects .projects-heading { margin-bottom: 32px; }
  .projects-heading > p { font-size: 15px; margin-top: 24px; }
  .project-case, .project-case:nth-of-type(even) { padding-block: 32px; }
  .project-figure img { border-radius: 10px; }
  .project-figure figcaption { font-size: 14px; padding-left: 12px; margin-top: 16px; line-height: 1.7; }
  .project-story { margin-top: 28px; }
  .project-label { font-size: 10px; margin-bottom: 14px; }
  .project-story h3 { font-size: 30px; max-width: 400px; margin-bottom: 20px; }
  .project-story > p:not(.project-label) { font-size: 15px; }
  .projects-next { padding-top: 28px; }
  .projects-next .button { width: 100%; font-size: 13px; padding-inline: 20px; }
  .process-step { grid-template-columns: 35px 1fr; gap: 14px 16px; padding-block: 28px; }
  .process-number { font-size: 19px; padding-top: 3px; }
  .process-step h3 { font-size: 25px; }
  .process-step p { grid-column: 2; font-size: 15px; }
  .founder-layout { display: block; }
  .founder-mark { width: 190px; height: 190px; padding: 26px; margin-bottom: 36px; }
  .founder-mark img { width: 140px; }
  .founder-copy h2 { font-size: 36px; line-height: 1.14; margin-bottom: 26px; }
  .founder-copy > .founder-principle { font-size: 16px; margin-top: 24px; }
  .module-faq .module-heading { margin-bottom: 32px; }
  .faq-item summary { font-size: 16px; min-height: 78px; padding-block: 22px; gap: 20px; }
  .faq-answer { padding-right: 18px; padding-bottom: 24px; }
  .faq-answer p { font-size: 15px; }
}

@media (max-width: 360px) {
  .module-section .module-heading h2, .founder-copy h2 { font-size: 32px; }
  .situation-row { grid-template-columns: 22px 1fr; gap: 12px; }
  .situation-row h3 { font-size: 21px; }
  .project-story h3 { font-size: 28px; }
  .projects-next .button { font-size: 12px; padding-inline: 16px; }
  .process-step { grid-template-columns: 30px 1fr; gap: 12px; }
  .process-step h3 { font-size: 23px; }
}
