/*
 * Tita Serafim Premium V17.3.5
 * Camada intencional de experiência: acessibilidade, conversão e redução de ruído.
 * Carregada depois do sistema visual base.
 */

/* ================================================================
   V17.3.5: acessibilidade, conversão e redução de ruído
   A interface privilegia leitura, previsibilidade e decisão tranquila.
   ================================================================ */

[hidden] { display: none !important; }

/* Contexto do hero, tratado como texto editorial e não como badge. */
.hero-context {
    max-width: 620px;
    margin: 0 0 20px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.55;
}

/* Botões e links: alvos claros, linguagem natural e contraste AA. */
.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
    min-height: 50px;
    padding-inline: 24px;
    font-size: 12px;
    letter-spacing: .035em;
    text-transform: none;
}
.btn-accent { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-accent:hover { background: #68481f; border-color: #68481f; }
.btn-secondary {
    background: transparent;
    border-color: rgba(32,26,23,.34);
    color: var(--ink);
}
.btn-secondary:hover { background: rgba(32,26,23,.055); border-color: var(--ink); }
.text-link {
    min-height: 44px;
    padding: 10px 0 7px;
    font-size: 12px;
    letter-spacing: .055em;
    text-transform: none;
}
.card-action {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: auto;
    color: var(--ink);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .025em;
}
.card-action::after { content: ""; width: 20px; height: 1px; margin-left: 10px; background: currentColor; transition: width .25s ease; }
a:hover .card-action::after { width: 30px; }

/* Navegação legível e estados que não dependem somente de opacidade. */
.main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: .055em;
    text-transform: none;
}
.main-nav a:hover { opacity: 1; color: var(--gold-dark); }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a { opacity: 1; color: var(--ink); box-shadow: inset 0 -1px 0 var(--gold-dark); }
.main-nav > ul > li:last-child > a,
.main-nav .primary-menu > li:last-child > a { min-height: 46px; }
.main-nav .sub-menu a { min-height: 44px; font-size: 12px; letter-spacing: .025em; }
.menu-toggle { min-width: 76px; min-height: 44px; justify-content: flex-end; }
.menu-toggle-label { font-size: 12px; letter-spacing: .035em; text-transform: none; }

/* Hero: menos ornamento, mais presença e leitura. */
.home-hero h1 { max-width: 520px; font-size: clamp(52px, 5vw, 68px); line-height: 1; }
.home-hero .hero-lead { max-width: 495px; margin: 24px 0 30px; font-size: clamp(15.5px, 1.12vw, 17px); line-height: 1.7; }
.hero-actions { gap: 12px; }
.home-hero .btn-secondary { border-color: rgba(32,26,23,.34); }

/* Método: uma sequência, não uma grade de badges. */
.method-grid--quiet {
    gap: 20px;
    border: 0;
}
.method-grid--quiet .method-item,
.method-grid--quiet > article {
    min-height: 285px;
    padding: clamp(34px, 4vw, 48px);
    background: var(--ivory);
    border: 0 !important;
}
.method-grid--quiet > article:nth-child(2) { transform: translateY(22px); }
.method-sequence {
    display: block;
    margin-bottom: 62px;
    color: var(--gold-dark);
    font-family: var(--display);
    font-size: 38px;
    line-height: 1;
}
.method-grid--quiet h2,
.method-grid--quiet h3 { margin-bottom: 15px; font-family: var(--body); font-size: 22px; font-weight: 500; }
.method-grid--quiet p { max-width: 310px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Jornadas: o card inteiro é uma decisão possível. */
.dilemma-grid {
    gap: 18px;
    border: 0;
}
.dilemma-card {
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: clamp(34px, 4vw, 48px);
    background: var(--paper);
    border: 1px solid var(--line-soft);
    box-shadow: 0 18px 50px rgba(31,23,18,.035);
    transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.dilemma-card:hover,
.dilemma-card:focus-visible {
    background: var(--paper);
    border-color: rgba(126,91,43,.28);
    box-shadow: 0 24px 64px rgba(31,23,18,.075);
    transform: translateY(-4px);
}
.dilemma-card h2,
.dilemma-card h3 { max-width: 460px; margin-bottom: 18px; font-size: clamp(20px, 1.65vw, 24px); }
.dilemma-card p { max-width: 470px; margin-bottom: 26px; color: var(--muted); font-size: 15px; line-height: 1.72; }

/* Consultoria integrada: hierarquia por espaço e contraste, não por numeração. */
.complete-tools { border: 0; }
.complete-tools p {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-light);
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.65;
}
.complete-tools p:first-child { border-top: 1px solid var(--line-light); }
.complete-tools strong { display: block; color: #fff; font-weight: 600; }

/* Ferramentas: lista editorial escaneável, sem números ou setas decorativas. */
.service-list--editorial { border-top: 1px solid var(--line); }
.service-list--editorial > a,
.path-tools > a {
    grid-template-columns: minmax(190px,.62fr) minmax(0,1fr) auto;
    gap: clamp(22px, 4vw, 52px);
    min-height: 104px;
    padding: 25px 4px;
    border-bottom: 1px solid var(--line);
    transition: padding .3s var(--ease), background .3s ease;
}
.service-list--editorial > a:hover,
.service-list--editorial > a:focus-visible,
.path-tools > a:hover,
.path-tools > a:focus-visible { padding-inline: 16px; background: var(--ivory); }
.service-list--editorial strong,
.path-tools strong { font-size: 17px; }
.service-list--editorial span,
.path-tools span { color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-list--editorial .card-action,
.path-tools .card-action { justify-self: end; white-space: nowrap; }

/* Depoimentos: controles textuais com área de toque confortável. */
.testimonial-slide figcaption strong { font-size: 12px; letter-spacing: .025em; text-transform: none; }
.testimonial-slide figcaption small { font-size: 12px; letter-spacing: .02em; text-transform: none; }
.testimonial-controls { gap: 18px; }
.testimonial-controls button {
    width: auto;
    min-width: 76px;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: none;
}
.testimonial-status { min-width: 48px; color: var(--muted); font-size: 12px; text-align: center; }

/* Princípios: menos quadrícula, mais leitura. */
.principles-grid--quiet {
    gap: 18px;
    border: 0;
}
.principles-grid--quiet article {
    min-height: 220px;
    padding: 34px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
}
.principles-grid--quiet h3 { font-size: 20px; }
.principles-grid--quiet p { font-size: 15px; line-height: 1.75; }

/* Serviços e dilemas: texto de uso real, CTA previsível. */
.service-hero-copy .btn { margin-top: 2px; }
.service-process-grid--quiet { gap: 18px; background: transparent; }
.service-process-grid--quiet article { min-height: 245px; padding: 34px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12) !important; }
.process-sequence { display: block; margin-bottom: 52px; color: #e2c693; font-family: var(--display); font-size: 34px; }
.outcome-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.service-outcome .text-link { color: var(--ink); }
.service-context-inner { gap: 28px; }
.service-context-inner p { max-width: 720px; font-size: 14px; line-height: 1.7; }
.dilemma-note { font-size: 13px; line-height: 1.7; }

/* Formulário: conversa progressiva, não interrogatório. */
.contact-guidance h2 { max-width: 330px; margin-bottom: 26px; font-family: var(--body); font-size: 28px; line-height: 1.25; }
.contact-guidance ol { margin-top: 0; }
.contact-guidance li { grid-template-columns: 28px 1fr; gap: 16px; padding: 24px 0; }
.contact-guidance li > span { color: var(--gold-dark); font-family: var(--display); font-size: 24px; letter-spacing: 0; }
.contact-guidance strong { font-size: 15px; }
.contact-guidance li p { font-size: 13.5px; line-height: 1.7; }
.contact-privacy { font-size: 12.5px; line-height: 1.65; }
.contact-card { border: 0; box-shadow: 0 28px 80px rgba(31,23,18,.075); }
.contact-card .lead { font-size: 15px; }
.form-grid--conversation { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.form-row { gap: 8px; }
.form-row label { font-size: 12.5px; font-weight: 600; letter-spacing: .015em; text-transform: none; }
.form-row input,
.form-row select,
.form-row textarea {
    min-height: 52px;
    padding: 13px 0;
    font-size: 16px;
    line-height: 1.5;
}
.form-row textarea { min-height: 132px; }
.form-row small { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--gold-dark); box-shadow: 0 1px 0 var(--gold-dark); }
.form-more { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-more summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.form-more summary span { color: var(--muted); font-size: 12px; font-weight: 400; }
.form-grid--optional { margin-top: 22px; }
.consent-row { font-size: 12.5px; line-height: 1.6; }
.consent-row input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.form-note { font-size: 12.5px; line-height: 1.6; }
.notice { font-size: 14px; line-height: 1.6; }
.notice--errors { border-left-color: #8b2e2e; }
.notice--errors strong { display: block; margin-bottom: 8px; }
.notice--errors ul { margin: 0 0 0 20px; }
.notice--errors a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: #8b2e2e; box-shadow: 0 1px 0 #8b2e2e; }
.consent-row.has-error { color: #752525; }
.field-error { display: block; color: #752525 !important; font-size: 12px !important; font-weight: 600; line-height: 1.5; }

/* Busca: rótulo e ação visíveis. */
.search-form { display: grid; gap: 9px; border: 0; }
.search-form > label { color: var(--ink-soft); font-size: 12.5px; font-weight: 600; }
.search-form-row { display: grid; grid-template-columns: minmax(0,1fr) auto; border-bottom: 1px solid var(--ink); }
.search-form input[type="search"] { min-height: 50px; padding: 12px 0; font-size: 15px; }
.search-form button {
    min-width: 76px;
    min-height: 50px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
}
.search-form button:hover { background: transparent; color: var(--gold-dark); transform: none; }

/* Rodapé e ações persistentes. */
.footer-heading { margin: 0 0 10px; color: #e2c693; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.footer-links a { min-height: 38px; display: inline-flex; align-items: center; font-size: 13px; }
.footer-bottom { font-size: 12px; letter-spacing: .025em; text-transform: none; }
.float-whatsapp {
    min-width: 48px;
    min-height: 48px;
    padding: 13px 16px;
    font-size: 12px;
    letter-spacing: .025em;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.float-whatsapp.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

/* Metadados e textos funcionais não ficam minúsculos. */
.breadcrumbs,
.entry-meta,
.post-nav-label,
.meta { font-size: 12px; letter-spacing: .045em; }
.post-body .meta { font-size: 12px; }
.post-card p { font-size: 14px; line-height: 1.65; }
.post-nav-title { font-size: 15px; line-height: 1.5; }
.entry-content p,
.entry-content li { font-size: 16.5px; line-height: 1.82; }

@media (max-width: 1100px) {
    .main-nav a { font-size: 12px; }
}

@media (max-width: 860px) {
    .main-nav > ul > li > a,
    .main-nav .primary-menu > li > a { min-height: 48px; padding: 14px 0; font-size: 13px; }
    .main-nav .sub-menu a { min-height: 44px; padding: 10px 42px; font-size: 12px; }
    .submenu-toggle { width: 44px; height: 44px; }
    .method-grid--quiet > article:nth-child(2) { transform: none; }
    .service-list--editorial > a,
    .path-tools > a { grid-template-columns: minmax(160px,.65fr) minmax(0,1fr); }
    .service-list--editorial .card-action,
    .path-tools .card-action { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
    .form-grid--conversation { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding-block: 68px; }
    h1, .entry-title, .page-title { font-size: clamp(38px, 10.8vw, 48px); }
    h2 { font-size: clamp(28px, 8vw, 36px); }
    .title-long { font-size: clamp(35px, 9.8vw, 44px) !important; }
    .title-xlong { font-size: clamp(32px, 9vw, 40px) !important; }
    .home-hero h1 { font-size: clamp(38px, 10.8vw, 46px); }
    .home-hero .hero-lead { font-size: 15.5px; }
    .hero-context { font-size: 12.5px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .method-grid--quiet .method-item,
    .method-grid--quiet > article { min-height: 0; padding: 32px 28px; }
    .method-sequence { margin-bottom: 38px; }
    .dilemma-card { min-height: 0; padding: 32px 27px; }
    .service-list--editorial > a,
    .path-tools > a { grid-template-columns: 1fr; gap: 8px; padding: 24px 4px; }
    .service-list--editorial .card-action,
    .path-tools .card-action { grid-column: auto; }
    .testimonial-slide blockquote { font-size: 30px; }
    .testimonial-controls { justify-content: space-between; }
    .testimonial-controls button { min-width: 88px; }
    .contact-card { padding: 30px 22px; }
    .contact-guidance li p { font-size: 14px; }
    .footer-links a { min-height: 42px; font-size: 13px; }
    .float-whatsapp { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 48px; height: 48px; padding: 0; justify-content: center; }
    .float-whatsapp span { display: none; }
}
