/*
Theme Name: L. Medeiros Gestão Contábil
Theme URI: https://example.com/
Author: Desenvolvimento personalizado
Description: Tema WordPress personalizado para L. Medeiros Gestão Contábil, convertido a partir do layout Luan.html. Inclui página inicial institucional, login real do WordPress, área restrita, serviços administráveis, formulário de contato, webmail configurável e opções no Personalizador.
Version: 1.3.25
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lmedeiros
*/
:root {
    --navy: #102A43;
    --navy-deep: #0A1F33;
    --gold: #C8A45A;
    --gold-dark: #A98235;
    --cream: #F7F5F0;
    --warm: #EEEAE1;
    --text: #243447;
    --muted: #66778A;
    --line: #E4E1DA;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter,Arial,Helvetica,sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    height: auto
}

button,input,textarea {
    font: inherit
}

.container {
    width: min(1160px,92%);
    margin: auto
}

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

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid rgba(16,42,67,.08);
    box-shadow: 0 8px 24px rgba(16,42,67,.055)
}

.admin-bar .site-header {
    top: 32px
}

html {
    scroll-padding-top: 148px
}

.site-nav {
    min-height: 132px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px
}

.site-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 4px 0
}

.logo,.custom-logo {
    height: 116px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    padding: 0;
    list-style: none
}

.menu li {
    margin: 0;
    padding: 0
}

.menu a {
    transition: .2s
}

.menu a:hover,.menu a:focus,.menu .current-menu-item>a {
    color: var(--gold-dark)
}

.menu .menu-contact>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 6px;
    background: var(--gold);
    color: #fff;
    box-shadow: 0 9px 22px rgba(169,130,53,.18)
}

.menu .menu-contact>a:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto
}

.header-actions .btn {
    white-space: nowrap
}

.mobile-nav-actions {
    display: none
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 25px;
    line-height: 1;
    padding: 7px;
    cursor: pointer
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
    transition: .22s;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 9px 22px rgba(169,130,53,.18)
}

.btn-gold:hover,.btn-gold:focus {
    background: var(--gold-dark);
    transform: translateY(-2px);
    color: #fff
}

.btn-navy {
    background: var(--navy);
    color: #fff
}

.btn-navy:hover,.btn-navy:focus {
    background: var(--navy-deep);
    transform: translateY(-2px);
    color: #fff
}

.btn-light {
    border-color: #D6D8D9;
    color: var(--navy);
    background: #fff
}

.btn-light:hover,.btn-light:focus {
    border-color: var(--gold);
    color: var(--gold-dark)
}

.btn[aria-disabled="true"],.btn.is-disabled {
    opacity: .55;
    pointer-events: none
}

/* HERO */
.hero {
    background: var(--cream);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line)
}

.hero:before {
    content: "";
    position: absolute;
    right: -180px;
    top: -220px;
    width: 560px;
    height: 560px;
    /* border:1px solid rgba(200,164,90,.20); */
    border-radius: 50%;
    display: none;
}

.hero:after {
    content: "";
    position: absolute;
    right: -70px;
    top: -110px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(16,42,67,.07);
    border-radius: 50%;
    display: none;
}

.hero-grid {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2
}

.kicker {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 900;
    margin-bottom: 18px
}

.hero h1 {
    font-family: Georgia,"Times New Roman",serif;
    font-weight: 500;
    font-size: clamp(44px,5vw,66px);
    line-height: 1.04;
    letter-spacing: -2.4px;
    color: var(--navy);
    margin: 0 0 22px
}

.hero h1 span {
    color: var(--gold-dark)
}

.hero p {
    font-size: 17px;
    max-width: 600px;
    color: var(--muted);
    margin: 0 0 30px
}

.actions {
    display: flex;
    gap: 11px;
    flex-wrap: wrap
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    position: relative
}

.logo-stage {
    width: min(470px,100%);
    border-radius: 24px;
    padding: 48px 44px;
    box-shadow: 0 30px 70px rgba(16,42,67,.15)
}

