/* ==========================================================================
   Página institucional "O Rota 92" (/o-rota-92/)
   Reutiliza tokens, .wrap, .eyebrow, .btn, .stat e .review-card do main.css.
   Ritmo: escuro (hero) > claro > escuro > claro > escuro > claro > escuro > claro > escuro (CTA)
   ========================================================================== */
.org section { position: relative; scroll-margin-top: 90px; }
.org h1, .org h2 { color: var(--c-black); }
.org .hl { color: var(--c-amber); }
.org h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 22px; }
.org ol { list-style: none; }
.org-history h2, .org-structure h2, .org-everyone h2, .org-tech h2 { font-size: clamp(26px, 2.9vw, 38px); }
.org p { font-size: 17px; line-height: 1.7; }
.org p a, .org-checks a { transition: color 0.2s ease; }
.org p a { text-decoration: underline; text-decoration-color: rgba(254, 190, 14, 0.8); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.org a:focus-visible, .org .btn:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- 01 · Hero (abertura institucional) ----------
   O header é fixo e transparente: o Hero começa DEPOIS dele (padding-top = altura do header),
   com a foto ocupando só a área abaixo e o conteúdo com respiro próprio. */
.org-hero { --org-hdr: 92px; display: flex; align-items: flex-start; min-height: calc(var(--org-hdr) + clamp(600px, 72vh, 680px)); padding-top: var(--org-hdr); background: #050505; overflow: hidden; }
.org-hero__bg { position: absolute; left: 0; right: 0; bottom: 0; top: var(--org-hdr); width: 100%; height: calc(100% - var(--org-hdr)); object-fit: cover; object-position: 60% 54%; }
.org-hero__shade { position: absolute; left: 0; right: 0; bottom: 0; top: var(--org-hdr); background: linear-gradient(90deg, rgba(5,5,5,0.94) 0%, rgba(5,5,5,0.82) 25%, rgba(5,5,5,0.55) 43%, rgba(5,5,5,0.24) 60%, rgba(5,5,5,0.06) 78%, rgba(5,5,5,0) 100%); }
.org-hero__inner { position: relative; width: 100%; padding-top: 88px; padding-bottom: 88px; }
.org-hero__content { max-width: 760px; }
.org .org-hero h1 { color: #fff; font-size: clamp(48px, 4.1vw, 68px); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 30px; }
.org .org-hero__lead { color: rgba(255,255,255,0.84); font-size: 18px; max-width: 560px; margin: 0; }

/* ---------- 02 · Nossa história (claro) ---------- */
.org-history { background: #fff; padding: 120px 0; }
.org-history__grid { display: grid; grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr); gap: 72px; align-items: center; }
.org-history__text p { max-width: 56ch; }
.org-history__media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(10,10,10,0.5); aspect-ratio: 4 / 5; background: var(--c-gray-200); }
.org-history__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.org-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 44px 0 0; padding: 0; counter-reset: none; position: relative; }
.org-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 2px; background: var(--c-gray-200); }
.org-timeline li { position: relative; padding-right: 16px; }
.org-timeline__step { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gray-600); margin-bottom: 14px; }
.org-pill { position: relative; display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--c-amber); color: #000; font-family: var(--font-display); font-size: 17px; line-height: 1; margin-bottom: 14px; }
.org-timeline strong { display: block; font-size: 15px; line-height: 1.4; color: var(--c-black); max-width: 18ch; }

/* ---------- 03 · Nosso jeito de trabalhar (escuro) ---------- */
.org-process { background: var(--c-black); padding: 120px 0; overflow: hidden; }
.org-process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(254,190,14,0.1), transparent 70%); }
.org-process__head { position: relative; max-width: 980px; margin-bottom: 60px; }
.org .org-process h2 { color: #fff; }
.org-process__head p { color: rgba(255,255,255,0.72); margin: 0; }
.org-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; }
.org-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--c-amber), rgba(254,190,14,0.25)); }
.org-step { position: relative; padding: 0 22px 0 0; }
.org-step__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-amber); color: #000; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--c-black); }
.org-step__icon svg { width: 26px; height: 26px; }
.org-step__num { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; color: var(--c-amber); margin-bottom: 8px; }
.org .org-step h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.org .org-step p { color: rgba(255,255,255,0.68); font-size: 15px; line-height: 1.65; margin: 0; }

