/*
Theme Name: Luana Amaral Terapia Online V3
Author: LTA Agência Marketing Digital
Description: Tema WordPress ultra leve, responsivo e otimizado para SEO para a Psicóloga Luana Amaral, com páginas de serviços, landing pages, sitemap, metadados e CTA para WhatsApp.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luana-amaral
*/

:root {
    --la-red: #c3312b;
    --la-red-dark: #8f1f1b;
    --la-ink: #252525;
    --la-muted: #646464;
    --la-line: #e7dedb;
    --la-soft: #fff7f4;
    --la-soft-2: #f4efed;
    --la-white: #ffffff;
    --la-dark: #2d2d2d;
    --la-radius: 22px;
    --la-radius-sm: 14px;
    --la-shadow: 0 18px 55px rgba(66, 42, 35, .10);
    --la-shadow-soft: 0 10px 28px rgba(66, 42, 35, .08);
    --la-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--la-ink);
    background: var(--la-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; color: var(--la-ink); letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
ul { margin-top: 0; }
::selection { background: var(--la-red); color: var(--la-white); }

.la-container { width: min(var(--la-container), calc(100% - 40px)); margin: 0 auto; }
.la-site-main { overflow: hidden; }
.la-skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--la-ink);
    color: var(--la-white);
    border-radius: 12px;
}
.la-skip-link:focus { top: 14px; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.la-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(231,222,219,.88);
}

body.admin-bar .la-site-header { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .la-site-header { top: 46px; }
}
.la-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.la-brand { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.la-brand img { width: min(330px, 44vw); height: auto; }
.la-main-nav { margin-left: auto; }
.la-menu { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.la-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--la-dark);
    font-weight: 650;
    font-size: .94rem;
}
.la-menu a:hover, .la-menu .current-menu-item > a { background: var(--la-soft); color: var(--la-red-dark); }
.la-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--la-red);
    color: var(--la-white);
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(195,49,43,.22);
    white-space: nowrap;
}
.la-header-cta:hover { background: var(--la-red-dark); }
.la-menu-toggle { display: none; border: 0; background: var(--la-soft); border-radius: 12px; padding: 12px; cursor: pointer; }
.la-menu-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: var(--la-ink); margin: 4px 0; border-radius: 99px; }

.la-hero {
    position: relative;
    padding: clamp(62px, 10vw, 128px) 0 72px;
    background:
        radial-gradient(circle at 8% 18%, rgba(195,49,43,.12), transparent 32%),
        radial-gradient(circle at 86% 6%, rgba(94,80,77,.12), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff7f4 100%);
}
.la-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -48% -10%;
    height: 240px;
    background: var(--la-white);
    transform: rotate(-2deg);
}
.la-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 42px; align-items: center; }
.la-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--la-red-dark);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
}
.la-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--la-red); border-radius: 99px; }
.la-hero-copy p { max-width: 700px; color: var(--la-muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.la-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0; }
.la-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 850;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.la-button:hover { transform: translateY(-2px); }
.la-button-primary { background: var(--la-red); color: var(--la-white); box-shadow: 0 14px 32px rgba(195,49,43,.22); }
.la-button-primary:hover { background: var(--la-red-dark); }
.la-button-secondary { background: var(--la-white); color: var(--la-ink); border-color: var(--la-line); box-shadow: var(--la-shadow-soft); }
.la-button-light { background: var(--la-white); color: var(--la-red-dark); box-shadow: var(--la-shadow-soft); }
.la-button-full { width: 100%; }
.la-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.la-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--la-line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--la-dark);
    font-weight: 750;
    font-size: .92rem;
}
.la-hero-card {
    padding: clamp(24px, 4vw, 36px);
    border-radius: calc(var(--la-radius) + 10px);
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(231,222,219,.9);
    box-shadow: var(--la-shadow);
}
.la-hero-card img { width: 100%; margin-bottom: 28px; }
.la-hero-card h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.la-hero-card p { color: var(--la-muted); }
.la-hero-card small { display: block; text-align: center; margin-top: 12px; color: var(--la-muted); font-weight: 750; }