.logo-stage-dark {
    background: linear-gradient(145deg,#102A43,#0A1F33);
    border: 1px solid rgba(200,164,90,.22);
    position: relative;
    overflow: hidden
}

.logo-stage-dark:after {
    content: "";
    position: absolute;
    inset: auto -110px -150px auto;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(200,164,90,.22);
    border-radius: 50%
}

.logo-stage img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1
}

.logo-stage-dark .stage-caption {
    border-top-color: rgba(255,255,255,.13);
    color: #c8d4df;
    position: relative;
    z-index: 1
}

.stage-caption {
    text-align: center;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 20px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase
}

.hero-image-stage {
    width: min(510px,100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(16,42,67,.14);
    background: #eae6dd
}

.hero-image-stage img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover
}

.hero-brand-minimal {
    width: min(560px,100%);
    min-height: 455px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    isolation: isolate
}

.hero-brand-minimal:before {
    content: "";
    position: absolute;
    inset: -40px -90px;
    /* background:radial-gradient(circle at 55% 38%,rgba(255,255,255,.96) 0%,rgba(250,248,242,.78) 48%,rgba(238,242,244,.28) 75%,transparent 100%); */
    z-index: -3;
    display: none;
}

.hero-watermark {
    position: absolute;
    width: min(590px,115%);
    height: auto;
    opacity: .075;
    filter: saturate(.55);
    z-index: -2;
    pointer-events: none;
    transform: translate(28px,-8px)
}

.hero-main-logo {
    width: min(500px,88%);
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 14px 28px rgba(16,42,67,.06))
}

.hero-brand-caption {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    color: #1d3852;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap
}

.hero-brand-caption span {
    color: var(--gold);
    padding: 0 8px
}

/* TRUST */
.trust {
    background: var(--navy);
    color: #fff;
    padding: 0
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr)
}

.trust-item {
    padding: 22px 20px;
    border-right: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    gap: 12px
}

.trust-item:last-child {
    border: 0
}

.trust-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(200,164,90,.6);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-weight: 900;
    flex: 0 0 auto
}

.trust-item strong {
    font-size: 12px;
    display: block
}

.trust-item span {
    font-size: 10px;
    color: #bdc9d4
}

/* GENERAL */
.home section:not(.trust) {
    padding: 40px 0;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2.7px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 900
}

.title {
    max-width: 740px;
    margin: 8px 0 42px
}

.title h2 {
    font-family: Georgia,"Times New Roman",serif;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--navy);
    margin: 0 0 14px
}

.title p {
    color: var(--muted);
    margin: 0
}

/* SERVICES */
.services {
    background: #fff
}

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

.service {
    padding: 29px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    position: relative;
    transition: .22s
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(16,42,67,.08);
    border-color: #D7C79F
}

.service-number {
    color: var(--gold-dark);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 900
}

.service h3 {
    font-size: 18px;
    color: var(--navy);
    margin: 18px 0 7px
}

.service p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

@media(min-width:901px) {
    .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .service-grid .service { padding: 25px 23px; }
}

/* ABOUT */
.about {
    background: var(--cream)
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
    gap: 42px;
    align-items: center
}

.about-copy p {
    color: var(--muted)
}

.checks {
    display: grid;
    gap: 0;
    margin-top: 24px
}

.check {
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.check:last-child {
    border-bottom: 0
}

.check {
    display: flex;
    gap: 13px
}

.check b {
    color: var(--gold-dark)
}

.check strong {
    color: var(--navy);
    font-size: 13px
}

.check span {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.about-card {
    background: linear-gradient(145deg,#0f2d4a,#09213a);
    border-radius: 22px;
    padding: 38px 36px;
    color: #fff;
    box-shadow: 0 30px 70px rgba(16,42,67,.15);
    position: relative;
    overflow: hidden
}

.about-card:after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(200,164,90,.14);
    border-radius: 50%
}

.about-card .quote {
    font-family: Georgia,serif;
    font-size: 28px;
    line-height: 1.35;
    margin: 0;
    color: #fff;
    max-width: 520px;
    position: relative;
    z-index: 1
}

.about-divider {
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin: 26px 0
}

.stats-rich {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    z-index: 1
}

.stat-rich {
    display: grid;
    grid-template-columns: 54px minmax(0,1fr);
    align-items: start;
    gap: 14px;
    min-width: 0;
    padding: 24px 22px 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.14)
}

.stat-rich>div {
    min-width: 0
}

.stat-rich:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.14)
}

