/* Homepage: five viewport-sized chapters and a compact final CTA. */
.home .section{padding-block:clamp(3rem,5vw,4.75rem)}
.home .section-head{max-width:740px;margin:0 auto 2.25rem}
.home .section-head h2{font-size:clamp(2rem,3.3vw,2.8rem);line-height:1.12}
.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--brand-blue-950);color:#fff;text-align:left}
.hero-backdrop{position:absolute;inset:0;z-index:-2}
.hero-backdrop img{width:100%;height:100%;object-fit:cover;object-position:right top}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#062c3a 0%,rgba(6,44,58,.96) 27%,rgba(8,59,76,.76) 46%,rgba(8,59,76,.08) 70%,transparent 85%)}
.hero-inner{min-height:clamp(460px,calc(100svh - 340px),620px);display:flex;align-items:center;padding-block:2.5rem}
.hero-copy{width:51%;max-width:620px;text-align:left}
.hero h1{font-size:clamp(2.7rem,4.3vw,4.15rem);font-weight:800;line-height:1.06;letter-spacing:-.05em;max-width:16ch;margin:0 0 1.4rem;text-wrap:balance}
.hero .lead{color:#e0eef2;font-size:clamp(1rem,1.3vw,1.125rem);max-width:43ch;margin:0;line-height:1.65}
.hero .actions{justify-content:flex-start;gap:1.3rem;margin-top:1.8rem}
.hero .button{color:#fff;border-color:transparent}
.hero .button:hover{background:#60c99c;color:#062c3a}
.hero .text-link{color:#fff;font-size:.9rem}
.hero .text-link:hover{color:#b5eaf6}
.hero .trust-list{color:#d1e6ee;justify-content:flex-start;flex-wrap:wrap;gap:.6rem 1.5rem;margin:1.7rem 0 0;font-size:.72rem}
.hero .trust-list li:before{color:#6cdbac}
.path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.path-card{display:flex;flex-direction:column;text-align:left;padding:0;overflow:hidden;border-radius:var(--radius-lg);border:1px solid rgba(2,15,20,.14);transition:transform .2s,border-color .2s}
.path-card.dark{border-color:transparent}
.path-photo{width:100%;overflow:hidden;aspect-ratio:3/2}
.path-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
#veiculo-proprio .path-photo img{object-position:60% 45%}
#preciso-veiculo .path-photo img{object-position:50% 45%}
.path-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:1.5rem 1.75rem}
.path-card:hover,.path-card:has(:focus-visible){transform:translateY(-3px);border-color:var(--brand-blue);box-shadow:0 0 0 3px rgba(25,174,212,.25),0 24px 48px rgba(8,59,76,.22)}
.path-card:hover img{transform:scale(1.025)}
.path-card .text-link span{transition:transform .2s}
.path-card .text-link:hover span{transform:translateX(3px)}
.home .path-section{padding-block:1.75rem 2.75rem}
.home .path-section .section-head{max-width:900px;margin-bottom:3rem}
.path-section .eyebrow{margin-bottom:.4rem}
.home .path-section h2{font-size:clamp(1.8rem,3.1vw,2.7rem);margin:0 auto 2rem;max-width:32ch;text-wrap:balance}
.path-section h2 span{display:block}
.path-section .section-head>p:last-child{margin:0 auto;font-size:.92rem;max-width:65ch}
.process-timeline{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:2.5rem 0 0}
.process-timeline li{position:relative;text-align:center;padding:1.2rem .8rem 0}
.process-timeline li:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:#b9dce6}
.process-timeline li:first-child:before{left:50%}
.process-timeline li:last-child:before{right:50%}
.process-timeline li:after{content:"";position:absolute;width:12px;height:12px;top:-5px;left:calc(50% - 6px);border-radius:50%;background:var(--brand-green)}
.step-number{font-size:.75rem;color:var(--brand-blue-700);font-weight:800;letter-spacing:.1em}
.process-timeline h3{font-size:.95rem;line-height:1.4;margin:.3rem 0 0}
.path-card.dark{background:var(--brand-blue-900);color:#fff}
.path-card.light{background:var(--brand-blue-soft);color:var(--brand-blue-950)}
.path-card h3{font-size:1.7rem;letter-spacing:-.035em;line-height:1.2;margin:.8rem 0}
.path-card p{line-height:1.65;font-size:.95rem;margin:0}
.path-card.dark p,.path-card.dark li{color:#d8e9ef}
.path-details{list-style:none;padding:0;margin:1.25rem 0 1.6rem;font-size:.83rem}
.path-details li{display:flex;gap:.65rem;padding:.35rem 0}
.path-details li:before{content:'✓';color:var(--brand-green-hover);font-weight:800}
.path-card.dark li:before{color:#6cdbac}
.path-card .text-link{margin-top:auto;max-width:100%;font-size:.9rem}
.path-card.dark .text-link:hover{color:#86d9eb}
/* Porquê UrbanGO + Confiança verificável fundidas numa só secção: foto a toda a altura à
   esquerda, todo o texto (sem repetições) numa única coluna à direita. */
.home .benefits{background:var(--brand-blue-950);color:#fff;padding-block:0}
.proof-inner{display:grid;grid-template-columns:52% 48%;align-items:stretch;gap:0;width:100%;max-width:none;min-height:560px}
.proof-media{min-height:560px;overflow:hidden;border-radius:0}
.proof-media img{width:100%;height:100%;object-fit:cover;object-position:60% center}
.proof-copy{text-align:left;padding:clamp(2rem,4vw,4rem);align-self:center}
.proof-copy .eyebrow{color:#8cdeee}
.proof-copy h2{font-size:clamp(2rem,3vw,2.6rem);letter-spacing:-.045em;line-height:1.12;margin:.5rem 0 1rem;max-width:20ch}
.proof-copy h3{font-size:1.5rem;letter-spacing:-.03em;line-height:1.2;margin:.3rem 0 1rem;max-width:24ch}
.trust-lead{color:#b9c8d4;font-size:.95rem;line-height:1.6;margin:0 0 1.75rem;max-width:52ch}
.trust-list-detailed{list-style:none;margin:0 0 2rem;padding:0;display:flex;flex-direction:column}
.trust-list-detailed li{display:flex;gap:1rem;align-items:flex-start;padding:1.1rem 0;border-top:1px solid #355b69}
.trust-list-detailed li:first-child{border-top:0;padding-top:0}
.trust-list-detailed li>span{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--brand-blue-800);color:#89def0}
.trust-list-detailed h3{font-size:1.05rem;margin:0 0 .35rem}
.trust-list-detailed p{margin:0;font-size:.87rem;line-height:1.6;color:#d5e6ec}
.proof-copy .trust-list-detailed+.eyebrow{padding-top:1.75rem;border-top:1px solid #355b69}
.proof-points{display:grid;grid-template-columns:1fr}
.proof-points p{display:grid;gap:.2rem;margin:0;padding:1rem 0 0}
.proof-points strong{font-size:1.2rem;color:#6cdbac}
.proof-points span{font-size:.9rem;color:#d9eaf0}
.home .final-cta{padding-block:3rem;background:var(--brand-green-soft)}
.home .final-inner{text-align:left;align-items:center;gap:2rem}
.home .final-inner h2{font-size:clamp(1.9rem,3vw,2.6rem);line-height:1.1}
.home .final-inner p{font-size:.94rem}
.home .final-inner .eyebrow{font-size:.7rem}
.home .final-inner .actions{flex:0 0 auto;margin:0;justify-content:flex-end}
.home .final-inner .button{width:auto;font-size:.85rem}
@media(min-width:901px) and (max-height:800px){.hero h1{font-size:clamp(2.65rem,4vw,3.6rem)}.hero-inner{min-height:520px;padding-block:2rem}.hero .actions{margin-top:1.4rem}.hero .trust-list{margin-top:1.3rem}}
@media(min-width:1600px){.hero:after{background:linear-gradient(90deg,#062c3a 0%,rgba(6,44,58,.95) 32%,rgba(8,59,76,.7) 46%,rgba(8,59,76,.08) 70%,transparent 85%)}}
@media(max-width:1100px){.hero-inner{min-height:500px}.hero-copy{width:53%}.hero h1{font-size:clamp(2.65rem,4.8vw,3.4rem)}.hero .trust-list{display:grid;gap:.5rem}.home .final-inner{flex-direction:column;text-align:center;gap:1.3rem}.home .final-inner .actions{justify-content:center}}
@media(max-width:800px){.hero .actions{gap:1rem}.proof-inner{grid-template-columns:1fr;gap:0;min-height:0}.proof-copy{padding:2rem}.proof-copy h3{max-width:26ch}.proof-media{height:auto;min-height:0;aspect-ratio:4/3}.path-grid{gap:1rem}.path-body{padding:1.3rem}.process-timeline{grid-template-columns:1fr;margin-top:2rem}.process-timeline li{text-align:left;padding:0 0 1.5rem 2rem}.process-timeline li:before,.process-timeline li:first-child:before,.process-timeline li:last-child:before{left:5px;top:8px;bottom:0;width:2px;height:auto;right:auto}.process-timeline li:last-child:before{display:none}.process-timeline li:after{left:0;top:7px}.process-timeline li:last-child{padding-bottom:0}}
@media(max-width:900px){.hero-inner{min-height:0;padding-top:2.3rem;padding-bottom:300px}.hero-copy{width:100%;max-width:620px}.hero h1{font-size:clamp(2rem,5.5vw,3.1rem);max-width:20ch}.hero-backdrop{top:auto;height:320px}.hero-backdrop img{object-position:70% center}.hero:after{background:linear-gradient(180deg,#062c3a 0%,#062c3a calc(100% - 325px),rgba(6,44,58,.6) calc(100% - 290px),transparent calc(100% - 220px))}}
@media(max-width:600px){.hero-inner{padding-bottom:280px}.hero-copy{max-width:none}.hero h1{font-size:clamp(2rem,8vw,2.7rem);max-width:18ch}.hero .lead{font-size:1rem;max-width:38ch}.hero .actions{margin-top:1.4rem;gap:1rem}.hero .button{font-size:.85rem}.hero .trust-list{align-items:flex-start;margin-top:1.2rem;font-size:.68rem}.hero-backdrop{height:300px}.hero:after{background:linear-gradient(180deg,#062c3a 0%,#062c3a calc(100% - 305px),rgba(6,44,58,.6) calc(100% - 270px),transparent calc(100% - 200px))}.path-grid{grid-template-columns:1fr}.home .path-section h2{font-size:clamp(1.75rem,6.4vw,2.1rem);max-width:24ch}.path-section h2 span{display:inline}.home .section-head{margin-bottom:1.5rem}.home .final-inner .actions{flex-direction:column;gap:.75rem;width:100%}.home .final-inner .button{max-width:100%;min-width:210px}.home .final-cta{padding-block:2.5rem}}
@media(max-width:600px){.home .path-section h2{font-size:clamp(1.5rem,6.4vw,2.1rem)}.path-section h2 span{display:block}}
@media(max-width:900px){.hero-inner{padding-bottom:340px}}
@media(max-width:600px){.hero-inner{padding-bottom:320px}}
@media(min-width:901px) and (max-height:800px){.home .path-section{padding-top:20px}.home .path-section .eyebrow{margin-bottom:4px}.home .path-section h2{font-size:clamp(2rem,2.5vw,2.25rem);margin-bottom:20px}.home .path-section .section-head{margin-bottom:28px}}
@media(prefers-reduced-motion:reduce){.path-card,.path-photo img,.path-card .text-link span{transition:none}.path-card:hover,.path-card:has(:focus-visible),.path-card:hover img,.path-card .text-link:hover span{transform:none}}

/* Minimum viewport, never fixed height: long content grows naturally. */
.home{--header-height:77px;--chapter-height:calc(100svh - var(--header-height))}
/* Exceção deliberada: o hero NÃO segue o padrão de capítulo em ecrã inteiro, para que
   o utilizador veja o hero completo e o início do título de "Como funciona" na mesma dobra. */
.home .path-section,.home .modalities{min-height:var(--chapter-height);display:flex;align-items:center;padding-block:clamp(1.5rem,3vw,2.5rem) clamp(2rem,4vw,3rem)}
/* Como funciona + Modalidades partilham o mesmo azul muito claro: são informação complementar, sem quebra visível entre elas. */
.home .path-section{background:#edf6f8}
.home .benefits{min-height:var(--chapter-height)}
.home .proof-inner{min-height:var(--chapter-height)}
.proof-media{position:relative;min-height:0}
.proof-media img{position:absolute;inset:0;display:block}
.proof-copy{max-width:660px;width:100%;justify-self:center}
/* Repouso: borda suave preta e sombra iguais nos dois cards. Hover/foco por teclado replicam
   a mesma borda de seleção (azul) em ambos, escuro e claro, sem distinção entre eles. */
.path-card{transition:transform .2s,border-color .2s,box-shadow .2s;box-shadow:0 16px 40px rgba(4,20,28,.16)}
.path-card h3{margin-top:0}
.path-card a:focus-visible{outline:2px solid currentColor;outline-offset:6px;border-radius:2px}
.modalities{background:#edf6f8}
.modality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.modality-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:2rem 1.5rem;background:#fff;border:1px solid #cce4ea;border-radius:var(--radius-lg);transition:transform .2s,border-color .2s,box-shadow .2s}
.modality-card:hover,.modality-card:has(:focus-visible){transform:translateY(-4px);border-color:var(--brand-blue);box-shadow:0 20px 44px rgba(8,59,76,.16)}
.modality-card:hover svg,.modality-card:has(:focus-visible) svg{stroke:var(--brand-green-hover)}
.modality-card:hover a,.modality-card:has(:focus-visible) a{color:var(--brand-blue)}
.modality-card a{transition:color .2s}
.modality-card a:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}
.modality-card svg{fill:none;stroke:var(--brand-blue-700);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:1.25rem;transition:stroke .2s}
@media(prefers-reduced-motion:reduce){.modality-card{transition:none}.modality-card:hover,.modality-card:has(:focus-visible){transform:none}}
.modality-card .modality-platform{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-blue-700);margin:0 0 .6rem}
.modality-card h3{font-size:1.55rem;line-height:1.2;margin:0 0 1rem;color:var(--brand-blue-950)}
.modality-card p{font-size:.93rem;line-height:1.7;margin:0 0 1.5rem}
.modality-card a{font-size:.85rem;font-weight:700;text-decoration:underline;text-underline-offset:4px;margin-top:auto;color:var(--brand-blue-900)}
.modality-note{max-width:84ch;margin:1.5rem auto 0;text-align:center;font-size:.8rem;line-height:1.7}
.modality-cta{text-align:center;margin-top:2rem}
.modality-cta h3{font-size:1.4rem;margin:0 0 1rem}
.modality-cta .button{max-width:100%;white-space:normal;justify-content:center;text-align:center}
.modality-cta p{font-size:.8rem;margin:1rem auto 0;max-width:65ch}
@media(max-width:1100px){.modality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.proof-media{aspect-ratio:4/3}.home .proof-inner{grid-template-rows:auto 1fr}.proof-copy{align-self:center}}
@media(max-width:640px){.home{--header-height:75px}.modality-grid{grid-template-columns:1fr;gap:1rem}.modality-card{padding:1.5rem}.modality-cta .button{font-size:.84rem}.home .path-section,.home .modalities{padding-block:3rem 2rem}}