/* ---------- 04 · Nossa estrutura (claro) ---------- */
.org-structure { background: var(--c-gray-100); padding: 120px 0; }
.org-structure__grid { display: grid; grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr); gap: 72px; align-items: center; }
.org-structure__media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(10,10,10,0.45); background: #111; }
.org-structure__media img { width: 100%; height: auto; object-fit: cover; }
.org-structure__text p { max-width: 50ch; }
.org-checks { margin: 28px 0 0; display: grid; gap: 14px; }
.org-checks li { position: relative; padding-left: 38px; font-weight: 600; color: var(--c-black); font-size: 17px; line-height: 1.45; }
.org-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.org-checks a { background-image: linear-gradient(var(--c-amber), var(--c-amber)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.25s ease; padding-bottom: 2px; }
.org-checks a:hover { background-size: 100% 2px; }

/* ---------- 05 · Tecnologia e capacitação (escuro) ---------- */
.org-tech { background: #050505; padding: 120px 0; overflow: hidden; }
.org-tech::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 45% 70% at 90% 60%, rgba(254,190,14,0.13), transparent 70%); }
.org-tech__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr); gap: 72px; align-items: center; }
.org .org-tech h2 { color: #fff; }
.org-tech__text p { color: rgba(255,255,255,0.74); max-width: 54ch; }
.org .org-tech__text p a { color: #fff; }
.org-tech__panel { display: grid; grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); gap: 24px; align-items: stretch; }
.org-tech__frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(254,190,14,0.35); background: #0f0f0f; }
.org-tech__frame img { width: 100%; height: 100%; object-fit: cover; }
.org-tech__tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--c-amber); color: #000; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.org-tech__specs { display: grid; gap: 14px; align-content: center; }
.org-tech__specs li { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.org-tech__specs strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--c-amber); margin-bottom: 6px; }
.org-tech__specs span { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.45; display: block; }

/* ---------- 06 · Centro automotivo para todo mundo (claro) ---------- */
.org-everyone { background: #fff; padding: 120px 0; }
.org-everyone__grid { display: grid; grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr); gap: 72px; align-items: center; }
.org-everyone__text p { max-width: 54ch; }
.org-everyone__media { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -28px rgba(10,10,10,0.5); background: var(--c-gray-200); }
.org-everyone__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---------- 07 · Em números (escuro) ---------- */
.org-numbers { background: var(--c-black); padding: 100px 0; }
.org-numbers__head { margin-bottom: 52px; }
.org .org-numbers h2 { color: #fff; margin: 0; }
.org-numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: left; }
.org-numbers .stat { padding: 8px 28px; border-left: 1px solid rgba(255,255,255,0.14); }
.org-numbers .stat:first-child { padding-left: 0; border-left: 0; }
.org-numbers .stat__number { font-size: clamp(44px, 5.4vw, 76px); }
.org-numbers .stat__label { margin-left: 0; margin-right: 0; max-width: 22ch; }

/* ---------- 08 · Prova social (claro) ---------- */
.org-proof { background: var(--c-gray-100); padding: 120px 0; }
.org-proof .reviews__grid { margin-top: 44px; }
.org-proof__head h2 { margin: 0; }