.stat-rich:nth-child(even) {
    padding-left: 22px
}

.stat-rich:nth-last-child(-n+2) {
    border-bottom: 0
}

.stat-icon {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(200,164,90,.75);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    flex: 0 0 auto
}

.stat-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.stat-rich strong {
    display: block;
    color: var(--gold);
    font-family: Georgia,serif;
    font-size: 29px;
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal
}

.stat-rich strong.stat-title {
    font-size: 20px;
    line-height: 1.16
}

.stat-rich b {
    display: block;
    font-size: 12.5px;
    color: #fff;
    margin-top: 4px
}

.stat-rich span:not(.stat-icon) {
    display: block;
    font-size: 11px;
    color: #c6d2dc;
    margin-top: 6px;
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal
}

/* PROCESS */
.process {
    background: #fff
}

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

.step {
    padding: 22px 20px;
    border-top: 1px solid var(--line)
}

.step:first-child {
    border-top-color: var(--gold)
}

.step .num {
    font-size: 10px;
    color: var(--gold-dark);
    letter-spacing: 2px;
    font-weight: 900
}

.step h3 {
    font-size: 17px;
    color: var(--navy);
    margin: 12px 0 7px
}

.step p {
    font-size: 12px;
    color: var(--muted);
    margin: 0
}

/* TESTIMONIALS */
.testimonials {
    background: var(--cream);
    position: relative;
    overflow: hidden
}

.testimonials:before {
    content: "";
    position: absolute;
    left: -180px;
    bottom: -220px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(200,164,90,.16);
    border-radius: 50%
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    position: relative;
    z-index: 1
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 27px;
    box-shadow: 0 15px 40px rgba(16,42,67,.055);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    position: relative
}

.testimonial-card:before {
    content: "\201C";
    font-family: Georgia,serif;
    color: var(--gold);
    font-size: 62px;
    line-height: .7;
    margin-bottom: 18px
}

.testimonial-text {
    font-family: Georgia,"Times New Roman",serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--navy);
    margin: 0 0 24px
}

.testimonial-author {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px
}

.testimonial-initial {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-weight: 900;
    font-size: 14px;
    flex: 0 0 auto
}

.testimonial-author strong {
    display: block;
    color: var(--navy);
    font-size: 13px
}

.testimonial-author span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px
}

.testimonial-empty {
    background: #fff;
    border: 1px dashed #cfc8b8;
    border-radius: 14px;
    padding: 22px;
    color: var(--muted);
    font-size: 13px
}

/* PORTAL */
.portal {
    background: var(--navy-deep);
    color: #fff
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 70px;
    align-items: center
}

.portal h2 {
    font-family: Georgia,serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
    margin: 8px 0 15px
}

.portal p {
    color: #c8d4df;
    max-width: 590px
}

.portal-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 24px 0
}

.portal-list span {
    font-size: 12px;
    color: #d9e3eb
}

.login {
    background: #fff;
    color: var(--text);
    border-radius: 17px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,.22)
}

.login h3 {
    color: var(--navy);
    margin: 0
}

.login small {
    color: var(--muted);
    font-size: 11px
}

.field {
    margin-top: 15px
}

.field label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 6px
}

.field input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    outline: none
}

.field input:focus {
    border-color: var(--gold)
}

.login .btn {
    width: 100%;
    border: 0;
    margin-top: 17px
}

.login-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 10px;
    color: var(--muted);
    gap: 12px
}

.login-foot a {
    color: var(--gold-dark);
    font-weight: 800
}

.login-message {
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 7px;
    margin: 14px 0 0;
    background: #fff3cd;
    color: #725b12;
    border: 1px solid #ffe69c
}

