/* Tema claro: só entra quando o sistema do visitante está em claro (<link media> no layout).
   O escuro continua a ser o desenho de origem e não é tocado; sem JS, sem cookies.
   Ficheiro em duas partes:
   1) papéis (variáveis) e exceções à mão;
   2) cópia das regras de design.css que têm cores fixas, com as cores trocadas (gerada por
      scripts/gen-claro.py; ao mudar uma cor em design.css, repetir o gerador ou mudar aqui a regra). */
:root{color-scheme:light;--background:45 20% 96%;--foreground:220 8% 7%;--card:0 0% 100%;--card-foreground:220 8% 7%;--popover:0 0% 100%;--popover-foreground:220 8% 7%;--muted:45 14% 92%;--muted-foreground:210 7% 28%;--secondary:45 14% 92%;--secondary-foreground:220 8% 7%;--accent:45 14% 92%;--accent-foreground:220 8% 7%;--border:45 12% 85%;--input:45 8% 55%;--ink:#f6f5f1;--paper:#111214;--line:#dcd9d0}
/* Rodapé e avisos continuam escuros: ancoram a página e mantêm os logótipos brancos */
.new-footer,.preview-toast,.preview-tag{color-scheme:dark;--background:220 8% 7%;--foreground:40 15% 90%;--card:220 8% 7%;--card-foreground:40 15% 90%;--muted:220 6% 11%;--muted-foreground:220 3% 72%;--border:220 4% 20%;--secondary:220 6% 13%;--secondary-foreground:40 15% 90%;--input:220 4% 25%;--accent:220 6% 14%;--accent-foreground:40 15% 90%;--ink:#111214;--paper:#e9e7e0;--line:#353638}
/* Páginas interiores (.pg) */
.pg{--pg-bg:#f6f5f1;--pg-bg-2:#fff;--pg-ink:#111214;--pg-muted:#464b4e;--pg-line:#dcd9d0;--pg-red-text:#B50928;--pg-red-display:#B50928;--pg-sage:#e0e7dc;--pg-band:#d3dbcf}
.pg-top li+li::before{color:var(--pg-muted)}
.pg-form input,.pg-form select,.pg-form textarea{border-bottom-color:#6f736d}
.pg-sec--sage,.pg-sec--band{--pg-line:#b3bfb0}
/* Logótipo do cabeçalho: a versão a cores, sem o filtro que o punha branco */
.new-logo{filter:none}
.new-header .new-dropdown-panel{box-shadow:0 12px 32px rgba(17,18,20,.12)}
/* Ligações que no escuro ficam só com sublinhado e texto branco do Tailwind */
.institution-workspace .inline-flex.bg-primary,.security-workspace a.inline-flex{color:var(--paper)}
.new-dropdown-panel{background:#ffffff}
.hero-prelude{color:#464b4e}
.hero-prelude>span:last-child{color:#57595b}
.hero-bottom p{color:#464b4e}
.flow-link{border-bottom:1px solid #dcd9d0}
.hero-footnote{color:#464b4e}
.hero-footnote a{color:#464b4e}
.organic-stats{background:#ffffff}
.organic-stats .opacity-90{color:#464b4e}
.editorial-intro p{color:#464b4e}
.chapter-content p{color:#464b4e}
.chapter-content li{color:#464b4e}
.chapter-content li svg{color:#B50928}
.new-main .original-flow a.inline-flex{border-bottom:1px solid #B50928!important}
.new-main .section-3{background:#e8e5dc;color:#171819}
.new-main .section-3 .text-muted-foreground{color:#464b4e!important}
.new-main .section-3 a.inline-flex{color:#171819}
.new-main .section-3 .rounded-3xl{border-left:1px solid #b8b8af!important}
.new-main .section-3 .rounded-3xl .rounded-full{color:#565950}
.new-main .section-3 .text-6xl{color:#464b4e}
.new-main .section-3 .rounded-3xl .grid{border-top:1px solid #b8b8af}
.new-main .section-3 .rounded-3xl .grid>div{border-bottom:1px solid #b8b8af!important}
.new-main .section-3 .rounded-3xl svg{color:#464b4e}
.new-main .section-3 .text-green-500,.new-main .section-3 .text-green-400{color:#464b4e!important}
.new-main .section-4{background:#ffffff}
.new-main .section-5{background:#B50928;color:#f1e7e7}
.new-main .section-5 a.inline-flex{border-color:#e3a8b3!important}
.new-main .section-6 form input.border{border-bottom:1px solid #868a84!important}
.new-main .section-6 button{border-bottom:1px solid #868a84}
.new-footer{background:#0b0c0d}
.new-footer .text-muted-foreground{color:#777e77!important}
.new-footer .border-t{border-color:#30332f}
.new-footer input{border-bottom:1px solid #4b5049!important}
.new-inner>div>section:first-child{background:#ffffff}
.new-inner>div>section:first-child .new-h1 span{color:#464b4e}
.new-inner a.inline-flex,.new-inner button.inline-flex{border-bottom:1px solid #B50928!important}
.new-inner section.bg-primary{background:#B50928}
.new-inner input,.new-inner textarea,.new-inner select{background:#ffffff!important;border-bottom:1px solid #868a84!important}
.new-inner .text-green-600{color:#B50928}
.preview-tag{background:#0b0c0d;color:#6c736c}
.preview-toast{background:#1a1d19;border:1px solid #b50928}
@media(max-width:999px){.new-header nav{background:#ffffff}}
@media(max-width:700px){.new-main .section-3 .rounded-3xl{border-top:1px solid #b8b8af!important}}
.hero-bottom p{color:#464b4e}
.chapter-content p,.editorial-intro p{color:#464b4e}
.chapter-content li{color:#464b4e}
.new-main .section-3{background:#ffffff}
.new-main .section-3 .text-muted-foreground{color:#464b4e!important}
.new-main .section-3 .rounded-3xl{border-left-color:#dcd9d0!important}
.new-main .section-3 .rounded-3xl .grid,.new-main .section-3 .rounded-3xl .grid>div{border-color:#dcd9d0!important}
.new-main .section-3 .rounded-3xl .rounded-full{color:#464b4e}
.new-main .section-3 .text-6xl{color:#464b4e}
.new-main .section-3 .rounded-3xl svg{color:#464b4e}
.new-footer .bg-primary{border-bottom:1px solid #B50928!important}
.new-footer .text-muted-foreground{color:#b3bab1!important}
.new-header{background:#f6f5f1}
.new-header .new-button{border:1px solid #dcd9d0}
.new-header .new-button span{color:#111214}
.new-home{background:#f6f5f1}
.hero-eyebrow{color:#464b4e}
.direction-heading .new-h1 em{text-decoration-color:#464b4e}
.direction-intro{color:#464b4e}
.direction-cta{background:#B50928;color:#111214}
.direction-cta:hover{background:#8c0720}
.direction-team{color:#464b4e}
.direction-team:hover{color:#111214}
.direction-services{background:#B50928;color:white}
.direction-services-top>span{color:#f3d9de}
.direction-services>a{border-top:1px solid #ffffff40}
.direction-services>a small{color:#e3a7b2}
.direction-services-foot{color:#f4d9df}
.organic-stats{background:#f6f5f1;border-top:1px solid #dcd9d0;border-bottom:1px solid #dcd9d0}
.section-kicker{color:#111214}
.section-kicker:before{background:#B50928}
.chapter-number{color:#464b4e}
.chapter-content li svg{color:#464b4e}
.new-main .section-3{background:#ffffff}
.new-main .section-3 .text-6xl{color:#111214}
.new-main .section-3 .rounded-3xl svg{color:#111214}
.new-main .section-5{background:#B50928}
.new-inner section.bg-primary{background:#B50928!important}
.new-inner>div>section:first-child .new-h1 span{color:#111214;text-decoration-color:#464b4e}
.new-inner>div>section:first-child{background:#f6f5f1}
.new-inner .inline-flex.rounded-full.border{color:#464b4e}
.new-footer h3{color:#e9e7e0}
.new-footer .bg-primary{border-bottom:1px solid #B50928!important}
@media(min-width:1000px){.new-header{border-right:1px solid #dcd9d0}
.new-header .new-button{border-bottom:1px solid #868a84}}
.workspace-home{background:#f6f5f1}
.workspace-top{border-bottom:1px solid #dcd9d0;color:#464b4e}
.workspace-top a{color:#111214}
.workspace-intro h1{color:#111214}
.workspace-intro h1 span{color:#464b4e}
.workspace-intro p{color:#464b4e}
.workspace-intro>div>a{border-bottom:1px solid #868a84;color:#111214}
.need-explorer{border-top:1px solid #dcd9d0}
.need-choice{color:#464b4e;border-bottom:1px solid #dcd9d0}
.need-choice span{color:#464b4e}
.need-choice b{color:#464b4e}
.need-choice[aria-selected=true]{color:#111214}
.need-choice[aria-selected=true] span{color:#fff;background:#B50928}
.need-choice[aria-selected=true] b{color:#111214}
.need-choice:hover{color:#111214}
.need-responses{background:#e2e8df;color:#12201b}
.answer-label{color:#464b4e}
.need-answer p{color:#2e3b31}
.need-answer li svg{color:#464b4e}
.need-answer>a{color:#10281a;border-top:1px solid #868a84}
.need-answer>a span{color:#464b4e}
.workspace-foot{color:#464b4e}
.project-workspace{background:#d8ded5;color:#14201b}
.journal-heading>div>span{color:#2e3b31}
.journal-heading>a{border-bottom:1px solid #868a84}
.case-caption>span{color:#464b4e}
.case-caption p{color:#2e3b31}
.case-caption strong{color:#464b4e}
.project-workspace>section{background:#c5cec0!important;color:#14201b!important}
.project-workspace>section .opacity-90{color:#464b4e}
.institution-workspace{background:#f6f5f1}
.institution-workspace .grid>div>div:first-child>.inline-flex{color:#464b4e}
.institution-workspace .space-y-6>.flex{border-top:1px solid #dcd9d0}
.institution-workspace .space-y-6 svg{color:#111214}
.institution-workspace .space-y-6 p{color:#464b4e}
.institution-workspace .inline-flex.bg-primary{border-bottom:1px solid #B50928}
.security-workspace{background:#ffffff}
.security-workspace .inline-flex.rounded-full{color:#464b4e}
.security-workspace .rounded-3xl{border-top:1px solid #dcd9d0!important}
.security-workspace .rounded-3xl .text-primary{color:#111214}
.security-workspace a.inline-flex{border-bottom:1px solid #868a84}
.contact-workspace>section:first-child{background:#B50928;color:#fff}
.contact-workspace>section:first-child a{background:white;color:#B50928}
.contact-workspace>section:first-child a.border{color:white}
.contact-workspace>section:last-child{background:#f6f5f1}
.contact-workspace>section:last-child input{border-bottom:1px solid #868a84!important}
.contact-workspace>section:last-child button{background:#B50928}
.journal-controls button{border:1px solid #868a84;color:#172019}
.journal-controls button:hover{background:#B50928;color:#111214;border-color:#868a84}
.security-workspace .text-green-500{color:#464b4e}
.contact-workspace>section:first-child{background:#B50928!important}
.contact-workspace input{border-bottom:1px solid #868a84!important}
.new-submenu-button:hover{background:rgba(0,0,0,.06)}
.brand-family-links{border-bottom:1px solid #394144}
.site-language{color:#bdc5bd}
:focus-visible{outline:2px solid #B50928}
@media(max-width:999px){.new-dropdown-panel{border-left:1px solid #868a84}}
.new-header nav a[aria-current="page"]{color:#111214;text-decoration-color:#464b4e}
.page-servicos:has(.soc-service-signature) [class*="text-blue-"]{color:#B50928!important}
.page-servicos:has(.soc-service-signature) [class*="bg-blue-"]{background-color:#B509281a!important}
.page-servicos:has(.soc-service-signature) [class*="bg-blue-600"]{background:#B50928!important;color:#fff!important}
.page-servicos:has(.soc-service-signature) [class*="border-blue-"]{border-color:#B5092840!important}
.page-servicos:has(.soc-service-signature) .new-inner div[class*="from-blue-"]{background-color:#B509281a!important}
.workspace-intro h1 span, .hero-field .new-h1 span{color:#B50928}
.new-main :focus-visible, .new-header :focus-visible, .new-footer :focus-visible{outline:2px solid #F04460}
.answer-label{color:#2e3b31}
.need-answer li, .need-answer li.text-muted-foreground{color:#2e3b31 !important}
.new-footer h2{color:#e9e7e0}
.case-caption > span{color:#2e3b31}
.project-workspace > section .opacity-90{color:#2e3b31 !important}
.security-workspace .rounded-3xl{background:#f6f5f1!important;border:1px solid #dcd9d0!important}
.security-workspace .rounded-3xl .grid>div{border-top:1px solid #dcd9d0!important}
.security-workspace .rounded-3xl [data-soc="eventos"]{color:#B50928!important}
.contact-workspace>section:last-child .max-w-2xl>svg{background:#B509281f;color:#B50928}
.contact-workspace>section:last-child p{color:#464b4e}
.new-main .contact-workspace>section:last-child input.border{background:#ffffff!important;border:1px solid #dcd9d0!important;color:#111214}
.contact-workspace>section:last-child input::placeholder{color:#464b4e}
.new-main .contact-workspace>section:last-child input.border:focus-visible{border-color:#B50928!important;outline:2px solid #B50928}