/* =========================================================
   HOME
========================================================= */

.page-canal-etica {
  background: var(--bg);
}

/* =========================================================
   HERO
========================================================= */

.home-hero {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 64px;
  align-items: center;
}

.home-hero-copy h1 {
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: .96;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.06em;
  color: #fff;
  margin-bottom: 20px;
  max-width: 640px;
}

.home-hero-copy h1 strong {
  color: var(--teal);
}

.home-hero-copy > p {
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, .72);
  max-width: 530px;
  margin-bottom: 28px;
}

.home-trust {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 750;
  color: rgba(255, 255, 255, .82);
}

.home-trust-item::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(88, 191, 199, .22);
  border: 1px solid rgba(88, 191, 199, .5);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.home-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* =========================================================
   CARDS DE MANIFESTAÇÃO
========================================================= */

.home-option-cards {
  display: grid;
  gap: 12px;
}

.home-option-card {
  background: rgba(255, 255, 255, .075);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  padding: 20px 22px;
  cursor: pointer;
  transition: .22s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.home-option-card:hover {
  background: rgba(255, 255, 255, .13);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.home-option-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.home-option-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-option-icon.denuncia {
  background: rgba(231, 76, 60, .2);
  color: #FF8070;
}

.home-option-icon.duvida {
  background: rgba(88, 191, 199, .22);
  color: var(--teal);
}

.home-option-icon.sugestao {
  background: rgba(39, 174, 96, .2);
  color: #4AD98A;
}

.home-option-icon.elogio {
  background: rgba(243, 156, 18, .2);
  color: #FFD060;
}

.home-option-card h3 {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 3px;
}

.home-option-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.5;
}

.home-option-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, .38);
  font-size: 20px;
  font-weight: 800;
  transition: .2s ease;
}

.home-option-card:hover .home-option-arrow {
  color: var(--teal);
  transform: translateX(2px);
}

/* =========================================================
   O QUE GARANTE
========================================================= */

.home-why {
  padding: 80px 0;
  background: #fff;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-why-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  transition: .22s ease;
}

.home-why-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.home-why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.home-why-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-why-icon.green {
  background: var(--green-soft);
}

.home-why-icon.green svg {
  stroke: var(--green);
}

.home-why-icon.teal {
  background: var(--teal-soft);
}

.home-why-icon.teal svg {
  stroke: var(--teal-dk);
}

.home-why-icon.amber {
  background: var(--amber-soft);
}

.home-why-icon.amber svg {
  stroke: var(--amber);
}

.home-why-icon.purple {
  background: var(--purple-soft);
}

.home-why-icon.purple svg {
  stroke: var(--purple);
}

.home-why-card h3 {
  font-size: 15px;
  font-weight: 850;
  margin-bottom: 8px;
  line-height: 1.3;
}

.home-why-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--body);
}

/* =========================================================
   TIPOS DE RELATO
========================================================= */

.home-types {
  padding: 80px 0;
  background: var(--bg);
}

.home-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-type-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-light);
}

.home-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.home-type-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-type-icon.red {
  background: var(--red-soft);
  color: var(--red);
}

.home-type-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.home-type-icon.teal {
  background: var(--teal-soft);
  color: var(--teal-dk);
}

.home-type-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.home-type-icon.purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.home-type-icon.muted {
  background: var(--bg);
  color: var(--muted);
}

.home-type-item h4 {
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 5px;
  color: var(--text);
}

.home-type-item p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--body);
}

/* =========================================================
   COMO FUNCIONA
========================================================= */

.home-how {
  padding: 80px 0;
  background: #fff;
}

.home-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.home-how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.home-how-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.home-how-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 18px;
  font-weight: 900;
  color: var(--teal);
  box-shadow: 0 0 0 6px #fff;
}

.home-how-step h3 {
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 8px;
  color: var(--text);
}

.home-how-step p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--body);
}

/* =========================================================
   ACOMPANHAR PROTOCOLO
========================================================= */

.home-track {
  padding: 80px 0;
  background: var(--navy);
}

