/*
Theme Name: Conversa de Advogado
Theme URI: https://conversadeadvogado.com.br/
Author: Projeto Conversa de Advogado
Description: Tema personalizado com blog WordPress e vitrine de cursos editável.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: conversa-advogado
*/

:root{--navy:#14243d;--navy2:#0c1728;--gold:#c6a15b;--cream:#f7f5f0;--ink:#263447;--muted:#647185}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.wrap{width:min(1160px,calc(100% - 48px));margin:auto}.topline{height:5px;background:var(--gold)}header{background:#fff;position:sticky;top:0;z-index:10;border-bottom:1px solid #e9e9e9}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:800;letter-spacing:-.6px;color:var(--navy)}.brandmark{width:37px;height:37px;background:var(--navy);color:var(--gold);display:grid;place-items:center;border-radius:9px;font-family:Georgia,serif;font-size:26px}.navlinks{display:flex;gap:27px;align-items:center;font-size:14px;font-weight:650}.navlinks a:hover,.navlinks a:focus{color:#9e782e}.navcta{background:var(--navy);color:white!important;padding:13px 17px;border-radius:5px}.hero{background:linear-gradient(120deg,#14243d 0%,#172b49 68%,#213d60 100%);color:#fff;overflow:hidden}.hero-inner{min-height:540px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:36px}.eyebrow{color:var(--gold);font-size:12px;letter-spacing:2.6px;font-weight:800;text-transform:uppercase}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,5vw,70px);line-height:1.07;letter-spacing:-1.6px;margin:22px 0 24px;font-weight:normal}.hero h1 em{font-style:normal;color:#e1bd77}.hero-lead{font-size:19px;line-height:1.6;max-width:620px;color:#f1f3f6}.hero-detail{font-size:15px;line-height:1.8;max-width:590px;color:#c7d1df}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:16px 22px;font-size:14px;font-weight:750;border-radius:4px}.btn-primary{background:var(--gold);color:#19263b}.btn-outline{border:1px solid #d4b476;color:#f5dfb4}.hero-portrait{height:100%;min-height:490px;display:flex;align-items:flex-end;justify-content:center;position:relative}.hero-portrait:before{content:'';position:absolute;width:380px;height:380px;border:1px solid #ffffff22;border-radius:50%;bottom:55px}.hero-portrait img{position:relative;max-height:505px;max-width:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 20px 24px #08122244)}.trust{background:#f1eee8;border-bottom:1px solid #e7e0d4}.trust-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:23px 0}.trust-item{border-left:3px solid var(--gold);padding-left:17px}.trust-item strong{display:block;font-size:16px;color:var(--navy)}.trust-item span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.section{padding:88px 0}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:35px}.section h2{font-family:Georgia,serif;color:var(--navy);font-size:clamp(32px,3.6vw,45px);font-weight:normal;line-height:1.18;margin:14px 0}.section-intro{max-width:520px;line-height:1.75;color:var(--muted);font-size:15px}.about{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;align-items:center}.about-panel{background:var(--cream);padding:42px;border-left:5px solid var(--gold)}.about-panel blockquote{font-family:Georgia,serif;font-size:27px;line-height:1.4;color:var(--navy);margin:0}.about-panel .sign{margin-top:26px;color:#85652d;font-size:13px;font-weight:bold}.about-copy p{line-height:1.85;color:#526173}.course-section{background:#f7f8fa}.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.course{background:#fff;border:1px solid #e5e9ed;padding:28px;min-height:240px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.course:hover{transform:translateY(-3px);box-shadow:0 12px 28px #1b2d4012}.course-top{display:flex;justify-content:space-between;align-items:center;color:#99743d;font-size:11px;font-weight:800;letter-spacing:1.6px}.course-icon{font-size:20px}.course h3{font-family:Georgia,serif;color:var(--navy);font-size:24px;font-weight:normal;margin:27px 0 8px}.course p{color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 25px}.course a{color:#8b652d;font-size:13px;font-weight:bold;margin-top:auto}.course a span{margin-left:5px}.more{margin-top:20px;font-size:12px;color:#697585}.feature{background:var(--navy);color:white}.feature-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:70px 0}.feature h2{font-family:Georgia,serif;font-size:40px;font-weight:normal;margin:12px 0}.feature p{color:#c7d1df;line-height:1.7;max-width:670px}.feature .btn{white-space:nowrap}.contact{padding:65px 0;text-align:center}.contact p{color:var(--muted);line-height:1.7}.contact .btn{margin-top:14px}footer{border-top:1px solid #e5e9ed;padding:28px 0;font-size:12px;color:#6e7884}.foot{display:flex;justify-content:space-between;gap:15px}footer a{color:var(--navy)}@media(max-width:800px){.navlinks{gap:12px;flex-wrap:wrap;justify-content:flex-end}.navlinks a{font-size:12px}.hero-inner{grid-template-columns:1fr;gap:0;padding-top:50px}.hero-portrait{min-height:0;height:340px}.hero-portrait img{max-height:340px}.hero-portrait:before{width:260px;height:260px;bottom:25px}.trust-inner{grid-template-columns:1fr}.about{grid-template-columns:1fr;gap:24px}.courses{grid-template-columns:repeat(2,1fr)}.feature-inner{flex-direction:column;align-items:flex-start}.section{padding:60px 0}}@media(max-width:520px){.wrap{width:min(100% - 32px,1160px)}.nav{padding:13px 0;flex-wrap:wrap}.brand{font-size:17px}.navlinks{width:100%;justify-content:space-between;gap:9px}.navlinks a{font-size:11px}.navcta{padding:9px}.hero h1{font-size:43px}.hero-lead{font-size:17px}.courses{grid-template-columns:1fr}.section-head{display:block}.about-panel{padding:26px}.foot{display:block}}

/* WordPress integration */
.admin-bar .site-header{top:32px} .content-area{max-width:900px;margin:55px auto 90px;padding:0 24px;min-height:45vh}.content-area h1,.content-area h2,.content-area h3{font-family:Georgia,serif;color:var(--navy)}.content-area h1{font-size:clamp(32px,4vw,50px)}.content-area p,.content-area li{line-height:1.85}.post-card{padding:24px 0;border-bottom:1px solid #d9dee4}.post-card h2{font-size:27px;margin:10px 0}.post-card a{color:var(--navy)}.post-meta{font-size:13px;color:var(--muted)}.recent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:28px}.recent-card{background:white;padding:24px;border:1px solid #e4e7eb;border-radius:8px}.recent-card a{color:var(--navy);text-decoration:none}.recent-card h3{font-family:Georgia,serif;font-size:23px}.recent-card p{line-height:1.6}.site-header .wrap{gap:20px}.site-header nav{display:flex;gap:22px;flex-wrap:wrap}.site-header nav a{text-decoration:none}.wp-block-image img{max-width:100%;height:auto}img{max-width:100%}@media(max-width:760px){.recent-grid{grid-template-columns:1fr}.admin-bar .site-header{top:46px}}

/* Versão 1.1: identidade visual e capas específicas */
.brand-logo{display:block;width:185px;max-height:74px;object-fit:contain;object-position:left center}.brand{flex-shrink:0}.nav{min-height:94px}.course{padding:0;overflow:hidden;min-height:0}.course-cover{display:block;aspect-ratio:750/422;background:#edf0f4;overflow:hidden}.course-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.course:hover .course-cover img{transform:scale(1.025)}.course-body{padding:22px 24px 27px;display:flex;flex:1;flex-direction:column}.course h3{margin:15px 0 10px;font-size:23px}.course-body p{margin-bottom:18px}.recent-card{padding:0;overflow:hidden}.recent-cover{display:block;aspect-ratio:16/9;background:#eef1f4}.recent-cover img{display:block;width:100%;height:100%;object-fit:cover}.recent-card-body{padding:22px}.post-list-cover{display:block;margin-bottom:18px;max-width:420px}.post-list-cover img{display:block;width:100%;height:auto;border-radius:6px}.detail-cover{width:100%;max-width:750px;height:auto;border-radius:8px;margin:12px 0 24px}.course-detail .entry-content{margin-bottom:30px}.course-detail .btn{color:#19263b}.site-header .navlinks{gap:18px}@media(max-width:760px){.brand-logo{width:145px}.nav{min-height:75px}.navlinks{gap:10px!important}}

/* Versão 1.2: conteúdo editorial dos cursos */
.course-detail .entry-content h2{margin:32px 0 12px;font-size:30px}.course-detail .entry-content h3{font-size:23px}.course-detail .entry-content ul,.course-detail .entry-content ol{padding-left:25px}.course-detail .entry-content li{margin-bottom:9px}.cda-course-subtitle{font-size:19px;color:#42516a;line-height:1.6}.cda-course-meta{font-size:14px;color:#7c6239;font-weight:700}.course-detail .entry-content{overflow-wrap:anywhere}
