/* Solicitar apresentação (Jornada B) e as etapas de implementação, partilhadas com a pré-reserva */

/* Cartão do topo: uma videochamada e as fases do pedido */
.ap-card { position: relative; padding: 1.1rem; border: 1px solid #d7ebc9; border-radius: 16px; background: #ffffff; box-shadow: 0 30px 70px rgba(15, 40, 20, 0.1); }
.dark .ap-card { border-color: #2c3f2e; background: #0f1a14; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.ap-card__top { display: flex; justify-content: space-between; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; }
.dark .ap-card__top { color: #91a096; }
.ap-card__top span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; color: #3f8f17; }
.dark .ap-card__top span:first-child { color: #9bcd74; }
.ap-card__top i { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: ap-rec 1.6s infinite; }
@keyframes ap-rec { 50% { opacity: 0.25; } }
.ap-call { margin-top: 0.9rem; border-radius: 12px; overflow: hidden; background: #0b120f; }
.ap-call__screen { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 15rem; padding: 8px; }
.ap-call__tile { display: grid; place-items: center; align-content: center; gap: 0.3rem; border-radius: 9px; background: #18261c; color: #cfe8bd; }
.ap-call__tile span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #25401a; font-weight: 800; color: #87e64b; }
.ap-call__tile small { font-size: 0.7rem; color: #91a096; }
.ap-call__tile--main { grid-row: span 2; }
.ap-call__tile--main span { animation: ap-talk 2.4s ease-in-out infinite; }
@keyframes ap-talk { 0%, 100% { box-shadow: 0 0 0 0 rgba(135, 230, 75, 0.5); } 50% { box-shadow: 0 0 0 10px rgba(135, 230, 75, 0); } }
.ap-call__slide { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; padding: 0.8rem; border-radius: 9px; background: linear-gradient(140deg, #1f3a18, #142515); }
.ap-call__slide b { font-size: 1rem; color: #ffffff; }
.ap-call__slide em { font-style: normal; font-size: 0.6rem; color: #9bcd74; }
.ap-call__slide i { display: block; height: 4px; border-radius: 3px; background: rgba(155, 205, 116, 0.35); animation: ap-line 3s ease-in-out infinite; transform-origin: left; }
.ap-call__slide i:nth-of-type(2) { width: 75%; animation-delay: 0.3s; }
.ap-call__slide i:nth-of-type(3) { width: 55%; animation-delay: 0.6s; }
@keyframes ap-line { 0%, 100% { transform: scaleX(0.4); } 50% { transform: scaleX(1); } }
.ap-call__bar { display: flex; justify-content: center; gap: 0.6rem; padding: 0.6rem; background: #0e1812; }
.ap-call__bar i { width: 26px; height: 26px; border-radius: 50%; background: #23332a; }
.ap-call__bar i.is-red { background: #dc2626; }
.ap-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.ap-flow li { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 600; color: #6b7280; text-align: center; }
.dark .ap-flow li { color: #91a096; }
.ap-flow b { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid #cfe3bf; border-radius: 50%; font-size: 0.75rem; }
.dark .ap-flow b { border-color: #33463a; }
.ap-flow li.is-done b { border-color: transparent; background: #87e64b; color: #0b120f; }
.ap-flow li.is-on { color: #3f8f17; }
.dark .ap-flow li.is-on { color: #87e64b; }
.ap-flow li.is-on b { border-color: #87e64b; color: #3f8f17; box-shadow: 0 0 0 4px rgba(135, 230, 75, 0.15); animation: ap-talk 2.4s ease-in-out infinite; }
.dark .ap-flow li.is-on b { color: #87e64b; }

/* Dois caminhos */
.ap-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ap-path { display: flex; flex-direction: column; padding: 1.8rem; border: 2px solid #0b120f; border-radius: 18px; background: #87e64b; color: #0b120f; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ap-path:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15, 40, 20, 0.15); }
.ap-path--b { background: #0b120f; color: #ffffff; }
.dark .ap-path { border-color: #87e64b; }
.dark .ap-path--b { border-color: #2c3f2e; background: #101b14; }
.ap-path__tag { align-self: flex-start; padding: 0.3rem 0.7rem; border-radius: 999px; background: #0b120f; color: #87e64b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ap-path--b .ap-path__tag { background: #87e64b; color: #0b120f; }
.ap-path h3 { margin: 1.1rem 0 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.ap-path p { margin: 0.6rem 0 0; font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }
.ap-path ul { display: grid; gap: 0.35rem; margin: 1rem 0 1.4rem; padding-left: 1.1rem; font-size: 0.92rem; }
.ap-path__go { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; font-weight: 800; }
.ap-path__go .pp-i { transition: transform 0.25s ease; }
.ap-path:hover .ap-path__go .pp-i { transform: translateX(4px); }

/* Formulário: escolhas em botões */
.ap-group { margin: 1.1rem 0 0; padding: 0; border: 0; min-width: 0; }
.ap-group legend { margin-bottom: 0.5rem; padding: 0; font-size: 0.85rem; font-weight: 600; color: #111827; }
.dark .ap-group legend { color: #f3f4f6; }
.ap-group legend small { font-weight: 500; color: #6b7280; }
.ap-chips, .ap-seg { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ap-chips label, .ap-seg label { position: relative; cursor: pointer; }
.ap-chips input, .ap-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ap-chips span, .ap-seg span { display: inline-block; padding: 0.5rem 0.85rem; border: 1px solid #d1d5db; border-radius: 999px; font-size: 0.85rem; color: #374151; transition: all 0.2s; }
.dark .ap-chips span, .dark .ap-seg span { border-color: #2f3d31; color: #c1cebd; }
.ap-chips label:hover span, .ap-seg label:hover span { border-color: #87e64b; }
.ap-chips input:checked + span, .ap-seg input:checked + span { border-color: #87e64b; background: #eef8e6; color: #2f6b12; font-weight: 600; }
.dark .ap-chips input:checked + span, .dark .ap-seg input:checked + span { background: rgba(135, 230, 75, 0.12); color: #9cf063; }
.ap-chips input:focus-visible + span, .ap-seg input:focus-visible + span { outline: 2px solid #87e64b; outline-offset: 2px; }
.ap-done__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.2rem; }

/* As 9 etapas de implementação */
.ob-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; list-style: none; margin: 0; padding: 0; counter-reset: ob; }
.ob-steps > li { display: flex; gap: 0.9rem; padding: 1.2rem; border: 1.5px solid #d7ebc9; border-radius: 14px; background: #ffffff; transition: transform 0.25s, border-color 0.25s; }
.dark .ob-steps > li { border-color: #2c3f2e; background: #0f1a14; }
.ob-steps > li:hover { transform: translateY(-3px); border-color: #87e64b; }
.ob-steps > li.is-training { background: #f2faea; }
.dark .ob-steps > li.is-training { background: #142315; }
.ob-steps__n { display: grid; place-items: center; width: 2.4rem; height: 2.6rem; flex: none; background: #87e64b; color: #0b120f; font-weight: 800; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.ob-steps h3 { margin: 0.3rem 0 0; font-size: 0.98rem; font-weight: 700; line-height: 1.35; color: #111827; }
.dark .ob-steps h3 { color: #f3f4f6; }
.ob-steps ul { display: grid; gap: 0.3rem; list-style: none; margin: 0.6rem 0 0; padding: 0; }
.ob-steps ul li { font-size: 0.82rem; color: #4b5563; }
.dark .ob-steps ul li { color: #a9b5ad; }
.ob-steps em { margin-right: 0.4rem; padding: 0.1rem 0.4rem; border-radius: 999px; background: #0b120f; color: #87e64b; font-style: normal; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 1023px) { .ob-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    .ap-paths, .ob-steps { grid-template-columns: 1fr; }
    .ap-call__screen { height: 12rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ap-card__top i, .ap-call__tile--main span, .ap-call__slide i, .ap-flow li.is-on b { animation: none; }
    .ap-path:hover, .ob-steps > li:hover { transform: none; }
}

/* Números das etapas com a forma do símbolo fieldbox (o contorno do logótipo, hexágono de cantos redondos) */
.ob-steps__n, .ct-journey__steps b {
    clip-path: none !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 207.64 186.54'%3E%3Cpath d='M203.49,80.24c-12.68-24.37-28.86-48.33-42.4-72.33-3.47-3.97-8.94-6.7-14.2-7.14-28.31-2.37-60.11,1.69-88.77.25-4.91,1.47-9.48,3.71-12.6,7.85l-14.87,25.69L2.17,83.78c-3.19,7.33-2.74,13.04.57,20.22,10.14,15.49,18.74,32.7,27.92,49.18,4.09,7.32,8.26,14.49,12.76,21.31,4.34,6.59,8.85,10.63,17.13,11.32,27.96-1.83,58.72,2.3,86.35,0,8.04-.66,12.44-4.46,16.78-10.77,15.54-22.63,27.59-50.68,42.51-74,2.93-8.33,1.14-13.42-2.7-20.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 207.64 186.54'%3E%3Cpath d='M203.49,80.24c-12.68-24.37-28.86-48.33-42.4-72.33-3.47-3.97-8.94-6.7-14.2-7.14-28.31-2.37-60.11,1.69-88.77.25-4.91,1.47-9.48,3.71-12.6,7.85l-14.87,25.69L2.17,83.78c-3.19,7.33-2.74,13.04.57,20.22,10.14,15.49,18.74,32.7,27.92,49.18,4.09,7.32,8.26,14.49,12.76,21.31,4.34,6.59,8.85,10.63,17.13,11.32,27.96-1.83,58.72,2.3,86.35,0,8.04-.66,12.44-4.46,16.78-10.77,15.54-22.63,27.59-50.68,42.51-74,2.93-8.33,1.14-13.42-2.7-20.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ob-steps__n { width: 2.6rem; height: 2.34rem; }
.ct-journey__steps b { width: 2.3rem; height: 2.07rem; }

/* Cartões das jornadas: mais informação, mesmo tamanho */
.ap-paths { align-items: stretch; }
.ap-path { border-width: 2px; }
.ap-path__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.ap-path__kind { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.ap-path__kind--here { display: inline-flex; align-items: center; gap: 0.4rem; color: #87e64b; opacity: 1; }
.ap-path__kind--here i { width: 7px; height: 7px; border-radius: 50%; background: #87e64b; animation: ap-talk 2.4s ease-in-out infinite; }
.ap-path h3 { margin-top: 1.2rem; }
.ap-path__for { margin: 0.8rem 0 0 !important; padding: 0.6rem 0.8rem; border-radius: 10px; background: rgba(11, 18, 15, 0.08); font-size: 0.86rem !important; opacity: 1 !important; }
.ap-path--b .ap-path__for { background: rgba(135, 230, 75, 0.07); color: #d1dccf; }
.ap-path__for b { margin-right: 0.3rem; }
.ap-path__steps { display: grid; gap: 0.75rem; list-style: none; margin: 1.3rem 0 1.5rem !important; padding: 0 !important; }
.ap-path__steps li { display: flex; gap: 0.75rem; align-items: flex-start; }
.ap-path__steps i { display: grid; place-items: center; width: 1.7rem; height: 1.55rem; flex: none; background: #0b120f; color: #87e64b; font-style: normal; font-size: 0.75rem; font-weight: 800; }
.ap-path--b .ap-path__steps i { background: #87e64b; color: #0b120f; }
.ap-path__steps strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.ap-path__steps small { display: block; margin-top: 0.15rem; font-size: 0.82rem; line-height: 1.45; opacity: 0.8; }
.ap-path__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid rgba(11, 18, 15, 0.18); }
.ap-path--b .ap-path__foot { border-top-color: rgba(255, 255, 255, 0.1); }
.ap-path__meta { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 600; opacity: 0.85; }
.ap-path__meta .pp-i { width: 1rem; height: 1rem; }
.ap-path__go { margin-top: 0; }
/* números com a forma do símbolo fieldbox */
.ap-path__steps i {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 207.64 186.54'%3E%3Cpath d='M203.49,80.24c-12.68-24.37-28.86-48.33-42.4-72.33-3.47-3.97-8.94-6.7-14.2-7.14-28.31-2.37-60.11,1.69-88.77.25-4.91,1.47-9.48,3.71-12.6,7.85l-14.87,25.69L2.17,83.78c-3.19,7.33-2.74,13.04.57,20.22,10.14,15.49,18.74,32.7,27.92,49.18,4.09,7.32,8.26,14.49,12.76,21.31,4.34,6.59,8.85,10.63,17.13,11.32,27.96-1.83,58.72,2.3,86.35,0,8.04-.66,12.44-4.46,16.78-10.77,15.54-22.63,27.59-50.68,42.51-74,2.93-8.33,1.14-13.42-2.7-20.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 207.64 186.54'%3E%3Cpath d='M203.49,80.24c-12.68-24.37-28.86-48.33-42.4-72.33-3.47-3.97-8.94-6.7-14.2-7.14-28.31-2.37-60.11,1.69-88.77.25-4.91,1.47-9.48,3.71-12.6,7.85l-14.87,25.69L2.17,83.78c-3.19,7.33-2.74,13.04.57,20.22,10.14,15.49,18.74,32.7,27.92,49.18,4.09,7.32,8.26,14.49,12.76,21.31,4.34,6.59,8.85,10.63,17.13,11.32,27.96-1.83,58.72,2.3,86.35,0,8.04-.66,12.44-4.46,16.78-10.77,15.54-22.63,27.59-50.68,42.51-74,2.93-8.33,1.14-13.42-2.7-20.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Formulário: espaço entre os blocos */
.pp-form .ap-group { margin-top: 1.6rem; }
.pp-form .ap-group legend { margin-bottom: 0.65rem; }
.pp-form .ct-two > .ap-group { margin-top: 1.6rem; }
.pp-form .ap-group + .ct-two, .pp-form .ct-two + .ct-fld, .pp-form .ap-group + .ct-fld { margin-top: 1.4rem; }
.pp-form .ap-group .ct-err:empty { display: none; }
.pp-form .ct-consent { margin-top: 1.4rem; }
@media (prefers-reduced-motion: reduce) { .ap-path__kind--here i { animation: none; } }
.ct-err--box[hidden] { display: none; }