.la-section { padding: clamp(64px, 9vw, 112px) 0; }
.la-soft-section { background: var(--la-soft); }
.la-section-heading { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.la-section-heading p { color: var(--la-muted); font-size: 1.08rem; }
.la-section-narrow { max-width: 860px; }
.la-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.la-feature-grid article,
.la-service-cards a,
.la-contact-card,
.la-post-card {
    padding: 24px;
    border-radius: var(--la-radius);
    background: var(--la-white);
    border: 1px solid var(--la-line);
    box-shadow: var(--la-shadow-soft);
}
.la-feature-grid article h3 { margin-bottom: 8px; }
.la-feature-grid article p,
.la-service-cards p { color: var(--la-muted); margin-bottom: 0; }
.la-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.la-split.reverse { direction: rtl; }
.la-split.reverse > * { direction: ltr; }
.la-split p { color: var(--la-muted); }
.la-card-list { display: grid; gap: 14px; }
.la-card-list div {
    padding: 22px;
    border-radius: var(--la-radius);
    background: var(--la-white);
    border: 1px solid var(--la-line);
    box-shadow: var(--la-shadow-soft);
}
.la-card-list strong { display: block; font-size: 1.12rem; }
.la-card-list span { color: var(--la-muted); }
.la-service-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.la-service-cards a { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.la-service-cards a:hover { transform: translateY(-4px); border-color: rgba(195,49,43,.36); box-shadow: var(--la-shadow); }
.la-service-cards span { width: 44px; height: 44px; display: grid; place-items: center; background: var(--la-soft); color: var(--la-red-dark); border-radius: 50%; font-weight: 900; margin-bottom: 18px; }
.la-center-action { display: flex; justify-content: center; margin-top: 28px; }
.la-process-card { display: grid; gap: 12px; padding: 30px; border-radius: calc(var(--la-radius) + 10px); background: var(--la-white); border: 1px solid var(--la-line); box-shadow: var(--la-shadow); }
.la-process-card span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--la-red); color: var(--la-white); border-radius: 50%; font-weight: 900; }
.la-process-card p { margin: -6px 0 12px; }

.la-page-hero {
    padding: clamp(54px, 9vw, 96px) 0;
    background: linear-gradient(135deg, var(--la-soft), #ffffff);
    border-bottom: 1px solid var(--la-line);
}
.la-page-hero-inner { max-width: 920px; }
.la-page-hero p { max-width: 760px; color: var(--la-muted); font-size: 1.1rem; }
.la-page-content { max-width: 920px; padding-top: 54px; padding-bottom: 74px; }
.la-page-section { margin-bottom: 42px; }
.la-page-section h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin-top: 0; }
.la-page-section p, .la-page-section li { color: #454545; font-size: 1.05rem; }
.la-highlight-box {
    padding: clamp(22px, 4vw, 34px);
    border-radius: var(--la-radius);
    background: var(--la-soft);
    border: 1px solid var(--la-line);
}
.la-check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.la-check-list li { position: relative; padding-left: 30px; }
.la-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--la-red); font-weight: 900; }
.la-faq {
    border: 1px solid var(--la-line);
    border-radius: var(--la-radius-sm);
    padding: 16px 18px;
    background: var(--la-white);
    margin-bottom: 12px;
    box-shadow: 0 8px 22px rgba(66,42,35,.05);
}
.la-faq summary { cursor: pointer; font-weight: 850; color: var(--la-ink); }
.la-faq p { margin: 12px 0 0; color: var(--la-muted); }
.la-index-groups { display: grid; gap: 34px; }
.la-index-group { padding-top: 12px; }
.la-link-grid, .la-sitemap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.la-link-grid a, .la-sitemap-list a {
    padding: 14px 16px;
    border: 1px solid var(--la-line);
    border-radius: 14px;
    background: var(--la-white);
    font-weight: 750;
    color: var(--la-dark);
}
.la-link-grid a:hover, .la-sitemap-list a:hover { color: var(--la-red-dark); border-color: rgba(195,49,43,.34); background: var(--la-soft); }
.la-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.la-contact-card { display: block; }
.la-contact-card span { display: block; color: var(--la-red-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.la-contact-card strong { display: block; font-size: 1.22rem; margin: 8px 0; }
.la-contact-card small { color: var(--la-muted); font-weight: 700; }
.la-post-list { padding: 58px 0 78px; display: grid; gap: 18px; }
.la-post-card h2 { font-size: 1.6rem; }
.la-read-more { font-weight: 850; color: var(--la-red-dark); }

.la-shortcode-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 30px 0;
    padding: clamp(22px, 4vw, 34px);
    border-radius: calc(var(--la-radius) + 6px);
    background: linear-gradient(135deg, var(--la-soft), #fff);
    border: 1px solid var(--la-line);
    box-shadow: var(--la-shadow-soft);
}
.la-shortcode-cta span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--la-red-dark);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .76rem;
}
.la-shortcode-cta h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); margin-bottom: 8px; }
.la-shortcode-cta p { color: var(--la-muted); margin-bottom: 0; }

