/* =========================================================
   LYRA CONTÁBIL - folha de estilos do site
   Ordem: base > cabeçalho > hero > números > serviços >
          público > sobre > depoimentos > contato > rodapé
   ========================================================= */

/* BASE */
:root {
    --gold: #C5A059;
    --black: #0F0F0F;
    --white: #FFFFFF;
    --bg-light: #FAFAFA;
    --text-main: #1A1A1A;
    --text-muted: #64748b;
    --radius-xl: 1rem;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    --gradient: linear-gradient(135deg, #0f0f0f 0%, #262626 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--white); color: var(--text-main); line-height: 1.6; }

.svg-icon {
    width: 42px; height: 42px;
    stroke: var(--gold);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1.5rem;
}

/* AJUSTE DO LOGO COM TEXTO */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: var(--gradient);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover { transform: scale(1.05); }

.logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1;
}

.logo-text span {
    color: var(--gold);
    font-weight: 400;
}

.nav-menu { display: flex; gap: 2rem; align-items: center; }

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover { color: var(--gold); }

.btn-header {
    background: #25D366;
    color: white !important;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* HERO */
.hero {
    padding: 150px 5% 77px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    background: radial-gradient(circle at top right, #fff9f0 0%, #ffffff 100%);
}
.hero-content h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--black); letter-spacing: -2px; }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; }
.btn { padding: 1.1rem 2.2rem; border-radius: var(--radius-xl); font-weight: 700; cursor: pointer; transition: 0.4s; border: none; text-decoration: none; display: inline-flex; align-items: center; }
.btn-primary { background: var(--black); color: var(--gold); }
.btn-secondary { background: var(--bg-light); color: var(--black); border: 1px solid #e2e8f0; }
.hero-img img { width: 100%; height: auto; border-radius: 2.5rem; filter: grayscale(10%); }

/* SEÇÃO DE AUTORIDADE - FULL WIDTH & VERTICAL */
.authority-section {
    background: var(--gradient);
    padding: 80px 5%;
    color: white;
    width: 100%;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* GRID DE MÉTRICAS (CARDS) */
.auth-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 40px 20px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: 0.3s ease;
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
}

.metric-text b {
    font-size: 3rem;
    display: block;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
    font-weight: 800;
}

.metric-text span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* LINHA DIVISORA HORIZONTAL */
.auth-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* DIFERENCIAIS (TRUSTS) */
.auth-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-item svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    fill: none;
    margin-bottom: 15px;
    opacity: 0.9;
}

.trust-item p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ccc;
    max-width: 220px;
    line-height: 1.4;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .auth-metrics, .auth-trust {
        grid-template-columns: 1fr;
    }
    .metric-item { padding: 30px; }
}

/* SERVIÇOS */
section { padding: 120px 5%; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 2.8rem; letter-spacing: -1px; margin-bottom: 15px; }
.section-tag { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.section-lead { max-width: 700px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 3.5rem 2.5rem; border-radius: var(--radius-xl); border: 1px solid #f0f0f0; transition: 0.4s ease; }
.service-card:hover { border-color: var(--gold); transform: translateY(-10px); box-shadow: var(--shadow); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }

/* AUDIENCE */
.audience {
    background-color: #f2f2f0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.audience::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--gold) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.audience-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.profile-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    text-align: left;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.profile-icon {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(197, 160, 89, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

.profile-card h3 {
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 15px;
    position: relative;
}

.profile-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .audience-grid-new { grid-template-columns: 1fr; }
}

/* SOBRE */
.about-modern {
    padding: 120px 5%;
    background-color: var(--white);
    overflow: hidden;
}

.about-modern h2 {
    font-size: 2.8rem;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* Cabeçalho da seção centralizado para romper o padrão lateral */
.about-header-top {
    text-align: center;
    margin-bottom: 60px;
}

.about-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* O parágrafo de destaque fica largo, centralizado e imponente */
.about-content .highlight {
    font-size: 1.6rem;
    color: var(--black);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    padding: 0 40px;
}

.about-content .highlight::before,
.about-content .highlight::after {
    content: '"';
    color: var(--gold);
    font-size: 4rem;
    position: absolute;
    opacity: 0.3;
    font-family: serif;
}
.about-content .highlight::before { left: 0; top: -20px; }
.about-content .highlight::after { right: 0; bottom: -40px; }

/* Corpo do texto em duas colunas de leitura leve */
.about-text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: flex-start;
}

.about-text-columns p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}
.about-text-columns p + p { margin-top: 20px; }

/* Elemento visual que corta o texto para dar modernidade */
.about-signature {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding: 30px;
    background: var(--gradient);
    border-radius: var(--radius-xl);
    border-left: 5px solid var(--gold);
}

.sig-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.sig-text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* Ajuste Responsivo */
@media (max-width: 850px) {
    .about-text-columns { grid-template-columns: 1fr; gap: 20px; }
    .about-content .highlight { font-size: 1.3rem; }
}

/* DEPOIMENTOS */
#depoimentos {
    background-color: #f2f2f0;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.testi-card {
    background: var(--white);
    padding: 3rem 2.2rem;
    border-radius: var(--radius-xl);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    min-height: 320px;
}