.logged-box {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--cream);
    font-size: 13px
}

.logged-box strong {
    color: var(--navy)
}

/* WEBMAIL */
.webmail {
    background: #f8f8f7
}

.webmail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(16,42,67,.05)
}

.webmail-card h3 {
    color: var(--navy);
    margin: 0 0 5px
}

.webmail-card p {
    color: var(--muted);
    font-size: 13px;
    margin: 0
}

/* CONTACT */
.contact {
    background: #fff
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 18px
}

.contact-box,.contact-form {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px
}

.contact-box {
    background: var(--cream)
}

.item {
    display: flex;
    gap: 13px;
    margin: 19px 0
}

.ico {
    color: var(--gold-dark);
    font-weight: 900
}

.item small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 900
}

.item strong {
    font-size: 13px;
    color: var(--navy);
    overflow-wrap: anywhere
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.contact-form input,.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
    outline: none
}

.contact-form input:focus,.contact-form textarea:focus {
    border-color: var(--gold)
}

.contact-form textarea {
    min-height: 130px;
    margin-top: 12px;
    resize: vertical
}

.contact-form .btn {
    border: 0;
    margin-top: 12px
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    margin: 0 0 18px;
    font-size: 13px
}

.notice-success {
    background: #edf7ed;
    border: 1px solid #b7d8b7;
    color: #285c2a
}

.notice-error {
    background: #fff1f0;
    border: 1px solid #f0b8b4;
    color: #8b2f2a
}

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

/* FOOTER */
.site-footer {
    background: var(--navy-deep);
    color: #adbdcc;
    padding: 32px 0
}

.footer-line {
    height: 2px;
    background: linear-gradient(90deg,var(--gold),transparent);
    margin-bottom: 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .9fr;
    gap: 45px
}

.footer-logo {
    width: 205px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px
}

.site-footer p {
    font-size: 11px;
    max-width: 300px
}

.site-footer h4 {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1.6px;
    text-transform: uppercase
}

.site-footer a,.site-footer span {
    display: block;
    font-size: 11px;
    margin: 7px 0
}

.site-footer a:hover {
    color: #fff
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 28px;
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    font-size: 10px
}

/* INTERNAL PAGES */
.site-main-inner {
    min-height: 60vh;
    padding: 70px 0;
    background: #fff
}

.entry-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 15px 40px rgba(16,42,67,.05)
}

.entry-title {
    font-family: Georgia,"Times New Roman",serif;
    color: var(--navy);
    font-size: 42px;
    line-height: 1.12;
    margin: 0 0 24px
}

.entry-content {
    color: var(--text)
}

.entry-content a {
    color: var(--gold-dark);
    text-decoration: underline
}

.entry-content img {
    border-radius: 10px
}

.portal-page {
    background: var(--cream)
}

.portal-page .entry-card {
    max-width: 1000px
}

.portal-userbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    margin-bottom: 28px
}

.portal-userbar p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.portal-userbar strong {
    color: var(--navy)
}

.not-found {
    text-align: center
}

/* WordPress */
.alignwide {
    width: min(1160px,100%);
    margin-left: auto;
    margin-right: auto
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw)
}

@media(max-width: 1080px) and (min-width:901px) {
    .about-grid {
        grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
        gap: 30px
    }

    .about-card {
        padding: 32px 28px
    }

    .stat-rich {
        grid-template-columns: 48px minmax(0,1fr);
        gap: 11px;
        padding: 20px 16px 20px 0
    }

    .stat-rich:nth-child(even) {
        padding-left: 16px
    }

    .stat-icon {
        width: 46px;
        height: 46px
    }

    .stat-icon svg {
        width: 24px;
        height: 24px
    }

    .stat-rich strong {
        font-size: 26px
    }

    .stat-rich strong.stat-title {
        font-size: 18px
    }
}

