/* Centro de Assistência — Contacte-nos estilo Netflix */
html:has(body.page-contactus-flow) {
  background: #fff;
}

.page-contactus-flow {
  --cu-red: #e50914;
  --cu-red-hover: #f40612;
  --cu-text: #000;
  --cu-muted: #737373;
  --cu-border: #e6e6e6;
  --cu-content-width: 42.5rem;
  background: #fff !important;
  color: var(--cu-text);
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-contactus-flow #siteHeader,
.page-contactus-flow > footer,
.page-contactus-flow footer.footer,
.page-contactus-flow footer.footer-default,
.page-contactus-flow .skip-to-main {
  display: none !important;
}

body.custom-header-relative.page-contactus-flow .main-content,
.page-contactus-flow .main-content {
  padding-top: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff !important;
}

.cu-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.cu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 4.25rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: #000;
  color: #fff;
}

.cu-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.cu-logo {
  color: var(--cu-red);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.cu-header-sep {
  width: 1px;
  height: 1.35rem;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.cu-header-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.cu-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.cu-btn--outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.cu-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cu-btn--primary {
  border: 1px solid var(--cu-red);
  background: var(--cu-red);
  color: #fff;
}

.cu-btn--primary:hover {
  background: var(--cu-red-hover);
  border-color: var(--cu-red-hover);
  color: #fff;
}

.cu-main {
  flex: 1;
  background: #fff;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.cu-main-inner {
  width: 100%;
  max-width: var(--cu-content-width);
  margin: 0 auto;
}

.cu-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #000;
  margin: 0 0 0.85rem;
}

.cu-lead {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #000;
  margin: 0 0 1.75rem;
}

.cu-search-form {
  margin-bottom: 2.75rem;
}

.cu-search-input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #8c8c8c;
  border-radius: 2px;
  font-size: 1rem;
  color: #000;
  background: #fff;
  box-sizing: border-box;
}

.cu-search-input::placeholder {
  color: #8c8c8c;
}

.cu-search-input:focus {
  outline: none;
  border-color: #000;
}

.cu-alert {
  padding: 0.85rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.cu-alert--success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
}

.cu-alert--error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #b71c1c;
}

.cu-quick-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 0.25rem;
}

.cu-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cu-quick-item {
  border-bottom: 1px solid var(--cu-border);
}

.cu-quick-item:first-child {
  border-top: 1px solid var(--cu-border);
}

.cu-quick-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 0;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
}

.cu-quick-link:hover {
  color: var(--cu-red);
  text-decoration: underline;
}

.cu-quick-icon {
  font-size: 1.2rem;
  color: var(--cu-muted);
  flex-shrink: 0;
  line-height: 1;
}

.cu-quick-link:hover .cu-quick-icon {
  color: var(--cu-red);
}

.cu-quick-item.is-hidden {
  display: none;
}

.cu-footer {
  flex-shrink: 0;
  background:
    radial-gradient(ellipse 55% 80% at 95% 100%, rgba(120, 10, 18, 0.55) 0%, transparent 70%),
    #000;
  color: var(--cu-muted);
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.cu-footer-inner {
  width: 100%;
  max-width: var(--cu-content-width);
  margin: 0 auto;
}

.cu-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 9.25rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #737373;
  border-radius: 2px;
  background: transparent;
  color: #737373;
  font-size: 0.8125rem;
  cursor: default;
}

.cu-lang-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.cu-lang-caret {
  margin-left: auto;
  font-size: 0.65rem;
}

.cu-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.cu-footer-links a {
  color: #737373;
  font-size: 0.8125rem;
  text-decoration: underline;
  width: fit-content;
}

.cu-footer-links a:hover {
  color: #a3a3a3;
}

@media (max-width: 640px) {
  .cu-header-title {
    display: none;
  }

  .cu-header-sep {
    display: none;
  }

  .cu-header-actions .cu-btn--outline {
    display: none;
  }
}
