:root{--red:#b00020;--red2:#d50025;--ink:#111820;--muted:#4e5d69;--soft:#fff5f5;--line:#e4e8ec;--blue:#064f7b;--bluebg:#eef7ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.45}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{height:72px;background:#fff;display:flex;align-items:center;position:sticky;top:0;z-index:20;box-shadow:0 1px 10px #00000010}.nav{display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;text-decoration:none;color:#101820}.brand-mark{font-size:34px;color:var(--red2);transform:rotate(45deg);display:inline-block;margin-right:10px}.brand strong{font-size:25px}.brand strong span,.section-head h2 span,.orientation h2 span,.faq h2 span,.cta h2 span{color:var(--red2)}.brand small{display:block;font-size:8px;letter-spacing:1.2px}.menu{display:flex;gap:30px}.menu a{color:#222;text-decoration:none;font-size:14px;padding:25px 0}.menu a.active{color:var(--red2);border-bottom:3px solid var(--red2)}.menu-toggle{display:none;background:none;border:0;font-size:25px}.hero{
background-color:#210002;
background-image:
linear-gradient(90deg,rgba(20,0,1,.98) 0%,rgba(34,0,3,.94) 35%,rgba(43,0,5,.68) 57%,rgba(24,0,2,.14) 78%,rgba(16,0,1,.08) 100%),
url("../img/hero-viadiploma.webp");
background-repeat:no-repeat;
background-position:right center;
background-size:auto 100%;
color:#fff;
overflow:hidden
}.hero-grid{min-height:390px;display:block;position:relative}.hero-copy{padding:55px 0;max-width:650px;position:relative;z-index:2}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:.4px}.eyebrow:before{content:"";display:inline-block;width:28px;height:4px;background:#f01831;margin-right:12px;vertical-align:middle}.hero h1{font-size:48px;line-height:1.02;margin:14px 0 18px;max-width:650px}.hero h1 span{color:#ff1736}.hero p{max-width:590px;color:#f3eeee;font-size:17px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-block;border-radius:7px;padding:14px 20px;text-decoration:none;font-weight:700;font-size:14px;border:1px solid transparent}.primary{background:var(--red2);color:#fff}.ghost{border-color:#fff;color:#fff}.outline{border-color:var(--red2);color:var(--red2);background:#fff}.light{background:#fff;color:#163248;border-color:#c9d7e3}.trust{border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;padding:25px 0}.trust article{display:flex;gap:14px;align-items:flex-start}.trust i{width:48px;height:48px;border-radius:50%;background:var(--red2);color:#fff;display:grid;place-items:center;font-style:normal;font-size:20px;flex:0 0 auto}.trust b{display:block}.trust small{display:block;color:var(--muted);margin-top:4px}.section{padding:42px 0}.courses{background:linear-gradient(110deg,#fff 0,#fff5f5 100%)}.section-head{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:24px}.section-head>div{flex:1}.section-head>p{max-width:470px;color:var(--muted);margin:0}.eyebrow.dark{color:#202830}.section-head h2{font-size:38px;margin:6px 0 0;line-height:1.05}.course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.course-grid a{min-height:80px;background:#fff;border:1px solid #f0eeee;border-radius:8px;padding:14px 16px;text-decoration:none;color:var(--ink);display:grid;grid-template-columns:45px 1fr;align-items:center;box-shadow:0 5px 18px #4a00000b}.course-grid i{grid-row:1/3;color:var(--red2);font-size:29px;font-style:normal}.course-grid small{color:var(--red2)}.course-grid .all{background:#fff0f1}.info-panels{padding-top:18px}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{min-height:260px;border-radius:9px;overflow:hidden;padding:28px;display:grid;grid-template-columns:1fr .85fr}.panel h2{font-size:28px;line-height:1.08;margin:10px 0}.panel p{max-width:330px}.dark-panel{color:#fff;background:linear-gradient(105deg,#62000e,#260006)}.light-panel{background:#f3f5f6}.paper-art,.books{display:grid;place-items:center;font-size:100px;color:#f30b2c}.books{font-size:48px;line-height:.6;color:#9d0019}.orientation{padding:0 0 32px}.orient-box{background:var(--bluebg);border:1px solid #bdd7ea;border-radius:12px;padding:22px 25px;display:grid;grid-template-columns:90px 1.4fr 1fr;gap:24px;align-items:center}.orient-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#0c6ba5;color:#fff;font-size:38px;font-weight:bold}.orient-main h2{margin:0;font-size:27px;color:#064f7b}.orient-main p{margin:6px 0;color:#47667a}.orient-main .actions{margin-top:14px}.orient-notes{border-left:1px solid #a9c9df;padding-left:22px}.orient-notes>div{display:flex;gap:12px;margin:8px 0}.orient-notes i{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#7255dd,#e31a62);color:#fff;display:grid;place-items:center;font-style:normal;flex:0 0 auto}.orient-notes p{margin:0;font-size:13px;color:#405d70}.orient-notes b{color:#075180}.faq{padding-top:5px}.faq-head{align-items:center}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.faq details{border:1px solid var(--line);border-radius:6px;margin-bottom:9px;background:#fff}.faq summary{padding:11px 14px;cursor:pointer;font-size:14px}.faq details p{padding:0 14px 13px;color:var(--muted);margin:0}.cta{background:linear-gradient(100deg,#360004,#7b000e,#210003);color:#fff;padding:24px 0}.cta .container{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta small{color:#ff2742}.cta h2{margin:5px 0 0;font-size:28px}.cta p{margin:2px 0;color:#eee}footer{background:#10171b;color:#d8dfe2}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .8fr 1.2fr;gap:50px;padding:36px 0}.footer-brand{color:#fff;margin-bottom:18px}.footer-grid h3{font-size:14px;color:#fff}.footer-grid a{display:block;color:#d8dfe2;text-decoration:none;font-size:13px;margin:4px 0}.footer-grid p{font-size:13px}.footer-bottom{border-top:1px solid #ffffff18;padding:17px 0;display:flex;justify-content:space-between;font-size:11px;color:#aeb7bc}
@media(max-width:850px){.menu{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:15px 25px;box-shadow:0 10px 20px #0002}.menu.open{display:block}.menu a{display:block;padding:10px 0}.menu-toggle{display:block}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:40px}.trust-grid,.course-grid{grid-template-columns:1fr 1fr}.panel-grid,.faq-grid{grid-template-columns:1fr}.orient-box{grid-template-columns:70px 1fr}.orient-notes{grid-column:1/-1;border-left:0;border-top:1px solid #a9c9df;padding:15px 0 0}.footer-grid{grid-template-columns:1fr 1fr}.section-head{display:block}.section-head>p{margin-top:15px}}@media(max-width:520px){.container{width:min(100% - 26px,1180px)}.hero h1{font-size:34px}.hero-copy{padding:42px 0}.trust-grid,.course-grid{grid-template-columns:1fr}.panel{grid-template-columns:1fr}.paper-art,.books{display:none}.orient-box{grid-template-columns:1fr}.orient-icon{width:58px;height:58px}.section-head h2{font-size:31px}.footer-grid{grid-template-columns:1fr}.footer-bottom,.cta .container{display:block}.cta .btn{margin-top:15px}}
.panel-diploma{
  position:relative;
  display:block;
  background:
    linear-gradient(90deg,rgba(62,0,9,.98) 0%,rgba(73,0,11,.91) 42%,rgba(60,0,9,.48) 67%,rgba(35,0,5,.08) 100%),
    url("../img/diplomas-reconhecimento.webp") right center/cover no-repeat;
}
.panel-formacao{
  position:relative;
  display:block;
  background:
    linear-gradient(90deg,rgba(247,248,249,.98) 0%,rgba(247,248,249,.94) 43%,rgba(247,248,249,.50) 66%,rgba(247,248,249,.08) 100%),
    url("../img/caminhos-formacao.webp") right center/cover no-repeat;
}
.panel-diploma>div,.panel-formacao>div{position:relative;z-index:2;max-width:54%}
@media(max-width:650px){
 .panel-diploma,.panel-formacao{background-position:72% center}
 .panel-diploma>div,.panel-formacao>div{max-width:72%}
}

.brand-cap{width:48px;height:38px;object-fit:contain;display:block;margin-right:10px;flex:0 0 auto}
.footer-brand .brand-cap{width:48px;height:38px}
.social-links{display:flex;gap:12px;margin-top:16px}
.social-links a{width:28px;height:28px;border:1px solid #d8dfe2;border-radius:50%;display:grid;place-items:center!important;color:#fff!important;text-decoration:none;font-weight:700;font-size:13px;margin:0!important}
.social-links a:last-child{border-radius:4px}
@media(max-width:520px){.brand-cap{width:42px;height:34px}.footer-brand .brand-cap{width:44px;height:35px}}

/* Ícones refinados conforme a prévia aprovada */
.trust i{
 width:54px;height:54px;border-radius:50%;background:#ed002b;color:#fff;
 display:grid;place-items:center;flex:0 0 auto
}
.trust i img{width:31px;height:31px;display:block;color:#fff}
.trust-grid article{align-items:center}
.trust-grid b{font-size:15px;line-height:1.12}
.trust-grid small{font-size:12px;line-height:1.35}

.course-grid a{grid-template-columns:52px 1fr;min-height:82px;padding:13px 16px}
.course-grid i{width:45px;height:45px;display:grid;place-items:center;color:#ed002b}
.course-grid i img{width:40px;height:40px;display:block;color:#ed002b}
.course-grid b{font-size:15px;line-height:1.1}
.course-grid small{font-size:12px}
.course-grid .all i img{width:38px;height:38px}

@media(max-width:520px){
 .trust i{width:50px;height:50px}
 .trust i img{width:28px;height:28px}
 .course-grid i{width:42px;height:42px}
 .course-grid i img{width:37px;height:37px}
}

.footer-bottom .legal-links{display:flex;gap:6px;align-items:center}.footer-bottom .legal-links a{color:#d8dfe2;text-decoration:none}.footer-bottom .legal-links a:hover{text-decoration:underline}.faq details p a{color:#b00020;font-weight:700}
@media(max-width:850px){.footer-bottom{gap:12px;flex-wrap:wrap}}

/* Páginas legais */
.legal-page{background:#f7f7f8;padding:34px 0 70px}
.legal-wrap{max-width:960px}
.legal-breadcrumb{font-size:13px;color:#666;margin:0 0 22px}
.legal-breadcrumb a{color:#b00020;text-decoration:none;font-weight:700}
.legal-breadcrumb span{margin:0 5px}
.legal-article{background:#fff;border:1px solid #e8e8eb;border-radius:16px;padding:46px 52px;box-shadow:0 10px 35px rgba(0,0,0,.045)}
.legal-heading{border-bottom:1px solid #ececef;padding-bottom:27px;margin-bottom:31px}
.legal-heading .eyebrow{display:block;color:#b00020;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.legal-heading h1{font-size:38px;line-height:1.12;margin:0 0 15px;color:#171717}
.legal-intro{font-size:17px;line-height:1.65;color:#4a4a4a;max-width:780px}
.legal-updated{font-size:13px;color:#757575;margin-top:14px}
.legal-section{margin:0 0 31px}
.legal-section:last-child{margin-bottom:0}
.legal-section h2{font-size:22px;line-height:1.25;margin:0 0 12px;color:#202020}
.legal-section p{font-size:15.5px;line-height:1.75;color:#444;margin:0 0 11px}
@media(max-width:700px){
 .legal-page{padding:22px 0 45px}
 .legal-article{padding:30px 22px;border-radius:12px}
 .legal-heading h1{font-size:30px}
 .legal-section h2{font-size:20px}
}

/* ===== Página de curso: matriz ViaDiploma ===== */
.med-hero{background:#0b2535;color:#fff;overflow:hidden}
.med-hero-grid{min-height:390px;display:grid;grid-template-columns:1.25fr .75fr;position:relative}
.med-hero-copy{padding:34px 0 32px;position:relative;z-index:2}
.med-crumb{display:flex;gap:8px;align-items:center;font-size:13px;margin-bottom:23px;color:#fff}
.med-crumb a{color:#fff;text-decoration:none}
.med-hero h1{font-size:46px;line-height:1.05;max-width:760px;margin:0 0 17px;color:#fff}
.med-hero h1 span{display:block;font-size:.73em;margin-top:7px}
.med-hero-copy>p{font-size:16px;line-height:1.55;max-width:700px;color:#fff;margin:0}
.med-hero-photo{position:absolute;right:0;top:0;width:46%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat;}
.med-trust{display:flex;gap:25px;margin-top:37px;flex-wrap:wrap}
.med-trust div{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:700}
.med-trust b{width:40px;height:40px;border-radius:50%;background:#ed002b;display:grid;place-items:center;color:#fff;font-size:17px}
.med-intro{padding-top:24px}
.med-intro-card{display:grid;grid-template-columns:105px 1fr 245px;gap:24px;align-items:center;background:#fff5f6;border-radius:13px;padding:22px 27px}
.med-symbol{font-size:70px;color:#df0a24;text-align:center}
.med-intro-card h2,.med-two h2,.med-areas h2,.med-faq-lead h2,.med-source h2{margin:0 0 9px;color:#101d2a}
.med-intro-card p,.med-two p,.med-areas>p,.med-faq-lead p,.med-source p{line-height:1.55;color:#42474d;margin:0}
.med-red-btn{display:inline-flex;align-items:center;justify-content:center;background:#e50922;color:#fff!important;text-decoration:none;border-radius:7px;padding:14px 16px;font-weight:800;text-align:center;font-size:13px}
.med-facts{display:grid;grid-template-columns:repeat(5,1fr);padding:23px 0 27px}
.med-facts>div{display:flex;justify-content:center;gap:10px;align-items:center;border-right:1px solid #e5e5e5;text-align:center}
.med-facts>div:last-child{border-right:0}
.med-facts b{font-size:30px;color:#e50922}
.med-facts span{font-size:12px}.med-facts strong{display:block;font-size:14px;color:#151b22;margin-top:3px}
.med-why{background:#f4f6f7;padding:28px 0}
.med-two{display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;align-items:center}
.med-two img{width:100%;height:260px;object-fit:cover;border-radius:7px}
.med-two ul{list-style:none;padding:0;margin:15px 0 0}
.med-two li{margin:8px 0;padding-left:28px;position:relative}
.med-two li:before{content:"✓";position:absolute;left:0;top:0;background:#e50922;color:#fff;width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font-weight:800}
.med-areas{padding-top:27px;padding-bottom:28px}
.med-area-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:14px}
.med-area-grid div{background:#fff4f5;min-height:78px;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#e50922;font-size:25px;text-align:center}
.med-area-grid b{font-size:12px;color:#17202a;margin-top:6px}
.med-faq-section{background:#fafafa;padding:30px 0}
.med-faq-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:48px}
.med-faq-lead .med-red-btn{margin-top:20px}
.med-faq-list{border:1px solid #e4e4e4;border-radius:8px;overflow:hidden;background:#fff}
.med-faq{border-bottom:1px solid #e7e7e7}
.med-faq:last-child{border-bottom:0}
.med-faq summary{cursor:pointer;padding:13px 42px 13px 16px;font-weight:650;font-size:13px;position:relative;list-style:none}
.med-faq summary::-webkit-details-marker{display:none}
.med-faq summary:after{content:"+";position:absolute;right:16px;color:#e50922;font-size:21px;top:7px}
.med-faq[open] summary:after{content:"−"}
.med-faq p{padding:0 16px 15px;margin:0;color:#4c4c4c;font-size:13px;line-height:1.55}
.med-source{padding:28px 0;background:#fff}
.med-source a{color:#b00020;font-weight:700}
@media(max-width:900px){
 .med-hero-grid{grid-template-columns:1fr;min-height:470px}
 .med-hero-copy{padding-right:0}
 .med-hero-photo{width:100%;opacity:.28}
 .med-hero h1{font-size:38px}
 .med-intro-card{grid-template-columns:80px 1fr}.med-intro-card .med-red-btn{grid-column:1/-1}
 .med-facts{grid-template-columns:repeat(2,1fr);gap:18px}.med-facts>div{border-right:0}
 .med-two,.med-faq-layout{grid-template-columns:1fr}
 .med-area-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
 .med-hero h1{font-size:31px}
 .med-hero h1 span{font-size:.72em}
 .med-trust{gap:13px}.med-trust div{width:calc(50% - 8px)}
 .med-intro-card{grid-template-columns:1fr}.med-symbol{text-align:left}
 .med-facts{grid-template-columns:1fr}
 .med-area-grid{grid-template-columns:1fr 1fr}
}

.med-symbol img{width:58px;height:58px;display:inline-block}
.med-area-grid span{font-size:25px;color:#e50922;line-height:1}

/* ===== Catálogo geral de cursos ===== */
.courses-page{background:#fff}
.courses-catalog-head{padding:38px 0 30px;background:linear-gradient(110deg,#fff 0,#fff4f5 100%);border-bottom:1px solid var(--line)}
.courses-catalog-head h1{font-size:42px;line-height:1.08;margin:8px 0 12px;color:var(--ink)}
.courses-catalog-head h1 span{color:var(--red2)}
.courses-catalog-head p{max-width:760px;color:var(--muted);font-size:16px;line-height:1.65;margin:0}
.courses-catalog-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:850px){.courses-catalog-grid{grid-template-columns:1fr 1fr}.courses-catalog-head h1{font-size:36px}}
@media(max-width:520px){.courses-catalog-grid{grid-template-columns:1fr}.courses-catalog-head{padding:28px 0 20px}.courses-catalog-head h1{font-size:31px}}

/* ===== Home: outras áreas importantes ===== */
.other-areas{padding:0 0 18px;background:linear-gradient(110deg,#fff 0,#fff5f5 100%)}
.other-areas-box{display:grid;grid-template-columns:340px 1fr;gap:30px;align-items:center;background:#fff7f7;border:1px solid #f7e9eb;border-radius:12px;padding:24px 28px}
.other-areas-copy h2{font-size:28px;line-height:1.08;margin:7px 0 8px;color:var(--ink)}
.other-areas-copy h2 span{display:block;color:var(--red2)}
.other-areas-copy p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.other-areas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.other-area-card{min-height:104px;border:1px solid #e8edf0;border-radius:9px;padding:15px 14px;display:grid;grid-template-columns:48px 1fr 34px;gap:10px;align-items:center;text-decoration:none;color:var(--ink);background:#fff;box-shadow:0 5px 18px #4a00000b;transition:transform .18s ease,box-shadow .18s ease}
.other-area-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #4a000014}
.other-area-card i{width:46px;height:46px;border-radius:9px;display:grid;place-items:center;font-size:25px;font-style:normal;color:var(--red2);background:#fff}
.other-area-card span{min-width:0}
.other-area-card b{display:block;font-size:15px;line-height:1.15;margin-bottom:5px}
.other-area-card small{display:block;color:var(--muted);font-size:12px;line-height:1.35}
.other-area-card strong{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:var(--red2);color:#fff;font-size:18px;line-height:1}
.other-area-card.technologist{background:#f3f9fd}
.other-area-card.transcript{background:#f2fbf6}
.other-area-card.fundamental{background:#fff9ef}
.other-area-card.technologist i{color:#e5092e}
.other-area-card.transcript i{color:#087d54}
.other-area-card.fundamental i{color:#a85b00}
.other-area-card:focus-visible{outline:3px solid #064f7b;outline-offset:3px}

@media(max-width:1050px){
 .other-areas-box{grid-template-columns:1fr}
}
@media(max-width:850px){
 .other-areas-grid{grid-template-columns:1fr}
 .other-area-card{min-height:88px}
}
@media(max-width:520px){
 .other-areas{padding-bottom:14px}
 .other-areas-box{padding:20px 16px;gap:20px}
 .other-areas-copy h2{font-size:26px}
 .other-area-card{grid-template-columns:44px 1fr 32px;padding:13px 12px}
 .other-area-card i{width:42px;height:42px;font-size:23px}
}



/* ===== Catálogo de cursos: outras áreas importantes ===== */
.courses-other-areas{padding:0 0 42px;background:linear-gradient(110deg,#fff 0,#fff5f5 100%)}
.courses-other-areas .other-areas-grid{grid-template-columns:repeat(4,1fr)}
.courses-other-areas .other-areas-box{grid-template-columns:300px 1fr}
.other-area-card.highschool{background:#f8f4ff}
.other-area-card.highschool i{color:#6246a8}

@media(max-width:1100px){
 .courses-other-areas .other-areas-box{grid-template-columns:1fr}
 .courses-other-areas .other-areas-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
 .courses-other-areas{padding-bottom:28px}
 .courses-other-areas .other-areas-grid{grid-template-columns:1fr}
}

/* Ajuste de respiro dos 4 cards em cursos.html */
.courses-other-areas .other-area-card{
  grid-template-columns:42px minmax(0,1fr) 31px;
  gap:9px;
  padding:14px 12px;
}
.courses-other-areas .other-area-card i{
  width:42px;
  height:42px;
  font-size:22px;
}
.courses-other-areas .other-area-card b{
  font-size:14px;
  line-height:1.12;
}
.courses-other-areas .other-area-card small{
  font-size:11.5px;
  line-height:1.32;
}
.courses-other-areas .other-area-card strong{
  justify-self:end;
  flex:0 0 auto;
}
@media(max-width:1100px){
  .courses-other-areas .other-area-card{
    grid-template-columns:46px minmax(0,1fr) 34px;
    gap:11px;
    padding:15px 14px;
  }
}