@media(max-width: 900px) {
    .testimonial-grid {
        grid-template-columns:1fr 1fr
    }

    .site-nav {
        position: relative
    }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 112px;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 20px 45px rgba(16,42,67,.13);
        padding: 12px;
        z-index: 110
    }

    .primary-nav.is-open {
        display: block
    }

    .primary-nav .menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .primary-nav .menu a {
        display: block;
        padding: 11px 12px;
        border-radius: 6px
    }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--line)
    }

    .header-actions {
        display: none
    }

    .hero-grid,.about-grid,.portal-grid,.contact-grid {
        grid-template-columns: 1fr
    }

    .hero-brand {
        display: none
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width: 782px) {
    .admin-bar .site-header {
        top:46px
    }
}

@media(max-width: 560px) {
    html {
        scroll-padding-top:110px
    }

    .testimonial-grid {
        grid-template-columns: 1fr
    }

    .header-top {
        display: none
    }

    .site-nav {
        min-height: 96px;
        padding: 8px 0
    }

    .logo,.custom-logo {
        height: 78px;
        width: auto;
        max-width: 150px
    }

    .primary-nav {
        top: 88px
    }

    .hero {
        padding: 70px 0
    }

    .hero h1 {
        font-size: 43px
    }

    .title h2,.portal h2 {
        font-size: 31px
    }

    .trust-grid,.service-grid,.steps,.form-row,.portal-list,.footer-grid {
        grid-template-columns: 1fr
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12)
    }

    .webmail-card {
        display: block
    }

    .webmail-card .btn {
        margin-top: 20px
    }

    .copyright {
        flex-direction: column;
        gap: 8px
    }

    .entry-card {
        padding: 25px 20px
    }

    .entry-title {
        font-size: 34px
    }

    .portal-userbar {
        align-items: flex-start;
        flex-direction: column
    }

    .login-foot {
        flex-direction: column
    }
}

/* V1.2 ajustes solicitados */
.contact-box .item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.45
}

.contact-service {
    padding-bottom: 20px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(16,42,67,.08)
}

@media(max-width: 900px) {
    .testimonial-grid {
        grid-template-columns:1fr 1fr
    }

    .stats-rich {
        grid-template-columns: 1fr
    }

    .stat-rich,.stat-rich:nth-child(even) {
        padding: 18px 0;
        border-right: 0!important;
        border-bottom: 1px solid rgba(255,255,255,.14)
    }

    .stat-rich:last-child {
        border-bottom: 0
    }

    .hero-image-stage img {
        height: auto
    }
}

/* V1.3.2 — carousel de depoimentos */
.testimonial-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 8px
}

.testimonial-heading .title {
    margin-bottom: 0
}

.testimonial-controls {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    padding-bottom: 22px
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(16,42,67,.16);
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 8px 24px rgba(16,42,67,.06)
}

.testimonial-arrow:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-1px)
}

.testimonial-arrow:disabled {
    opacity: .35;
    cursor: default;
    transform: none
}

.testimonial-carousel {
    position: relative;
    z-index: 1;
    margin-top: 24px
}

.testimonial-viewport {
    overflow: hidden
}

.testimonial-track {
    display: flex;
    gap: 18px;
    will-change: transform;
    transition: transform .48s cubic-bezier(.22,.61,.36,1)
}

.testimonial-card {
    flex: 0 0 calc((100% - 36px)/3);
    min-width: 0
}

.testimonial-photo,.testimonial-initial {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex: 0 0 54px
}

.testimonial-photo {
    display: block;
    object-fit: cover;
    object-position: center;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(16,42,67,.1),0 6px 18px rgba(16,42,67,.12)
}

.testimonial-initial {
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-weight: 900;
    font-size: 15px
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 22px
}

.testimonial-dot {
    appearance: none;
    border: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cfd5da;
    padding: 0;
    cursor: pointer;
    transition: .2s ease
}

.testimonial-dot.is-active {
    width: 25px;
    background: var(--gold)
}

@media(max-width: 900px) {
    .testimonial-card {
        flex-basis:calc((100% - 18px)/2)
    }
}

