/* Star Fibra - LGPD, cookies e modais legais */
.legal-consent {
    margin: 12px 0 14px;
    color: #333;
    font-size: 13px;
    line-height: 1.45;
}
.legal-consent label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    margin: 0 !important;
    font-weight: 400 !important;
    color: #333 !important;
}
.legal-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 2px 0 0;
    accent-color: #007bfa;
}
.legal-consent a,
.footer-legal-links a {
    color: #007bfa;
    text-decoration: underline;
}
.footer-legal-links {
    display: inline-block;
    margin-left: 6px;
}
.footer-legal-links a {
    color: inherit;
}
.legal-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000000000000100;
    padding: 36px 18px;
    overflow-y: auto;
    background: rgba(0, 0, 0, .66);
}
.legal-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.legal-modal__dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 26px 34px 22px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    color: #222;
}
.legal-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f0f2f4;
    color: #333;
    font-size: 27px;
    line-height: 36px;
    cursor: pointer;
}
.legal-modal__dialog h2 {
    margin: 0 48px 16px 0;
    color: #007bfa;
    font-size: 26px;
    text-transform: none;
}
.legal-modal__dialog h3 {
    margin: 24px 0 8px;
    color: #007bfa;
    font-size: 15px;
    text-transform: none;
}
.legal-modal__dialog p {
    margin: 0 0 12px;
    color: #333;
    font-size: 13px;
    line-height: 1.65;
}
.legal-modal__full-link {
    display: block;
    margin-top: 20px;
    color: #007bfa;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}
.legal-modal-open { overflow: hidden; }
.cookie-banner {
    position: fixed;
    z-index: 999999999999998;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 15px 18px;
    border: 1px solid rgba(0,123,250,.18);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0,0,0,.20);
    color: #333;
    font-size: 13px;
    line-height: 1.45;
}
.cookie-banner__text { flex: 1 1 auto; }
.cookie-banner__text a {
    color: #007bfa;
    font-weight: 600;
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}
.cookie-banner__button {
    min-width: 92px;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    background: #007bfa;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.cookie-banner__button:hover,
.cookie-banner__button:focus { background: #0063ca; }
.legal-page-hero {
    margin-top: 0;
    padding: 58px 15px;
    background: linear-gradient(120deg, #007bfa 0%, #078ce9 100%);
    color: #fff;
    text-align: center;
}
.legal-page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 46px);
    text-transform: none;
}
.legal-page {
    padding: 54px 15px 70px;
    background: #fff;
}
.legal-page .legal-page__inner {
    width: min(100%, 1080px);
    margin: 0 auto;
}
.legal-page h2 {
    margin: 0 0 30px;
    color: #007bfa;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}
.legal-page h3 {
    margin: 28px 0 10px;
    color: #007bfa;
    font-size: 17px;
    text-transform: none;
}
.legal-page p {
    margin: 0 0 14px;
    color: #222;
    font-size: 14px;
    line-height: 1.7;
}
.simple-legal-header {
    background: #007bfa;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.simple-legal-header__inner {
    width: min(100% - 30px, 1120px);
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.simple-legal-header img { width: min(245px, 52vw); height: auto; display: block; }
.simple-legal-header a.simple-legal-header__back {
    padding: 11px 16px;
    border-radius: 10px;
    background: #f7b601;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.simple-legal-footer {
    padding: 20px 15px;
    background: #0068d4;
    color: #fff;
    text-align: center;
    font-size: 13px;
}
.simple-legal-footer a { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
    .legal-modal { padding: 12px; align-items: flex-start; }
    .legal-modal__dialog { max-height: calc(100vh - 24px); padding: 22px 20px 18px; }
    .legal-modal__dialog h2 { font-size: 22px; }
    .cookie-banner { right: 10px; bottom: 10px; left: 10px; align-items: stretch; flex-direction: column; gap: 10px; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__button { width: 100%; }
    .simple-legal-header__inner { min-height: 78px; }
}
