/* SECOND V10.2 | responsividade, movimento, ícones SVG */
:root{--ui-offwhite:#F3F0E9;--ui-ink:#09090A;--ui-red:#9E1B1B;--ui-ease:cubic-bezier(.22,1,.36,1)}
html{scroll-behavior:smooth;scroll-padding-top:86px}
*,*::before,*::after{box-sizing:border-box}
body{overflow-x:clip}
img,svg{max-width:100%}
.ui-icon{width:1.14em;height:1.14em;min-width:1.14em;display:inline-block;vertical-align:-.16em;stroke:currentColor;fill:none;stroke-width:1.8;transition:transform .3s var(--ui-ease)}
a .ui-icon,button .ui-icon{pointer-events:none}
a:hover .ui-icon,button:hover .ui-icon{transform:translate(2px,-2px)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #e05555;outline-offset:3px}
.second-header .navigation a,.second-footer-nav a{transition:color .2s ease}
.v8-site .second-header,.course-page .second-header{box-shadow:0 1px 0 rgba(255,255,255,.025)}
.v8-site .second-header .menu-toggle{min-width:44px;min-height:44px}
.v8-site .header-cta .ui-icon{width:14px;height:14px}
/* cursos: duas ações claramente separadas, sem overflow em telas estreitas */
.academy-hero-grid{min-width:0}
.academy-hero-grid>div{min-width:0}
.academy-hero h1{overflow-wrap:normal;max-width:100%;font-size:clamp(63px,8.4vw,126px)}
.academy-hero p{margin-bottom:24px;max-width:520px}
.academy-hero-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:29px;max-width:670px}
.academy-hero-actions>a{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:51px;min-width:0;max-width:100%;padding:14px 21px;font:800 12px/1.3 'DM Sans',sans-serif;letter-spacing:.02em;text-decoration:none;text-transform:uppercase;white-space:normal;transition:background .25s,transform .3s var(--ui-ease),border-color .25s}
.academy-action-primary{background:#9e1b1b;color:#fff;border:1px solid #9e1b1b}
.academy-action-secondary{background:transparent;color:#f3f0e9;border:1px solid #77716b}
.academy-action-primary:hover{background:#bb2929;transform:translateY(-2px)}
.academy-action-secondary:hover{border-color:#f3f0e9;background:#202020;transform:translateY(-2px)}
.academy-live-mini{display:flex;align-items:center;gap:15px;padding:20px 0 0;max-width:670px;margin-top:25px;border-top:1px solid #48433f}
.academy-live-mini-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #7a332f;color:#e4a4a0;flex:none}
.academy-live-mini-icon .ui-icon{width:22px;height:22px}
.academy-live-mini strong{font:800 12px/1.4 'DM Sans',sans-serif;color:#f3f0e9;letter-spacing:.035em}
.academy-live-mini p{font:500 12px/1.5 'DM Sans',sans-serif;margin:4px 0 0;color:#bdb7af}
.academy-course{transition:transform .45s var(--ui-ease),border-color .3s,box-shadow .3s}
.academy-course:hover{transform:translateY(-3px);box-shadow:0 25px 48px #0005}
.academy-course-link{display:inline-flex;align-items:center;gap:8px}
.academy-course .academy-course-meta{overflow-wrap:anywhere}
/* teaser de curso no inicio */
.sites-feature-actions,.course-primary-links,.v6-hero-actions{min-width:0}
.sites-feature-cta,.course-button,.course-submit,.v6-btn,.second-simple-actions a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.sites-feature-cta{display:inline-flex;justify-content:space-between}
.sites-feature-cta:hover,.course-button:hover{transform:translateY(-2px)}
.v8-selected-link,.v6-case,.course-modules article{transition:transform .35s var(--ui-ease),border-color .3s,background .3s}
.v8-selected-link:hover{transform:translateX(4px)}
.v6-case:hover{transform:translateY(-5px)}
.v8-selected-arrow .ui-icon{width:19px;height:19px}
.v6-case h3 .ui-icon{width:.35em;height:.35em}
.ticker .ui-icon{width:13px;height:13px;margin:0 14px;color:#a44141}
/* informativo de aula ao vivo e bonus */
.course-live-section{background:#171719;border-block:1px solid #353536;color:#f3f0e9;padding:clamp(55px,7vw,95px) 0}
.course-live-inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);align-items:center;gap:clamp(25px,5vw,90px)}
.course-live-main,.course-live-features{min-width:0}
.course-live-eyebrow{font:800 11px/1.5 'DM Sans',sans-serif;letter-spacing:.15em;color:#cfaba7}
.course-live-main h2{font:900 clamp(48px,5vw,84px)/.94 'Barlow Condensed',sans-serif;margin:20px 0 17px;letter-spacing:-.005em}
.course-live-main h2 em{font-style:normal;color:#d15b5b}
.course-live-main p{max-width:540px;color:#bdb7af;font:500 15px/1.75 'DM Sans',sans-serif}
.course-live-main p strong{color:#fff}
.course-live-features{display:grid;gap:0}
.course-live-item{display:flex;align-items:flex-start;gap:16px;border-bottom:1px solid #3b3b3d;padding:21px 0}
.course-live-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;background:#252527;border:1px solid #444;color:#f3f0e9}
.course-live-icon .ui-icon{height:24px;width:24px}
.course-live-item div{display:flex;flex-direction:column;gap:5px}
.course-live-item strong{font:800 12px/1.35 'DM Sans',sans-serif;letter-spacing:.025em}
.course-live-item div span{font:500 13px/1.5 'DM Sans',sans-serif;color:#bdb7af}
.course-live-cta{display:inline-flex;gap:12px;justify-content:space-between;align-items:center;min-height:49px;padding:13px 18px;margin-top:23px;background:#9e1b1b;color:#fff;text-decoration:none;font:800 12px 'DM Sans',sans-serif;text-transform:uppercase;transition:background .2s,transform .3s}
.course-live-cta:hover{background:#b72727;transform:translateY(-2px)}
.course-form-live{margin:13px 0 0;font:600 12px/1.6 'DM Sans',sans-serif;color:#463d38}
.course-form-live strong{color:#9e1b1b}
/* forms: visible and interactable checkbox */
.course-page .course-check input[type=checkbox]{z-index:1;position:relative}
.course-page .course-form-panel{overflow:visible}
.course-page .course-form-panel input:not([type=checkbox]),.course-page .course-form-panel select{min-width:0;max-width:100%}
.course-page .course-field-row{min-width:0}
.course-page .course-field-row>div{min-width:0}
.course-page .course-pills,.course-page .course-primary-links{gap:9px}
.course-page .course-button,.course-page .course-submit{align-items:center;gap:12px}
/* assistente com separação e interações adequadas */
#bot-root .connect-window{max-width:100%;transition:transform .4s var(--ui-ease),visibility .4s}
#bot-root .connect-head{gap:14px}
#bot-root .connect-close{display:grid;place-items:center}
#bot-root .connect-close .ui-icon{width:19px;height:19px}
#bot-root .second-bot-options button{gap:15px;transition:background .25s,border-color .25s,transform .25s}
#bot-root .second-bot-options button:hover{transform:translateX(2px)}
#bot-root .second-bot-options button .ui-icon{color:#d16060}
#bot-root .second-bot-search button{display:grid;place-items:center}
#bot-root .second-bot-search button .ui-icon{height:19px;width:19px}
#bot-root .second-bot-back,#bot-root .second-bot-link{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#bot-root .second-bot-link{width:100%}
#bot-root .connect-footnote a{display:inline-flex;gap:8px;align-items:center;justify-content:center}
/* entrada editorial moderada; graceful when JS disabled */
@keyframes second-rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes second-soft-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.academy-hero-grid>div:first-child,.sites-feature-content,.course-hero-copy,.v6-hero-left{animation:second-rise .8s var(--ui-ease) both}
.academy-hero-art,.sites-feature-art,.course-form-panel,.v8-selected{animation:second-soft-in .9s .1s var(--ui-ease) both}
[data-second-reveal]{transition:opacity .7s var(--ui-ease),transform .7s var(--ui-ease)}
.second-motion-ready [data-second-reveal]:not(.second-is-visible){opacity:0;transform:translateY(24px)}
.second-motion-ready [data-second-reveal].second-is-visible{opacity:1;transform:none}
@media(max-width:1080px){.academy-hero-grid{grid-template-columns:minmax(0,1fr) minmax(200px,.65fr);gap:30px}}
@media(max-width:820px){
 .academy-hero-grid{grid-template-columns:minmax(0,1fr)}
 .academy-hero-art{display:none}
 .course-live-inner{grid-template-columns:1fr;gap:12px}
 .course-live-features{max-width:590px}
 .course-hero-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:600px){
 .v8-site .second-header .header-inner,.course-page .second-header .header-inner{width:calc(100% - 40px)!important}
 .academy-hero{padding:60px 0 62px}
 .academy-hero h1{font-size:clamp(52px,13.5vw,75px);line-height:.91;letter-spacing:-.008em;max-width:100%}
 .academy-hero p{font-size:15px;line-height:1.6;margin:22px 0 0}
 .academy-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;margin-top:25px}
 .academy-hero-actions>a{display:flex;width:100%;max-width:100%;min-height:54px;padding:14px 17px;justify-content:space-between;font-size:12px;white-space:normal}
 .academy-live-mini{margin-top:24px;padding-top:21px;align-items:flex-start}
 .academy-live-mini strong{font-size:11px}
 .academy-live-mini p{font-size:12px}
 .academy-course-info{padding:25px}
 .academy-catalog{padding:64px 0}
 .academy-course-brand{min-height:170px;padding:24px}
 .academy-course-info h3{margin-top:13px}
 .sites-feature-actions{display:flex;flex-direction:column;align-items:stretch;gap:13px}
 .sites-feature-cta{width:100%;justify-content:space-between}
 .course-primary-links{display:flex;flex-direction:column;align-items:stretch}
 .course-primary-links a{max-width:100%}
 .course-page .course-hero{padding-top:30px}
 .course-page .course-form-panel{padding:20px}
 .course-page .course-hero h1{font-size:clamp(55px,13.9vw,76px)}
 .course-live-section{padding:59px 0}
 .course-live-main h2{font-size:clamp(43px,11.5vw,64px)}
 .course-live-main p{font-size:14px}
 .course-live-item{gap:13px}
 #bot-root .connect-window{width:100%;height:100dvh;max-height:100dvh;top:0;bottom:auto;border-left:0}
 #bot-root .connect-chat{padding:24px 22px 14px}
 #bot-root .connect-controls{padding:18px 22px calc(20px + env(safe-area-inset-bottom,0px));max-height:min(60dvh,440px)}
 #bot-root .second-bot-copy h2{font-size:clamp(38px,11vw,52px)}
 .second-global-footer .container{width:calc(100% - 40px)}
 .second-footer-nav{gap:14px 22px}
}
@media(max-width:380px){.academy-hero h1{font-size:48px}.academy-hero-actions>a{font-size:11px}.academy-live-mini-icon{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.second-motion-ready [data-second-reveal]:not(.second-is-visible){opacity:1!important;transform:none!important}}
