/* ==========================================================================
   VORA — Internal page layout (Clientes / Motoristas / Empresas)
   Reuses the shared tokens from base.css.
   ========================================================================== */

/* ---------- Sub-hero ---------- */
.subhero {
  background-color: var(--bg-white);
  padding-top: 143px; /* clear the fixed header */
}

.subhero__wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 30px 90px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.subhero__content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.subhero__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  background-color: var(--bg-beige);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
}

.subhero__title {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.subhero__lead {
  font-size: 20px;
  line-height: 1.35;
  color: var(--text-secondary);
  max-width: 46ch;
}

.subhero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.subhero__media {
  flex: 1 1 0;
  align-self: stretch;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.subhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Panels: "Já disponível" + "Em estruturação" ---------- */
.panels {
  background-color: var(--bg-beige);
  padding: 100px 0;
}

.panels__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Single full-width panel (constrained + centered) */
.panels__inner--single {
  grid-template-columns: 1fr;
  max-width: 940px;
}

/* Three columns (e.g. the pillars on the Sobre page) */
.panels__inner--three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .panels__inner--three {
    grid-template-columns: 1fr;
  }
}

/* Two-column list so a single wide panel doesn't look sparse */
.panel__list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

@media (max-width: 640px) {
  .panel__list--cols {
    grid-template-columns: 1fr;
  }
}

.panel {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel--soon {
  background-color: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(0, 1, 73, 0.12);
}

.panel__label {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.panel__label--live {
  background-color: var(--color-blue);
  color: #fff;
}

.panel__label--soon {
  background-color: var(--color-sky);
  color: var(--color-navy);
}

.panel__title {
  font-size: 26px;
  font-weight: 600;
}

.panel__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel__list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.panel--soon .panel__list li::before {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--color-sky);
}

.panel__note {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Diferencial (navy band) ---------- */
.diff {
  background: var(--gradient-brand);
  color: #fff;
  padding: 100px 0;
}

.diff__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.diff__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-sky);
}

.diff__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
}

.diff__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

.diff__text {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
}

/* Light variant of the diff band (list of services on mist background) */
.diff--light {
  background: var(--bg-beige);
}

.diff--light .diff__label {
  color: var(--color-blue);
}

.diff--light .diff__label::before {
  background: var(--color-blue);
}

.diff--light .diff__title {
  color: var(--text-primary);
}

.diff__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}

.diff__list li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.diff__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- FAQ (motoristas) ---------- */
.faq {
  background-color: var(--bg-white);
  padding: 100px 0;
}

.faq__inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 30px;
}

.faq__title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 40px;
}

.faq__item {
  border-bottom: 1px dashed rgba(74, 79, 106, 0.3);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
  color: var(--color-blue);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* ---------- Page CTA ---------- */
.page-cta {
  background-color: var(--bg-beige);
  padding: 100px 0 120px;
}

.page-cta__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 30px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-cta__title {
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}

.page-cta__text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
}

.page-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.page-cta .btn--primary {
  background-color: #fff;
  color: var(--color-navy);
}

.page-cta .btn--link {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}

.page-cta .btn--link:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .subhero__wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 40px 24px 70px;
  }
  .subhero__title { font-size: 40px; }
  .subhero__media { min-height: 320px; }
  .panels__inner { grid-template-columns: 1fr; }
  .diff__title { font-size: 28px; }
}

@media (max-width: 768px) {
  .subhero { padding-top: 15px; }
  .subhero__wrap { padding: 28px 20px 48px; gap: 28px; }
  .subhero__title { font-size: 32px; }
  .panels { padding: 52px 0; }
  .panels__inner { gap: 16px; }
  .panel { padding: 28px; gap: 20px; }
  .diff { padding: 56px 0; }
  .diff__inner { gap: 18px; }
  .diff__title { font-size: 26px; }
  .faq { padding: 56px 0; }
  .faq__title { font-size: 26px; margin-bottom: 28px; }
  .page-cta { padding: 52px 0 64px; }
  .page-cta__inner { padding: 40px 24px; }
  .page-cta__title { font-size: 26px; }
}

@media (max-width: 560px) {
  .subhero__title { font-size: 28px; }
  .panel { padding: 24px; }
}

/* ---------- Legal pages (Privacidade / Termos) ---------- */
.legal {
  background-color: var(--bg-white);
}

.legal__wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  /* top padding clears the fixed header; all spacing lives here */
  padding: 60px 30px 100px;
}

.legal__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  background-color: var(--bg-beige);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
}

.legal__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  margin: 20px 0 10px;
}

.legal__updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal__wrap h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 12px;
}

.legal__wrap p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal__wrap ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal__wrap li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.legal__wrap a {
  color: var(--color-blue);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal__wrap { padding: 40px 20px 72px; }
  .legal__title { font-size: 30px; }
}