.la-final-cta { background: var(--la-red-dark); color: var(--la-white); padding: 58px 0; }
.la-final-cta h2, .la-final-cta p, .la-final-cta .la-eyebrow { color: var(--la-white); }
.la-final-cta .la-eyebrow::before { background: var(--la-white); }
.la-final-cta p { opacity: .9; }
.la-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.la-site-footer { background: #262626; color: #f6f1ef; padding: 56px 0 26px; }
.la-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .7fr; gap: 30px; }
.la-footer-brand img { width: min(300px, 100%); padding: 10px; background: #fff; border-radius: 14px; margin-bottom: 16px; }
.la-site-footer h2 { color: #fff; font-size: 1.05rem; letter-spacing: 0; }
.la-site-footer p { color: rgba(255,255,255,.72); }
.la-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.la-footer-list a { color: rgba(255,255,255,.78); }
.la-footer-list a:hover { color: #fff; }
.la-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; }
.la-footer-bottom p { margin: 0; font-size: .92rem; }

.la-floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    background: #167a46;
    color: #fff;
    box-shadow: 0 18px 42px rgba(22,122,70,.35);
    font-weight: 800;
    line-height: 1.1;
    animation: laPulse 1.8s infinite;
}
.la-floating-whatsapp:hover { background: #0d6337; transform: translateY(-2px); }
.la-floating-icon { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; font-size: 1.2rem; }
@keyframes laPulse {
    0% { box-shadow: 0 0 0 0 rgba(22,122,70,.34), 0 18px 42px rgba(22,122,70,.35); }
    70% { box-shadow: 0 0 0 16px rgba(22,122,70,0), 0 18px 42px rgba(22,122,70,.35); }
    100% { box-shadow: 0 0 0 0 rgba(22,122,70,0), 0 18px 42px rgba(22,122,70,.35); }
}

@media (max-width: 980px) {
    .la-header-inner { min-height: 72px; }
    .la-menu-toggle { display: inline-block; margin-left: auto; }
    .la-main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        display: none;
        padding: 14px;
        background: var(--la-white);
        border: 1px solid var(--la-line);
        border-radius: 20px;
        box-shadow: var(--la-shadow);
    }
    .la-main-nav.is-open { display: block; }
    .la-menu { display: grid; gap: 4px; }
    .la-menu a { width: 100%; justify-content: flex-start; }
    .la-header-cta { display: none; }
    .la-hero-grid, .la-split { grid-template-columns: 1fr; }
    .la-feature-grid, .la-service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .la-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .la-container { width: min(100% - 28px, var(--la-container)); }
    .la-brand img { width: min(260px, 70vw); }
    .la-hero { padding-top: 46px; }
    .la-hero-grid { gap: 28px; }
    .la-hero-actions, .la-final-cta-inner, .la-shortcode-cta { align-items: stretch; flex-direction: column; }
    .la-button { width: 100%; min-height: 50px; text-align: center; }
    .la-feature-grid, .la-service-cards, .la-contact-grid, .la-link-grid, .la-sitemap-list, .la-footer-grid { grid-template-columns: 1fr; }
    .la-service-cards a { min-height: auto; }
    .la-floating-whatsapp { left: auto; right: 12px; bottom: 12px; max-width: calc(100% - 24px); justify-content: center; border-radius: 18px; }
    .la-site-footer { padding-bottom: 92px; }
}
