/* Revisão editorial - Home e Como Trabalho */
.home-testimonials { padding: clamp(6rem,10vw,11rem) 0; overflow: hidden; }
.home-testimonial-viewport { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-testimonial-viewport::-webkit-scrollbar { display: none; }
.home-testimonials .how-testimonial-grid { width: max-content; display: flex; gap: 1rem; padding-inline: max(2.5rem,calc((100vw - 116rem)/2)); }
.home-testimonials .how-testimonial-link { display: block; scroll-snap-align: start; }
.home-testimonials .how-testimonial { position: relative; width: clamp(24rem,52vw,52rem); min-height: clamp(27rem,42vw,42rem); padding: clamp(2rem,4vw,4rem); border: 0; border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: transform .35s ease,background .35s ease; }
.home-testimonials .how-testimonial-mark { position: absolute; top: 1.5rem; left: 1.75rem; height: auto; color: var(--text); font-size: clamp(5rem,8vw,9rem); line-height: 1; opacity: .09; pointer-events: none; }
.home-testimonials .how-testimonial blockquote { position: relative; z-index: 1; max-width: 22ch; margin-top: clamp(3rem,6vw,6rem); font-size: clamp(2rem,3.4vw,4.1rem); }
.home-testimonials .how-testimonial footer { position: relative; z-index: 1; }
.home-testimonials .how-testimonial:hover, .home-testimonials .how-testimonial-link:hover .how-testimonial { transform: translateY(-.45rem) scale(.995); background: var(--surface-soft); }
.home-testimonial-controls { display: flex; justify-content: flex-end; gap: .6rem; margin: 1.5rem max(2.5rem,calc((100vw - 116rem)/2)) 0; }
.home-testimonial-controls button { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); font: inherit; font-size: 1.2rem; cursor: pointer; transition: background .2s ease,color .2s ease,transform .2s ease; }
.home-testimonial-controls button:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }

.how-hero { min-height: auto; padding-top: clamp(10rem,14vw,14rem); padding-bottom: clamp(7rem,10vw,11rem); display: block; }
.how-hero-grid { align-items: end; }
.how-hero .page-eyebrow { margin: 0 0 clamp(2rem,4vw,4rem); }
.how-hero-title { margin: 0 !important; }
.how-hero-copy { padding-bottom: 0; }

.how-section-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(18rem,.9fr); gap: .9rem clamp(3rem,8vw,10rem); align-items: end; padding: 0 0 clamp(3rem,6vw,6rem); border-top: 0; }
.how-section-head > p { grid-column: 1; margin: 0 0 .7rem; }
.how-section-head h2 { grid-column: 1; max-width: 13ch; }
.how-section-head > span { grid-column: 2; grid-row: 2; max-width: 34rem; margin: 0; }
.how-section-head.no-label { grid-template-columns: minmax(0,1.15fr) minmax(18rem,.85fr); }
.how-section-head.no-label h2 { grid-column: 1; }
.how-section-head.no-label span { grid-column: 2; grid-row: 1; align-self: end; }

.how-process { padding-block: clamp(8rem,12vw,14rem); }
.process-timeline-list::before, .process-timeline-list::after { left: 2.5rem; }