@media(max-width: 560px) {
    .testimonial-heading {
        align-items:flex-start
    }

    .testimonial-controls {
        padding-bottom: 0
    }

    .testimonial-arrow {
        width: 39px;
        height: 39px
    }

    .testimonial-card {
        flex-basis: 100%
    }

    .testimonial-carousel {
        margin-top: 18px
    }

    .testimonial-card {
        min-height: 245px
    }
}

/* V1.3.3 — ajustes do carousel */
.testimonial-heading {
    align-items: center;
    margin-bottom: 0
}

.testimonial-heading .title {
    max-width: 760px
}

.testimonial-controls {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-top: 8px
}

.testimonial-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 20px;
    line-height: 1
}

.testimonial-arrow span {
    display: block;
    line-height: 1;
    transform: translateY(-1px)
}

.testimonial-card-demo {
    border-style: solid
}

@media(max-width: 560px) {
    .testimonial-heading {
        align-items:flex-start
    }

    .testimonial-controls {
        margin-top: 2px
    }
}

/* V1.3.4 — carousel: placeholders, controles e cache */
.testimonial-photo,.testimonial-avatar-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex: 0 0 54px
}

.testimonial-avatar-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#f4ead4,#fff);
    color: var(--gold);
    box-shadow: 0 0 0 1px rgba(16,42,67,.10),0 6px 18px rgba(16,42,67,.08)
}

.testimonial-avatar-placeholder svg {
    width: 27px;
    height: 27px;
    display: block
}

.testimonial-controls {
    min-width: 98px;
    justify-content: flex-end
}

.testimonial-arrow {
    visibility: visible;
    opacity: 1
}

.testimonial-carousel.is-single-page .testimonial-controls,.testimonial-carousel.is-single-page + .testimonial-controls {
    display: none
}


/* V1.3.8 — favicon e alinhamento do destaque inicial */
.hero-brand-minimal{
    --hero-brand-width:min(500px,88%);
}
.hero-main-logo{
    width:var(--hero-brand-width);
    margin-inline:auto;
}
.hero-brand-caption{
    width:var(--hero-brand-width);
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    letter-spacing:3.6px;
}
.hero-brand-caption span{padding:0;color:var(--gold)}
@media(max-width:560px){
    .hero-brand-caption{gap:8px;letter-spacing:2.2px;font-size:10px;white-space:normal;flex-wrap:wrap}
}


/* V1.3.9 — centralização óptica do logotipo no hero */
.hero-main-logo{
    display:block;
    width:var(--hero-brand-width);
    margin-inline:auto;
    object-fit:contain;
}
.hero-brand-caption{
    width:var(--hero-brand-width);
    margin-inline:auto;
}


/* V1.3.11 — alinhamento exato da legenda sob a marca */
.hero-brand-caption{
    width:var(--hero-brand-width);
    margin:22px auto 0;
    display:grid;
    grid-template-columns:max-content 1fr max-content 1fr max-content;
    align-items:center;
    column-gap:0;
    text-align:center;
    white-space:nowrap;
    letter-spacing:3.2px;
}
.hero-brand-caption .hero-caption-word:first-child{justify-self:start}
.hero-brand-caption .hero-caption-word:nth-of-type(3){justify-self:center}
.hero-brand-caption .hero-caption-word:last-child{justify-self:end}
.hero-brand-caption .hero-caption-dot{
    justify-self:center;
    color:var(--gold);
    padding:0;
    letter-spacing:0;
}
@media(max-width:560px){
    .hero-brand-caption{
        grid-template-columns:max-content 1fr max-content 1fr max-content;
        font-size:9px;
        letter-spacing:1.7px;
        white-space:nowrap;
        gap:0;
        flex-wrap:nowrap;
    }
}