/* ---------- 09 · CTA final ---------- */
.org-cta { background: #000; padding: 120px 0; overflow: hidden; min-height: 460px; display: flex; align-items: center; }
.org-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.org-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.82) 36%, rgba(0,0,0,0.2) 78%, rgba(0,0,0,0.05) 100%); }
.org-cta__inner { position: relative; z-index: 1; width: 100%; }
.org-cta__content { max-width: 620px; }
.org-cta .hl { white-space: nowrap; }
.org .org-cta h2 { color: #fff; font-size: clamp(34px, 4.6vw, 62px); }
.org .org-cta p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.org .org-cta p a { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.org-steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
	.org-steps::before { display: none; }
	.org-numbers .stat { padding: 8px 20px; }
}
@media (max-width: 980px) {
	.org-history, .org-process, .org-structure, .org-tech, .org-everyone, .org-proof { padding: 88px 0; }
	.org-numbers { padding: 80px 0; }
	.org-history__grid, .org-structure__grid, .org-tech__grid, .org-everyone__grid { grid-template-columns: 1fr; gap: 44px; }
	.org-history__media { aspect-ratio: 4 / 3; max-width: 640px; }
	.org-structure__media { order: 2; }
	.org-structure__text { order: 1; }
	.org-everyone__media { max-width: 640px; }
	.org-numbers__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.org-numbers .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
	.org-proof .reviews__grid { grid-template-columns: 1fr; }
	.org-cta { padding: 96px 0; }
}

/* ---------- Mobile: foto inteira logo abaixo do header, texto em fundo escuro ---------- */
@media (max-width: 760px) {
	.org-hero { display: block; min-height: 0; }
	.org-hero__bg { position: relative; top: auto; left: auto; right: auto; bottom: auto; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: 60% 60%; }
	.org-hero__shade { top: var(--org-hdr); bottom: auto; height: 66.7vw; background: linear-gradient(180deg, rgba(5,5,5,0) 70%, #050505 100%); }
	.org-hero__inner { padding-top: 44px; padding-bottom: 64px; }
	.org-hero__content { max-width: none; }
	.org .org-hero h1 { font-size: clamp(34px, 9.6vw, 50px); margin-bottom: 26px; }
	.org .org-hero__lead { font-size: 16px; }
}
@media (max-width: 620px) {
	.org-hero { --org-hdr: 74px; }
	.org p { font-size: 16px; }
	.org-history, .org-process, .org-structure, .org-tech, .org-everyone, .org-proof { padding: 68px 0; }
	.org-numbers { padding: 64px 0; }
	.org-process__head { margin-bottom: 40px; }

	/* timeline da história vira vertical */
	.org-timeline { grid-template-columns: 1fr; gap: 0; margin-top: 34px; }
	.org-timeline::before { left: 19px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
	.org-timeline li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 0 0 22px; }
	.org-timeline li:last-child { padding-bottom: 0; }
	.org-timeline__step { display: none; }
	.org-pill { grid-column: 2; justify-self: start; margin: 0 0 6px; }
	.org-timeline strong { grid-column: 2; max-width: none; }
	.org-timeline li::before { content: ""; grid-column: 1; grid-row: 1 / span 2; justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 0 5px #fff; position: relative; z-index: 1; }

	/* processo vira timeline vertical */
	.org-steps { grid-template-columns: 1fr; row-gap: 0; }
	.org-steps::before { display: block; left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--c-amber), rgba(254,190,14,0.25)); }
	.org-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0 0 34px; }
	.org-step:last-child { padding-bottom: 0; }
	.org-step__icon { grid-row: 1 / span 3; margin: 0; }
	.org-step__num { margin-bottom: 4px; }
	.org .org-step h3 { margin-bottom: 6px; }

	.org-tech__panel { grid-template-columns: 1fr; }
	.org-tech__frame { max-width: 320px; }
	.org-numbers__grid { grid-template-columns: 1fr 1fr; }
	.org-numbers .stat { padding: 8px 14px; }
	.org-cta { padding: 72px 0; min-height: 0; }
	.org-cta::after { background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.5) 100%); }
	.org-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.org .reveal { opacity: 1; transform: none; transition: none; }
	.org-checks a { transition: none; }
}