.how-editorial-block { padding-block: clamp(8rem,12vw,14rem); border-top: 1px solid var(--line); }
.how-editorial-block.is-surface { background: var(--surface); }
.how-editorial-list { border-top: 1px solid var(--line); }
.how-editorial-list details { border-bottom: 1px solid var(--line); }
.how-editorial-list details:last-child { border-bottom: 0; }
.how-editorial-list summary { display: grid; grid-template-columns: minmax(0,1fr) auto 2.5rem; gap: 2rem; align-items: center; padding: clamp(1.6rem,2.6vw,2.6rem) 0; list-style: none; cursor: pointer; }
.how-editorial-list summary::-webkit-details-marker { display: none; }
.how-editorial-list summary > span { max-width: 21ch; font-family: var(--serif); font-size: clamp(2rem,3.8vw,4.8rem); line-height: .95; letter-spacing: -.025em; }
.how-editorial-list summary strong { color: var(--muted); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.how-editorial-list summary i { justify-self: end; font-size: 1.7rem; font-style: normal; transition: transform .25s ease; }
.how-editorial-list details[open] summary i { transform: rotate(45deg); }
.how-editorial-list details[open] > .how-editorial-answer { display: block !important; }
.how-editorial-answer { width: min(54rem,72%); margin-left: auto; padding: 0 0 clamp(2rem,4vw,4rem); color: var(--muted); font-size: clamp(1rem,1.25vw,1.2rem); line-height: 1.65; }
.how-editorial-answer p { margin: 0 0 1rem; }
.how-editorial-answer ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.how-editorial-answer li { padding: .75rem 0; border-top: 1px solid var(--line); }
.how-editorial-block .how-section-note { margin-top: 2rem; }

.how-pilot { margin-block: clamp(7rem,11vw,12rem); }
.how-pilot-note { padding-top: 1rem; border-top: 1px solid color-mix(in srgb,var(--bg) 24%,transparent); font-size: .86rem !important; }
.how-services { padding-bottom: clamp(9rem,13vw,14rem); }
.how-services-accordion { width: 100%; margin-left: 0; }
.how-services-accordion details > p { width: min(54rem,72%); margin: 0 0 2rem auto; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) {
  .how-section-head, .how-section-head.no-label { grid-template-columns: 1fr; }
  .how-section-head h2, .how-section-head > p, .how-section-head > span, .how-section-head.no-label h2, .how-section-head.no-label span { grid-column: 1; grid-row: auto; }
  .how-section-head > span { margin-top: .5rem; }
  .how-editorial-answer, .how-services-accordion details > p { width: 86%; }
}

@media (max-width: 560px) {
  .home-testimonials .how-testimonial-grid { padding-inline: 1rem; }
  .home-testimonials .how-testimonial { width: calc(100vw - 2.5rem); min-height: 30rem; padding: 1.5rem; }
  .home-testimonials .how-testimonial blockquote { margin-top: 4.5rem; font-size: clamp(1.9rem,8.5vw,2.7rem); }
  .home-testimonial-controls { margin-inline: 1rem; }
  .how-hero { padding-top: 8.5rem; padding-bottom: 7rem; }
  .how-hero .page-eyebrow { margin-bottom: 2rem; }
  .how-hero-title em { max-width: 10ch; }
  .process-timeline-list::before, .process-timeline-list::after { left: 1.85rem; }
  .how-editorial-list summary { grid-template-columns: minmax(0,1fr) 1.75rem; gap: .7rem 1rem; }
  .how-editorial-list summary > span { font-size: 2.25rem; }
  .how-editorial-list summary strong { grid-column: 1; grid-row: 2; white-space: normal; }
  .how-editorial-list summary i { grid-column: 2; grid-row: 1 / span 2; }
  .how-editorial-answer, .how-services-accordion details > p { width: 100%; }
  .how-editorial-answer ul { grid-template-columns: 1fr; }
}

/* Ajustes editoriais finais — processo, hierarquia e accordions */
.home-process-link { font-size: 1rem; font-weight: 400; color: var(--muted); }
.home-process-link:hover { color: var(--text); }

.how-hero-grid,
.how-section-head,
.how-section-head.no-label {
  grid-template-columns: minmax(0,1.35fr) minmax(22rem,.65fr);
  column-gap: clamp(3rem,8vw,10rem);
}
.how-hero-title { max-width: none !important; font-size: 1rem !important; }
.how-hero-title strong { font-size: clamp(7rem,14.2vw,17rem); line-height: .74; letter-spacing: -.075em; }
.how-hero-title em { max-width: 12ch; font-size: clamp(3.7rem,6.6vw,7.9rem); line-height: .86; }
.how-hero-copy > p,
.how-section-head > span { font-size: clamp(1.05rem,1.22vw,1.28rem); }
.how-text-link:is(button) { border: 0; font-weight: 400; text-decoration: none; }

.how-section-head > span,
.how-section-head.no-label span { grid-column: 2; }
.how-process .how-section-head h2 { max-width: none; font-size: clamp(3.8rem,5.9vw,7rem); }
.how-process .how-section-head > span { align-self: end; }

.how-editorial-block { border-top: 0; }
.how-editorial-block .how-section-head h2 { max-width: 23ch; font-size: clamp(3.15rem,4.8vw,5.8rem); }
.how-editorial-list.is-timing summary > span { max-width: 25ch; font-size: clamp(1.9rem,2.75vw,3.4rem); }
.how-editorial-list summary strong { font-size: clamp(.98rem,1.05vw,1.1rem); }
.how-editorial-list summary i,
.how-services-accordion summary i,
.contact-faq summary span:last-child { transition: transform .25s ease; }
.how-editorial-list details[open] summary i,
.how-services-accordion details[open] summary i,
.contact-faq details[open] summary span:last-child { transform: rotate(180deg); }

.how-pilot { align-items: center; margin-block: clamp(6rem,8vw,9rem); padding: clamp(2.5rem,4vw,4rem); }
.how-pilot > div:last-child { padding-bottom: 0; }
.how-pilot .how-detail-label { font-size: .78rem; }
.how-pilot h2 { max-width: 10ch; margin: 1.25rem 0 0; font-size: clamp(2.8rem,4.4vw,5.1rem); }
.how-pilot .how-actions { margin-top: 2rem; }
.how-pilot .how-copy-secondary { margin-top: 0; color: color-mix(in srgb,var(--bg) 72%,transparent); }
.how-pilot .how-copy-secondary:hover { color: var(--bg); }

@media (min-width: 901px) {
  .how-process { position: relative; padding: 0; }
  .how-process-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .how-process-intro { width: 100%; flex: none; }
  .how-process-intro .how-section-head { padding-bottom: clamp(2rem,4vh,3.5rem); }
  .process-timeline-viewport { width: 100%; overflow: hidden; }
  .process-timeline-list { position: relative; width: max-content; display: flex; gap: clamp(2rem,4vw,5rem); margin: 0; padding-inline: max(2.5rem,calc((100vw - 116rem)/2)); transform: translate3d(calc(-1 * var(--timeline-shift,0px)),0,0); will-change: transform; }
  .process-timeline-list::before,
  .process-timeline-list::after { left: max(3.875rem,calc((100vw - 116rem)/2 + 1.375rem)); right: max(3.875rem,calc((100vw - 116rem)/2 + 1.375rem)); top: 1.375rem; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .process-timeline-list::after { transform: scaleX(var(--timeline-progress)); }
  .process-step { width: clamp(27rem,31vw,38rem); min-height: 19rem; flex: none; grid-template-columns: 4rem 1fr; gap: 1.5rem; padding: 0 2rem 0 0; }
  .process-step:last-child { min-height: 19rem; padding-right: max(2rem,calc((100vw - 116rem)/2)); }
  .process-step > div:last-child { padding-top: clamp(4rem,7vh,5.5rem); }
  .process-step h3 { margin-top: 0; font-size: clamp(3rem,4.3vw,5.2rem); }
  .process-step p { font-size: clamp(1.05rem,1.2vw,1.22rem); }
}

@media (max-width: 900px) {
  .how-hero-grid,
  .how-section-head,
  .how-section-head.no-label { grid-template-columns: 1fr; }
  .how-hero-title strong { font-size: clamp(4.5rem,20vw,8rem); }
  .how-hero-title em { font-size: clamp(2.8rem,11vw,4.7rem); }
  .how-section-head > span,
  .how-section-head.no-label span { grid-column: 1; }
  .how-editorial-block .how-section-head h2 { max-width: 15ch; }
  .how-pilot { align-items: start; }
}

@media (max-width: 560px) {
  .home-process-link { font-size: .86rem; }
  .how-hero-title strong { font-size: clamp(3.5rem,17vw,5rem); }
  .how-hero-title em { font-size: clamp(2.35rem,10.5vw,3.4rem); }
  .how-editorial-list.is-timing summary > span { font-size: 1.9rem; }
  .how-editorial-list summary strong { font-size: .88rem; }
  .how-pilot h2 { font-size: 2.8rem; }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .how-process { height: auto !important; padding-block: 8rem; }
  .how-process-sticky { position: static; height: auto; overflow: visible; }
  .process-timeline-list { width: min(68rem,75%); display: block; margin-left: auto; padding: 0; transform: none; }
  .process-timeline-list::before,
  .process-timeline-list::after { left: 2.5rem; right: auto; top: 1.4rem; bottom: 1.4rem; width: 1px; height: auto; transform-origin: top; }
  .process-timeline-list::after { transform: scaleY(1); }
  .process-step,
  .process-step:last-child { width: auto; min-height: 19rem; padding-bottom: 5rem; }
}

/* Padronização tipográfica, navegação e refinamentos da revisão 2 */
.how-section-head > p { font-size: .875rem; }
.how-section-head h2,
.contact-faq .how-section-head h2 { max-width: 16ch; font-size: clamp(3.5rem,5vw,6rem); line-height: .94; }
.how-section-head > span,
.how-section-head.no-label span,
.how-hero-copy > p { font-size: clamp(1.08rem,1.18vw,1.1875rem); line-height: 1.55; }

.how-editorial-list summary > span,
.how-editorial-list.is-timing summary > span,
.how-services-accordion summary span { max-width: 28ch; font-size: clamp(2rem,2.75vw,3.4rem); }
.how-editorial-list summary strong { font-size: clamp(1rem,1.05vw,1.1875rem); }

.accordion-chevron { width: 1.35rem; height: 1.35rem; justify-self: end; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.how-editorial-list summary .accordion-chevron { grid-column: 3; }
.how-services-accordion summary .accordion-chevron,
.contact-faq summary .accordion-chevron { grid-column: 2; }
.how-editorial-list details[open] .accordion-chevron,
.how-services-accordion details[open] .accordion-chevron,
.contact-faq details[open] .accordion-chevron { transform: rotate(180deg); }

.how-pilot { margin-block: clamp(5rem,6vw,7rem) clamp(2.5rem,4vw,4rem); }
.how-services { padding-top: clamp(2.5rem,4vw,4rem); }

.home-testimonial-viewport { scroll-behavior: smooth; scroll-padding-inline: max(2.5rem,calc((100vw - 116rem)/2)); }
.home-testimonials .how-testimonial-grid { align-items: flex-start; }
.home-testimonials .how-testimonial-link,
.home-testimonials .how-testimonial-grid > .how-testimonial { scroll-snap-align: start; scroll-snap-stop: always; }
.home-testimonials .how-testimonial { min-height: 0; height: auto; }
.home-testimonials .how-testimonial footer { margin-top: clamp(2.5rem,5vw,5rem); }

@media (min-width: 901px) {
  .how-process-intro { width: min(calc(100% - 5rem),116rem); margin-inline: auto; }
  .process-timeline-list { transform: translate3d(calc(0px - var(--timeline-shift,0px)),0,0); }
}

@media (max-width: 900px) {
  .how-section-head h2,
  .contact-faq .how-section-head h2 { max-width: 15ch; }
}

@media (max-width: 560px) {
  .how-section-head > p { font-size: .78rem; }
  .how-section-head h2,
  .contact-faq .how-section-head h2 { font-size: clamp(2.85rem,13vw,4.2rem); }
  .how-section-head > span,
  .how-section-head.no-label span,
  .how-hero-copy > p { font-size: 1.05rem; }
  .how-editorial-list summary .accordion-chevron { grid-column: 2; grid-row: 1 / span 2; }
  .home-testimonial-viewport { scroll-padding-inline: 1rem; }
  .home-testimonials .how-testimonial { width: calc(100vw - 2rem); min-height: 0; }
  .home-testimonials .how-testimonial blockquote { margin-top: 3.5rem; font-size: clamp(1.75rem,8vw,2.45rem); }
}

