/* ── Reset & Base ─────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: var(--accent-purple);
  --color-accent-hover: #3d8ee6;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --max-width: 1360px;
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page img {
  max-width: 100%;
  display: block;
}

/* ── Layout ───────────────────────────────────────────────────── */

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

/* ── Navigation ───────────────────────────────────────────────── */

.header {
  margin-bottom: var(--space-2xl);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 10;
  text-align: center;
  background-color: rgb(0 0 0 / 20%); /* 50% opaque black */
  background-color: hsl(0 0% 0% / 0.2); /* 50% opaque black */
  background-color: var(--accent-purple); /* Hex format: 80 equals 50% opacity */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__link {
  font-size: 16px;
  font-weight: 400;
  margin: 0 8px;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 0.6;
}

.nav__link--active {
  font-weight: 600;
}

/* Checkbox hack: controls the mobile menu without JS */
.nav__toggle-checkbox {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  margin-bottom: var(--space-lg);

}

.bg-hero{width: 100%; height: 330px;}

.bg-hero-push-sonora{background-image: url('ux-projetos/transportadora/push-sonora/hero.png'); background-size: cover; background-position: center; background-repeat: no-repeat;}
.bg-hero-filiais{background-image: url('ux-projetos/transportadora/dashboard-filiais/hero.png'); background-size: cover; background-position: center; background-repeat: no-repeat;}
.bg-hero-inspecao-petrobras{background-image: url('ux-projetos/petrobras/hero.png'); background-size: cover; background-position: center; background-repeat: no-repeat;}
.bg-hero-tesouraria{background-image: url('ux-projetos/tesouraria/hero.png'); background-size: cover; background-position: center; background-repeat: no-repeat;}
.bg-hero-adaptive-learning{background-image: url('ux-projetos/escola/adaptive-learning-ia/hero.png'); background-size: cover; background-position: center; background-repeat: no-repeat;}
.bg-hero-plataforma-material-academico{background-image: url('ux-projetos/escola/plataforma-material-academico/hero.png'); background-size: cover; background-position: center; background-repeat: no-repeat;}


.hero__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.hero__role {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.hero__company {
  color: var(--color-accent);
  font-weight: 500;
}

.hero__bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 600px;
}

.hero__bio strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ── Projects Grid ────────────────────────────────────────────── */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.project-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.project-card__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

.project-card__visual:hover{
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
  background-color: var(--accent-purple-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.project-card__info {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.project-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.project-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* -- Global ----------------------------------------------------- */

.blockquote{ color: #555; font-size: 20px; margin: 16px 0; font-weight: bold; width: 100%; text-align:  center;}
.list{ padding: 16px;}

/* -- Timeline flow-------------------- */

  .flow{border-left:2px solid var(--accent-purple-light);margin-left:11px;padding-left:32px;}
  .flow-item{position:relative;padding-bottom:34px;}
  .flow-item:last-child{padding-bottom:0;}
  .flow-item::before{
    content:'';position:absolute;left:-38px;top:2px;width:12px;height:12px;
    border-radius:50%;background:var(--accent-purple);border:3px solid var(--accent-purple);
  }  
  .flow-item::before{
    content:'';position:absolute;left:-38px;top:2px;width:12px;height:12px;
    border-radius:50%;background:var(--color-bg);border:2px solid var(--color-text);
  }
    .flow-item:first-child ::before{
    content:'';position:absolute;left:-38px;top:2px;width:12px;height:12px;
    border-radius:50%;background: var(--accent-purple);border:3px solid var(--accent-purple);
  }
  section.alt .flow-item::before{border-color:var(--accent-purple);}
  .flow-item h4{margin:0 0 6px;font-size:15.5px;font-weight:600;}
  .flow-item p{margin:0;font-size:14.5px;color:var(--accent-purple);}

  /* -- Table ---------------------------- */
  table{width:100%;border-collapse:collapse;margin-top:8px;font-size:16px;}
  th,td{text-align:left;padding:8px 0;border-bottom:1px solid var(--color-text);}
  th{font-size:16px;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text));}
  td.metric{font-weight:600;}
  td.arrow{color:var(--color-text);font-weight:600;}

/* ── About & Contact ──────────────────────────────────────────── */

.about,
.contact {
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

.topo{ 
  bottom: 0;
  right: 0;
  position: fixed;
  float: right;
  display: block;
  font-size: 20px;
  font-weight:  bold;
  padding:var(--space-sm);
  margin:6px;
  color: var(--accent-purple);
}
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.about__text,
.contact__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about__experience {
  list-style: none;
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.about__experience li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about__experience strong {
  color: var(--color-text);
  font-weight: 600;
}

.contact__link {
  color: blue;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact__link:hover {
  color: var(--color-accent-hover);
}

/* ── Footer ───────────────────────────────────────────────────── */

.footer {
  padding-top: var(--space-lg);
  border-top: 1px solid #eee;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {

  .bg-hero{width: 100%; height: 168px;}

  .page {
    padding: 80px 32px;
  }

  .header {
    margin-bottom: var(--space-xl);
  }

  .projects {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .hero {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .nav {
    justify-content: space-between;
    max-width: 100%;
    padding: 0 var(--space-md);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    background-color: #000000e6;
    transition: max-height 0.3s ease;
  }

  .nav__link {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__toggle-checkbox:checked ~ .nav__links {
    max-height: 320px;
  }

  .nav__toggle-checkbox:checked ~ .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle-checkbox:checked ~ .nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle-checkbox:checked ~ .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .nav__link {
    font-size: 0.875rem;
  }
}

/* ── Dashboard Filiais ──────────────────────────────────────────── */
:root {
   
  --accent-purple: #ff5500;
  --accent-purple-light: #fff2ed;
  --accent-purple: #7000ff;
  --accent-purple-light: #f4f0ff;
  --accent-green: #00b050;
  --accent-green-light: #eafaf1;
  --accent-blue: #2563eb;
  --accent-blue-light: #eef6ff;
  --accent-red: #e53935;
  
  --border-color: #e2e4e8;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
}

/* SECTION LAYOUT FOR CASE STUDY */
.case-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.section-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  padding: 16px 0 ;
}

@media (max-width: 900px) {
  .section-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.section-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: var(--space-md);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #fbeee8;
  color: var(--accent-purple);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-sidebar h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTION 01: CONTEXTO */
.context-desc {
  font-size: 1.05rem;
  color: var(--text-main);
}

.two-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.info-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.info-card li:last-child {
  margin-bottom: 0;
}

.info-card li::before {
  content: "•";
  color: var(--accent-purple);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* SECTION 02: DESCOBERTA */
.methodology-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

@media (max-width: 800px) {
  .methodology-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.method-step {
  padding: 20px;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-step.step-1 { background-color: var(--accent-purple-light); }
.method-step.step-2 { background-color: var(--accent-purple-light); }
.method-step.step-3 { background-color: var(--accent-green-light); }
.method-step.step-4 { background-color: var(--accent-blue-light); }

.step-icon {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.step-1 .step-icon { color: var(--accent-purple); }
.step-2 .step-icon { color: var(--accent-purple); }
.step-3 .step-icon { color: var(--accent-green); }
.step-4 .step-icon { color: var(--accent-blue); }

.method-step h4 {
  font-size: 1rem;
  font-weight: 700;
}

.method-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 650px) {
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.metric-card {
  border: 2px #efefef  solid;
  border-radius: var(--border-radius-md);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.78rem;
  color: #a0a5b1;
}

.banner-highlight {
  background: #fff8f5;
  border: 1px solid #ffd8c7;
  border-radius: var(--border-radius-lg);
  padding: 20px 24px;
}

.banner-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.banner-text {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* SECTION 03: JORNADA AS IS */
.sub-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: -12px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 1000px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

.journey-col {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--card-shadow);
}

.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f1f3;
  padding-bottom: 12px;
}

.step-num {
  background: #f0f1f3;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.severity-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.severity-tag.media { background: #fff8e6; color: #b7791f; }
.severity-tag.alta { background: #ffebee; color: var(--accent-red); }

.col-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.col-subtitle {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: -10px;
}

.col-group h5 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.col-group.acoes h5 { color: #555; }
.col-group.dores h5 { color: var(--accent-red); }
.col-group.oportunidades h5 { color: var(--accent-green); }

.col-group ul {
  list-style: none;
}

.col-group li {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  position: relative;
  padding-left: 12px;
  line-height: 1.35;
}

.col-group.acoes li::before { content: "›"; position: absolute; left: 0; color: #888; font-weight: bold; }
.col-group.dores li::before { content: "•"; position: absolute; left: 0; color: var(--accent-red); font-weight: bold; }
.col-group.oportunidades li::before { content: "✦"; position: absolute; left: 0; color: var(--accent-green); font-size: 0.7rem; top: 1px; }

.col-1 { border-top: 4px solid #ffb703; }
.col-2 { border-top: 4px solid #e63946; }
.col-3 { border-top: 4px solid #9d4edd; }
.col-4 { border-top: 4px solid #00b4d8; }
.col-5 { border-top: 4px solid #2a9d8f; }

/* SECTION 04: ABORDAGENS AVALIADAS */
.tabs-nav {
  display: flex;
  gap: 12px;
  background: #efefef;
  padding: 6px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 8px;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tab-btn .badge-pill {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

@media (max-width: 800px) {
  .tab-content.active {
    grid-template-columns: 1fr;
  }

  .topo{ 
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
  }
}

.main-alt-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.alt-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  width: fit-content;
}
.alt-badge { background: #111214; }

.main-alt-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.main-alt-card p.alt-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.alt-meta-group h5 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.alt-meta-group p {
  font-size: 0.95rem;
  font-weight: 600;
}

.tags-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  background: #f0f1f3;
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tag-pill.orange-light {
  background: #fff0eb;
  color: #d94100;
}

.pros-cons-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pros-card, .cons-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.pros-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.cons-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.pros-card ul, .cons-card ul {
  list-style: none;
}

.pros-card li, .cons-card li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.pros-card li:last-child, .cons-card li:last-child {
  margin-bottom: 0;
}

.pros-card li::before {
  content: "↑";
  color: var(--accent-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.cons-card li::before {
  content: "↓";
  color: var(--accent-red);
  font-weight: bold;
  position: absolute;
  left: 0;
}