
:root{
  --bu:      #d66d31;
  --bu-2:    #ad5424;
  --bu-3:    #f4a261;
  --bu-tint: rgba(214,109,49,.15);
}
body{background:var(--paper)}

/* ── Hero ── */
.curso-hero{padding:136px 0 0;background:var(--paper)}
body.theme-dark .curso-hero{background:var(--ink)}
.curso-hero .wrap{max-width:1100px}
.crumb{display:flex;align-items:center;gap:10px;font-family:var(--mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:rgba(0,57,77,.55);margin-bottom:24px;flex-wrap:wrap}
.crumb a{color:rgba(0,57,77,.7);text-decoration:none}
.crumb a:hover{color:var(--ink-3)}
.crumb .sep{opacity:.5}
.crumb .now{color:var(--ink-3)}
body.theme-dark .crumb{color:rgba(244,241,236,.55)}
body.theme-dark .crumb a{color:rgba(244,241,236,.7)}
body.theme-dark .crumb .now{color:var(--bu-3)}
.curso-hero__grid{display:grid;grid-template-columns:1fr 380px;gap:56px;align-items:start}
@media(max-width:1024px){.curso-hero__grid{grid-template-columns:1fr;gap:32px}}
.curso-badge{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#fff;background:var(--bu);padding:6px 16px;border-radius:999px;margin-bottom:14px}
.curso-hero h1{font-family:var(--ubu);font-weight:300;font-size:clamp(28px,2.8vw + .4rem,44px);line-height:1.15;color:var(--ink);margin:0 0 14px;letter-spacing:-.015em}
body.theme-dark .curso-hero h1{color:var(--paper)}
.curso-hero .subtitulo{font-size:16px;line-height:1.7;color:rgba(0,57,77,.72);margin:0 0 28px;max-width:54ch}
body.theme-dark .curso-hero .subtitulo{color:rgba(244,241,236,.72)}

/* Hero image */
.curso-hero__img{aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#f3f4f6;box-shadow:0 24px 60px -28px rgba(0,57,77,.22)}
.curso-hero__img img{width:100%;height:100%;object-fit:cover;display:block}

/* ── Two-column layout ── */
.curso-layout{
  max-width:1360px;margin:0 auto;padding:40px 40px 80px;
  display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:64px;
  align-items:start;
}
@media(max-width:1024px){
  .curso-layout{grid-template-columns:1fr;gap:32px;padding:32px 24px 64px}
  .curso-aside{order:-1}
}

/* ── Content sections (creme-island: always white, always dark text) ── */
.csect{background:#fff;border:1px solid var(--line);border-radius:16px;padding:36px 40px;margin-bottom:18px;box-shadow:0 6px 20px -14px rgba(0,57,77,.14)}
/* dark mode: stay white so local dark text remains readable */
body.theme-dark .csect{background:#fff;border-color:rgba(0,57,77,.15)}
@media(max-width:680px){.csect{padding:26px 22px}}
.csect h2{font-family:var(--ubu);font-size:clamp(20px,1.4vw + .4rem,28px);font-weight:500;color:#00394d;margin:0 0 20px;line-height:1.25}
.csect h2 em{color:var(--bu);font-style:normal}
.csect p{font-size:15px;line-height:1.72;color:#3b4b5a;margin:0 0 12px}
.csect p:last-child{margin-bottom:0}
.csect ul{padding-left:0;list-style:none;margin:0;display:grid;gap:12px}
.csect ul li{position:relative;padding-left:30px;font-size:14.5px;line-height:1.6;color:#3b4b5a}
.csect ul li::before{content:'';position:absolute;left:0;top:8px;width:18px;height:18px;border-radius:50%;background:var(--bu-tint)}
.csect ul li::after{content:'';position:absolute;left:4px;top:12px;width:10px;height:6px;border-left:2px solid var(--bu);border-bottom:2px solid var(--bu);transform:rotate(-45deg)}

/* ── Módulos accordion (creme-island: white card, dark text) ── */
.units{display:grid;gap:12px;margin-top:4px}
.unit{background:#fff;border-radius:12px;border:1px solid var(--line);overflow:hidden}
body.theme-dark .unit{background:#fff;border-color:rgba(0,57,77,.15)}
.unit-h{width:100%;background:none;border:0;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;text-align:left;color:#00394d;transition:background .2s}
.unit-h:hover{background:var(--bu-tint)}
.uh-left{display:flex;gap:14px;align-items:center}
.uh-num{font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;color:var(--bu);background:var(--bu-tint);padding:5px 11px;border-radius:999px;white-space:nowrap}
.uh-title{font-size:15px;font-weight:500;text-align:left;color:#00394d}
.unit-plus{width:28px;height:28px;border-radius:50%;background:var(--bu-tint);color:var(--bu);display:grid;place-items:center;font-size:18px;font-weight:300;flex-shrink:0;transition:transform .25s;line-height:1}
.unit.open .unit-plus{transform:rotate(45deg)}
.unit-c{max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.4,0,.2,1)}
.unit.open .unit-c{max-height:800px}
.unit-c-inner{padding:2px 22px 18px}
.unit-c p{font-size:14.5px;line-height:1.65;color:#5a6772;margin:0 0 8px}
.unit-ch{font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:rgba(0,57,77,.5);margin-top:8px;display:block}

/* ── Instrutores (creme-island: white card, dark text) ── */
.instructors-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:4px}
@media(max-width:680px){.instructors-grid{grid-template-columns:1fr}}
.instructor-card{background:#fff;border-radius:14px;padding:24px;border:1px solid var(--line);display:flex;gap:18px;align-items:flex-start}
body.theme-dark .instructor-card{background:#fff;border-color:rgba(0,57,77,.15)}
.ic-photo{width:72px;height:72px;border-radius:50%;background:var(--bu-tint);display:grid;place-items:center;flex-shrink:0;color:var(--bu);overflow:hidden}
.ic-photo svg{width:38px;height:38px}
.ic-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.ic-info{min-width:0}
.ic-name{font-size:16px;font-weight:600;color:#00394d;margin:0 0 4px}
.ic-cargo{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--bu);margin:0 0 8px}
.ic-bio{font-size:13.5px;line-height:1.6;color:#5a6772;margin:0}
.ic-linkedin{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;color:var(--bu);text-decoration:none;font-family:var(--mono);letter-spacing:.12em;text-transform:uppercase}
.ic-linkedin:hover{color:var(--bu-2)}
.ic-linkedin svg{width:14px;height:14px}

/* ── Sidebar (always white card — no dark inversion needed) ── */
.curso-sidebar{position:sticky;top:96px}
@media(max-width:1024px){.curso-sidebar{position:static}}
.cs-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 20px 56px -28px rgba(0,57,77,.22)}
.cs-facts{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}
.cs-fact{padding:13px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.cs-fact:nth-child(2n){border-right:none}
.cs-fact:nth-last-child(-n+2){border-bottom:none}
.cs-label{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--bu);margin:0 0 3px}
.cs-value{display:block;font-size:13px;font-weight:500;color:#00394d;line-height:1.35}
.cs-form{padding:22px 22px 24px}
.cs-form h3{font-family:var(--ubu);font-weight:500;font-size:17px;color:#00394d;margin:0 0 4px;line-height:1.25}
.cs-sub{font-size:13px;color:#5a6772;margin:0 0 16px;line-height:1.5}
.cs-field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.cs-field label{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:rgba(0,57,77,.55);font-weight:500}
.cs-field input{background:transparent;border:0;border-bottom:1px solid rgba(0,57,77,.2);padding:7px 0;font-size:13.5px;color:#00394d;font-family:var(--ubu);width:100%;transition:border-color .2s}
.cs-field input:focus{outline:0;border-bottom-color:var(--bu)}
.cs-submit{width:100%;margin-top:6px;padding:12px 20px;background:var(--bu);color:#fff;border:0;border-radius:999px;font-family:var(--ubu);font-weight:500;font-size:14px;cursor:pointer;transition:background .25s,transform .2s;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.cs-submit:hover{background:var(--bu-2);transform:translateY(-2px)}
.cs-submit svg{width:13px;height:13px}
.cs-disclaimer{font-size:11px;color:rgba(0,57,77,.5);margin:10px 0 0;text-align:center}

/* ── CTA banner ── */
.curso-cta{margin:48px auto 80px;padding:0 24px;max-width:1100px}
.curso-cta__card{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--ink) 0%,#001f2c 100%);color:#fff;border-radius:22px;padding:64px 52px;text-align:center;box-shadow:0 28px 56px -24px rgba(0,57,77,.45)}
.curso-cta__card::before{content:'';position:absolute;inset:0;background:radial-gradient(80% 60% at 100% 0%,rgba(214,109,49,.2),transparent 60%),radial-gradient(60% 70% at 0% 100%,rgba(27,219,173,.08),transparent 60%);pointer-events:none}
.curso-cta__card>*{position:relative;z-index:1}
.curso-cta__eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--bu-3);font-weight:600;margin-bottom:12px;display:inline-block}
.curso-cta h2{font-family:var(--ubu);font-weight:300;font-size:clamp(24px,2.4vw + .4rem,38px);margin:0 0 14px;line-height:1.18;color:#fff;letter-spacing:-.01em}
.curso-cta h2 em{font-style:normal;font-weight:500;color:var(--bu-3)}
.curso-cta p{color:rgba(255,255,255,.75);font-size:16px;line-height:1.6;max-width:480px;margin:0 auto 32px}
.curso-cta .btn{display:inline-flex;align-items:center;gap:10px;background:var(--bu-3);color:var(--ink);padding:16px 32px;border-radius:999px;font-family:var(--ubu);font-weight:600;font-size:15px;transition:transform .25s,background .25s;box-shadow:0 8px 24px -8px rgba(244,162,97,.45);text-decoration:none}
.curso-cta .btn:hover{transform:translateY(-3px);background:#f9c08e}
.curso-cta .btn svg{width:15px;height:15px}

/* ── Dark overrides for nav/footer ── */
body.theme-dark .nav{background:transparent}
body.theme-dark .nav.scrolled{background:rgba(0,57,77,.88);backdrop-filter:blur(10px)}
body.theme-dark .brand-logo{filter:brightness(0) invert(1)}
body.theme-dark .menu a{color:rgba(244,241,236,.85)}
body.theme-dark .submenu{background:var(--ink);border-color:rgba(255,255,255,.12)}
body.theme-dark .submenu a{color:rgba(244,241,236,.85)}
body.theme-dark .cta-sm-ghost{color:var(--paper);border-color:rgba(255,255,255,.3)}
body.theme-dark .cta-sm-ghost:hover{background:rgba(255,255,255,.06)}
body.theme-dark footer{background:#001f2c;color:var(--paper)}
body.theme-dark footer .fbrand p,
body.theme-dark footer .fcol ul li,
body.theme-dark footer .fcol ul li a{color:rgba(244,241,236,.72)}
body.theme-dark footer .fcol h4{color:var(--paper)}
body.theme-dark footer .fbrand img{filter:brightness(0) invert(1)}
body.theme-dark .fbot{color:rgba(244,241,236,.5)}
body.theme-dark footer .fbot{border-top-color:rgba(255,255,255,.12)}
body.theme-dark footer .fbot__social a{color:rgba(244,241,236,.65)}
body.theme-dark footer .fbot__social a:hover{color:#fff}

/* Optional lower form: absent in the imported baseline, available to editors. */
.editorial-bottom:empty{display:none}
.editorial-bottom:not(:empty){max-width:1100px;margin:0 auto 80px;padding:0 24px}
.editorial-bottom .lead-form-bu{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:20px;color:#00394d}
.editorial-bottom .form-header,.editorial-bottom .span-2,.editorial-bottom .actions,.editorial-bottom .cs-sub{grid-column:1/-1}
.editorial-bottom .field-bu{display:flex;flex-direction:column;gap:8px}
.editorial-bottom label{font:11px var(--mono);text-transform:uppercase;letter-spacing:.12em}
.editorial-bottom input,.editorial-bottom textarea{width:100%;border:0;border-bottom:1px solid var(--line);padding:10px 0;color:#00394d;background:#fff;font:14px var(--ubu)}
.editorial-bottom .submit-bu{border:0;border-radius:999px;padding:12px 24px;background:var(--bu);color:white;display:flex;gap:8px;align-items:center}
.editorial-bottom .submit-bu svg{width:14px;height:14px}
@media(max-width:680px){.editorial-bottom .lead-form-bu{grid-template-columns:1fr}}