.testi-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Aspas estilizadas no fundo */
.testi-card::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.1;
    font-family: 'Georgia', serif;
}

.stars {
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.testi-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}

.author-info strong {
    display: block;
    color: var(--black);
    font-size: 1rem;
    line-height: 1.2;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .testi-grid { grid-template-columns: 1fr; }
    .testi-card { padding: 2rem 1.5rem; min-height: auto; }
}

/* CTA & FORM */
.cta-final { background: var(--gradient); color: white; border-radius: 2.5rem; padding: 80px 6%; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.cta-text h2 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 2rem; color: var(--gold); letter-spacing: -2px; }
.form-box { background: white; padding: 3.5rem; border-radius: 2rem; color: var(--black); }
input, textarea { width: 100%; padding: 1rem; border-radius: 0.8rem; border: 1px solid #e2e8f0; margin-bottom: 1.2rem; font-family: inherit; font-size: 1rem; }
.btn-send { background: var(--gold); color: var(--black); width: 100%; justify-content: center; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.form-alert { padding: 1rem 1.2rem; border-radius: 0.8rem; margin-bottom: 1.2rem; font-weight: 600; font-size: 0.95rem; }
.form-ok { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.form-err { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* FOOTER */
footer {
    background: #0A0A0A;
    color: #a1a1a1;
    padding: 100px 5% 40px;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
}

.f-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* 4 colunas */
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.f-logo {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.f-logo span { color: var(--gold); }

.f-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.f-links h4 {
    color: white;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    position: relative;
}

/* Linha dourada embaixo do título */
.f-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.f-links ul { list-style: none; }
.f-links li { margin-bottom: 1rem; }
.f-links a { color: #a1a1a1; text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.f-links a:hover { color: var(--gold); padding-left: 5px; }

.f-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.social-icon:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.f-contact .contact-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.f-contact svg {
    margin-top: 4px;
    flex-shrink: 0;
}

.f-about .f-crc { font-size: 0.8rem; color: var(--gold); }
.f-contact .contact-item span a { color: inherit; text-decoration: none; }
.footer-bottom .fb-credit { opacity: 0.6; }

.f-contact .wa-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .f-grid { grid-template-columns: 1fr; text-align: center; }
    .f-links h4::after { left: 50%; transform: translateX(-50%); }
    .f-contact p { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* WA FLOAT */
.wa-button { position: fixed; bottom: 40px; right: 40px; background: #25D366; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3); z-index: 1000; transition: 0.3s; }

@media (max-width: 1024px) {
    .hero, .cta-final, .auth-container { grid-template-columns: 1fr; text-align: center; }
    .auth-metrics { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; justify-content: center; gap: 30px; }
    .auth-trust { padding-top: 30px; }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
    .hero-img { order: -1; }
    .nav-menu { display: none; }
    .f-grid { grid-template-columns: 1fr; text-align: center; }
}