.home-track-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.home-track-copy h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.06;
}

.home-track-copy h2 strong {
  color: var(--teal);
}

.home-track-copy p {
  font-size: 15px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.75;
}

.home-track-form {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  padding: 30px;
}

.home-track-form h3 {
  font-size: 16px;
  font-weight: 850;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.home-track-form p {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
  line-height: 1.55;
}

.home-track-input {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: var(--pill);
  padding: 5px 5px 5px 18px;
  align-items: center;
}

.home-track-input input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.home-track-input input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.home-track-input .btn {
  height: 38px;
  padding: 0 18px;
  font-size: 11px;
  flex-shrink: 0;
}

/* =========================================================
   QR CODE
========================================================= */

.home-qr {
  padding: 80px 0;
  background: #fff;
}

.home-qr-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.home-qr-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1;
}

.home-qr-copy h2 strong {
  color: var(--teal);
}

.home-qr-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  max-width: 480px;
}

.home-qr-copy .btn {
  margin-top: 28px;
}

.home-qr-card {
  background: var(--navy-dk);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  flex-shrink: 0;
  width: 280px;
}

.home-qr-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 20px;
}

.home-qr-canvas {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  display: inline-block;
  margin-bottom: 18px;
}

.home-qr-canvas canvas,
.home-qr-canvas img {
  display: block;
}

.home-qr-url {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
  word-break: break-all;
  margin-bottom: 10px;
}

.home-qr-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.5;
}

/* =========================================================
   FAQ
========================================================= */

.home-faq {
  padding: 80px 0;
  background: var(--bg);
}

.home-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.home-faq-item {
  border-bottom: 1px solid var(--line);
}

.home-faq-item:first-child {
  border-top: 1px solid var(--line);
}

.home-faq-btn {
  width: 100%;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 19px 0;
  cursor: pointer;
}

.home-faq-q {
  font-size: 15px;
  font-weight: 850;
  color: var(--text);
}

.home-faq-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-weight: 900;
  flex: 0 0 auto;
  font-size: 16px;
  transition: .2s ease;
}

.home-faq-item.open .home-faq-ic {
  background: var(--teal);
  color: #fff;
  transform: rotate(45deg);
}

.home-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.home-faq-answer-inner {
  font-size: 14px;
  line-height: 1.8;
  color: var(--body);
  padding: 0 36px 18px 0;
}

/* =========================================================
   PRINT
========================================================= */

@media print {
  .main-header,
  .home-hero,
  .home-why,
  .home-types,
  .home-how,
  .home-track,
  .home-faq,
  .main-footer {
    display: none !important;
  }

  .home-qr {
    display: block !important;
    padding: 0;
  }

  .home-qr-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .home-qr-copy {
    display: none;
  }

  .home-qr-card {
    background: #fff;
    border: 2px solid #12336B;
    width: 300px;
    padding: 28px;
  }

  .home-qr-label {
    color: #12336B;
    font-size: 12px;
  }

  .home-qr-url {
    color: #54697F;
  }

  .home-qr-hint {
    color: #8395A6;
    font-size: 12px;
  }
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 960px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-types-grid {
    grid-template-columns: 1fr;
  }

  .home-how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .home-how-steps::before {
    display: none;
  }

  .home-how-num {
    box-shadow: none;
  }

  .home-track-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-qr-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-qr-copy p {
    max-width: 100%;
    margin: 0 auto;
  }

  .home-qr-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .home-hero-inner {
    padding: 52px 0;
  }

  .home-hero-copy h1 {
    font-size: 34px;
  }

  .home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-actions .btn {
    width: 100%;
  }

  .home-why-grid,
  .home-types-grid {
    grid-template-columns: 1fr;
  }

  .home-how-steps {
    grid-template-columns: 1fr;
  }

  .home-track-input {
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
  }

  .home-track-input input {
    width: 100%;
    text-align: center;
    height: 38px;
  }

  .home-track-input .btn {
    width: 100%;
  }
}