/* Contato + Ouvidoria — Figma */

.ctc-page {
    background: #fff;
}

.ctc-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: #e8f0ff;
    color: #2f6fe4;
    font-size: var(--type-pill);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ctc-hero {
    padding: var(--space-page-hero);
    text-align: center;
    background: linear-gradient(180deg, #f3f5fb 0%, #fff 100%);
}

.ctc-hero__inner {
    max-width: 680px;
}

.ctc-hero h1 {
    margin: 1rem 0 0.85rem;
    font-family: var(--font-display);
    font-size: var(--type-page-title);
    color: var(--color-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.ctc-hero p {
    margin: 0 auto;
    color: var(--color-muted);
    font-size: var(--type-lede);
    line-height: 1.65;
    max-width: 52ch;
}

.ctc-main {
    padding: 1.5rem 0 3.5rem;
}

.ctc-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
}

.ctc-channels h2 {
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--color-navy);
}

.ctc-channels__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.ctc-channels__list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.ctc-channels__icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #e8f0ff;
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ctc-channels__list strong {
    display: block;
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.ctc-channels__list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.ctc-channels__list a {
    color: inherit;
}

.ctc-social {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border, #e5e7eb);
}

.ctc-social__label {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.ctc-social__row {
    display: flex;
    gap: 0.65rem;
}

.ctc-social__link {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--color-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ctc-social__link:hover {
    opacity: 0.9;
}

.ctc-form-card {
    background: #fff;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 1.75rem 1.65rem 1.85rem;
}

.ctc-form-card h2 {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-navy);
}

.ctc-form-card__lead {
    margin: 0 0 1.25rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ctc-form {
    display: grid;
    gap: 1rem;
}

.ctc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ctc-field {
    display: grid;
    gap: 0.4rem;
}

.ctc-field > span,
.ctc-field > legend {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-navy);
}

.ctc-field em {
    font-style: normal;
    font-weight: 500;
    color: #9ca3af;
}

.ctc-field__hint {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
}

.ctc-field input,
.ctc-field select,
.ctc-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    color: #111827;
    background: #fff;
}

.ctc-field textarea {
    resize: vertical;
    min-height: 120px;
}

.ctc-field input:focus,
.ctc-field select:focus,
.ctc-field textarea:focus {
    outline: 2px solid rgba(47, 111, 228, 0.35);
    border-color: #2f6fe4;
}

.ctc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ctc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 10px;
    background: var(--color-navy);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ctc-btn:hover {
    filter: brightness(1.05);
}

.ctc-channels__icon--whatsapp {
    color: #128c4a;
}

.ctc-btn--outline {
    background: #fff;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.ctc-flash {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.ctc-flash--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ctc-flash--err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.ctc-map {
    padding: 0 0 3.5rem;
}

.ctc-map__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--color-navy);
}

.ctc-map__grid--pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.ctc-map__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.ctc-map__head h3 {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-navy);
}

.ctc-map__head p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.ctc-map__head p + p {
    margin-top: 0.2rem;
}

.ctc-map__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.ctc-map__directions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding: 0.7rem 1.05rem;
    border-radius: 999px;
    background: var(--color-navy);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 32, 104, 0.16);
}

.ctc-map__directions:hover {
    filter: brightness(1.08);
    color: #fff;
}

.ctc-map__directions--ghost {
    background: #fff;
    color: var(--color-navy);
    border: 1px solid #d5dbe8;
    box-shadow: none;
}

.ctc-map__directions--ghost:hover {
    filter: none;
    background: #f5f7fb;
    color: var(--color-navy);
}

.ctc-map__frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e6e8ef;
    box-shadow: 0 18px 40px rgba(0, 32, 104, 0.08);
    background: #e8edf5;
    line-height: 0;
}

.ctc-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.ctc-map__grid--pair iframe {
    height: 360px;
}

/* Ouvidoria */

.ctc-steps {
    padding: 0.5rem 0 2.5rem;
}

.ctc-steps__title {
    margin: 0 0 1.75rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--color-navy);
}

.ctc-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ctc-steps__list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.ctc-steps__num {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--color-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ctc-steps__list strong {
    display: block;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.ctc-steps__list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.ctc-ombuds {
    padding: 0 0 3.5rem;
}

.ctc-ombuds__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    gap: 1.75rem;
    align-items: start;
}

.ctc-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ctc-type-pill {
    cursor: pointer;
}

.ctc-type-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ctc-type-pill span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 600;
}

.ctc-type-pill input:checked + span {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}

.ctc-type-pill input:focus-visible + span {
    outline: 2px solid rgba(47, 111, 228, 0.45);
    outline-offset: 2px;
}

.ctc-upload {
    display: grid;
    gap: 0.45rem;
}

.ctc-upload__title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-navy);
}

.ctc-upload__title em {
    font-style: normal;
    font-weight: 500;
    color: #9ca3af;
}

.ctc-upload__box {
    display: grid;
    place-items: center;
    gap: 0.2rem;
    padding: 1.35rem 1rem;
    border: 1.5px dashed #c5ccd8;
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
    color: #6b7280;
    cursor: pointer;
}

.ctc-upload__box strong {
    color: var(--color-navy);
    font-size: 0.95rem;
}

.ctc-upload__box small {
    font-size: 0.8rem;
}

.ctc-upload input[type="file"] {
    font-size: 0.85rem;
}

.ctc-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.35rem 0 0;
    color: #047857;
    font-size: 0.85rem;
    line-height: 1.45;
}

.ctc-privacy svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ctc-ombuds-aside {
    display: grid;
    gap: 1.15rem;
}

.ctc-lookup,
.ctc-confidential {
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
}

.ctc-lookup {
    border: 1px solid var(--color-border, #e5e7eb);
    background: #fff;
}

.ctc-lookup h3,
.ctc-confidential h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-navy);
}

.ctc-lookup > p {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.ctc-lookup form {
    display: grid;
    gap: 0.75rem;
}

.ctc-lookup__result {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #f3f5fb;
    font-size: 0.92rem;
    line-height: 1.55;
}

.ctc-lookup__result p {
    margin: 0.15rem 0;
}

.ctc-lookup .ctc-flash {
    margin-top: 1rem;
}

.ctc-lookup__reply {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.ctc-lookup__reply p {
    margin: 0.35rem 0 0;
    white-space: pre-wrap;
}

.ctc-confidential {
    background: #f3f5f7;
}

.ctc-confidential__icon {
    display: inline-flex;
    color: #047857;
    margin-bottom: 0.55rem;
}

.ctc-confidential p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    .ctc-main__grid,
    .ctc-ombuds__grid,
    .ctc-steps__list,
    .ctc-map__grid--pair {
        grid-template-columns: 1fr;
    }
}

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

    .ctc-hero {
        padding: 2.5rem 0 2rem;
    }

    .ctc-form-card {
        padding: 1.35rem 1.1rem 1.5rem;
    }

    .ctc-map__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ctc-map iframe,
    .ctc-map__grid--pair iframe {
        height: 320px;
    }

    .ctc-map__frame {
        border-radius: 16px;
    }
}