/* V1.3.11 — marca fornecida pelo cliente + restauração da legenda original */
.hero-brand-minimal{
    --hero-brand-width:min(500px,88%);
}
.hero-main-logo{
    width:var(--hero-brand-width);
    max-width:100%;
    height:auto;
    margin-inline:auto;
    object-fit:contain;
    padding: 0px !important;
}
.hero-brand-caption{
    width:var(--hero-brand-width);
    margin: 0px auto 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:#1d3852;
    font-size:12px;
    letter-spacing: 3.65px;
    text-transform:uppercase;
    font-weight:700;
    white-space:nowrap;
}
.hero-brand-caption span,
.hero-brand-caption .hero-caption-word{
    color:#1d3852;
    padding:0;
}
.hero-brand-caption .hero-caption-dot{
    color:var(--gold);
    padding:0;
    letter-spacing:0;
}
@media(max-width:560px){
    .hero-brand-caption{
        gap:7px;
        font-size:9px;
        letter-spacing:1.8px;
    }
}


/* =========================================================
   BPO FINANCEIRO — v1.3.24 / ONE-PAGE
   ========================================================= */
.service-link {
    display: block;
    color: inherit;
}

.service-link:hover,.service-link:focus {
    color: inherit;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 900;
}

.bpo-onepage {
    background: #fff;
    scroll-margin-top: 145px;
}

.service-management {
    background: linear-gradient(145deg,#fff,#fcfbf7);
    border-color: rgba(200,164,90,.48);
}

.service-service-combined h3 {
    max-width: 250px;
}

.bpo-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg,#faf8f3 0%,#f7f5ef 59%,#f3f1eb 100%);
    border-bottom: 1px solid rgba(16,42,67,.07);
}

.bpo-hero:after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -310px;
    width: 530px;
    height: 530px;
    border: 1px solid rgba(200,164,90,.16);
    border-radius: 50%;
    pointer-events: none;
}

.bpo-hero-grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr);
    gap: 64px;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
    position: relative;
    z-index: 1;
}

.bpo-kicker,.bpo-cta-kicker {
    color: var(--gold-dark);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.bpo-hero-copy .bpo-main-title {
    margin: 10px 0 0;
    font-family: Georgia,"Times New Roman",serif;
    color: var(--navy);
    font-size: clamp(43px,4.1vw,58px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -1.8px;
}

.bpo-hero-copy h3 {
    margin: 6px 0 18px;
    font-family: Georgia,"Times New Roman",serif;
    color: var(--gold-dark);
    font-size: clamp(34px,3.45vw,49px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -1.3px;
}

.bpo-hero-copy>p {
    max-width: 570px;
    margin: 0 0 23px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.bpo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bpo-hero-visual {
    position: relative;
    min-height: 340px;
    padding-right: 170px;
    display: flex;
    align-items: center;
}

.bpo-photo {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border-radius: 19px;
    box-shadow: 0 18px 46px rgba(16,42,67,.12);
}

.bpo-insight-card {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    min-height: 260px;
    padding: 34px 31px 28px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(169,130,53,.78);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(16,42,67,.1);
}

.bpo-insight-icon {
    width: 39px;
    height: 39px;
    display: block;
    color: var(--gold-dark);
    margin-bottom: 14px;
}

.bpo-insight-icon svg,.bpo-pillar-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bpo-insight-card strong {
    display: block;
    font-family: Georgia,"Times New Roman",serif;
    font-size: 26px;
    line-height: 1.12;
    color: var(--navy);
    font-weight: 500;
}

.bpo-card-line {
    display: block;
    width: 42px;
    height: 2px;
    margin: 17px 0 12px;
    background: var(--gold);
}

.bpo-insight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.42;
}

.bpo-pillars {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(16,42,67,.025);
}

.bpo-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.bpo-pillar {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 30px 16px 0;
    position: relative;
}

.bpo-pillar:not(:last-child):after {
    content: "";
    position: absolute;
    right: 18px;
    top: 21px;
    bottom: 21px;
    width: 1px;
    background: #ddd8ce;
}

.bpo-pillar-icon {
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    display: grid;
    place-items: center;
    padding: 12px;
    color: var(--gold-dark);
    background: #faf7ef;
    border-radius: 50%;
}

.bpo-pillar strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.35;
}

.bpo-pillar span:not(.bpo-pillar-icon) {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.bpo-benefits {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 28px 0 34px;
}

.bpo-benefits:after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -245px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(200,164,90,.18);
    border-radius: 50%;
    pointer-events: none;
}

.bpo-benefits-grid {
    display: grid;
    grid-template-columns: minmax(0,.86fr) minmax(0,.83fr) minmax(320px,.91fr);
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bpo-benefits-copy h2,.bpo-cta-card h2 {
    margin: 7px 0 12px;
    font-family: Georgia,"Times New Roman",serif;
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1.05;
}

.bpo-benefits-copy h2 {
    color: var(--navy);
    font-size: 37px;
}

.bpo-benefits-copy p {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.bpo-checklist {
    display: grid;
    gap: 14px;
}

.bpo-check-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
}

.bpo-checkmark {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.bpo-check-item strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.3;
}

.bpo-check-item span:not(.bpo-checkmark) {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.bpo-cta-card {
    min-height: 225px;
    padding: 28px 37px 29px;
    background: linear-gradient(145deg,#102f4e,#08223a);
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 22px 48px rgba(16,42,67,.14);
}

.bpo-cta-kicker {
    color: var(--gold);
}

.bpo-cta-card h2 {
    color: #fff;
    font-size: 34px;
}

.bpo-cta-card p {
    margin: 0 0 19px;
    color: #d2dde5;
    font-size: 12px;
    line-height: 1.5;
}

.bpo-cta-card .btn {
    width: 100%;
    min-height: 42px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
}

@media(max-width: 1080px) {
    .bpo-hero-grid {
        grid-template-columns: minmax(0,.94fr) minmax(420px,1.06fr);
        gap: 42px;
    }
    .bpo-hero-visual { padding-right: 130px; }
    .bpo-insight-card { width: 240px; right: 0; padding: 28px 24px 24px; }
    .bpo-benefits-grid { gap: 28px; }
    .bpo-pillar { padding-right: 20px; }
    .bpo-pillar:not(:last-child):after { right: 10px; }
}

@media(max-width: 900px) {
    .bpo-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 54px;
        padding-bottom: 58px;
    }
    .bpo-hero-copy { max-width: 680px; }
    .bpo-hero-visual { max-width: 650px; width: 100%; padding-right: 120px; }
    .bpo-pillars-grid { grid-template-columns: 1fr 1fr; }
    .bpo-pillar:nth-child(2):after { display: none; }
    .bpo-pillar { padding-left: 8px; }
    .bpo-benefits { padding: 48px 0; }
    .bpo-benefits-grid { grid-template-columns: 1fr 1fr; }
    .bpo-cta-card { grid-column: 1 / -1; }
}

@media(max-width: 560px) {
    .bpo-hero-grid { padding-top: 42px; padding-bottom: 44px; }
    .bpo-hero-copy .bpo-main-title { font-size: 42px; }
    .bpo-hero-copy h3 { font-size: 35px; }
    .bpo-actions { display: grid; grid-template-columns: 1fr; }
    .bpo-actions .btn { width: 100%; }
    .bpo-hero-visual { min-height: 355px; padding-right: 0; padding-bottom: 80px; }
    .bpo-photo { height: 270px; }
    .bpo-insight-card {
        top: auto;
        right: 14px;
        left: 14px;
        bottom: 0;
        transform: none;
        width: auto;
        min-height: 0;
        padding: 20px 22px;
    }
    .bpo-insight-card strong { font-size: 19px; line-height: 1.18; }
    .bpo-insight-card strong br { display: block; }
    .bpo-card-line { margin: 12px 0 9px; }
    .bpo-pillars-grid { grid-template-columns: 1fr; }
    .bpo-pillar { padding: 14px 0; }
    .bpo-pillar:not(:last-child):after {
        right: 0;
        left: 65px;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
    }
    .bpo-benefits-grid { grid-template-columns: 1fr; gap: 34px; }
    .bpo-benefits-copy h2 { font-size: 33px; }
    .bpo-cta-card { grid-column: auto; padding: 27px 24px; }
    .bpo-cta-card h2 { font-size: 31px; }
}
