/* Home: same layout rhythm on desktop and mobile, with FACFLORIDA content. */
.home-refinement{--home-accent:#ff500b;background:#f9f9f9}
.home-refinement main{background:#f9f9f9}
.home-refinement main h2{color:var(--home-accent);font-size:24px;line-height:1.25}
.home-refinement .home-section,.home-refinement #objetivos{width:calc(100% - 24px);max-width:1800px;margin:0 auto;padding:32px 0}
.home-refinement .home-kicker{display:none}
.home-refinement #objetivos{padding:12px 0 64px}
.home-refinement #objetivos h2{margin:0 0 20px}
.home-refinement .home-moments-intro{margin:0 auto 48px;max-width:none;font-size:18px;line-height:1.3}
.home-refinement #objetivos .parity-grid{gap:28px}
.home-refinement #objetivos article{padding:0;display:flex;flex-direction:column;align-items:center}
.home-refinement #objetivos .home-goal-icon{width:80px;height:80px;margin:0 0 32px}
.home-refinement #objetivos h3{font-size:20px;line-height:1.25;margin:0 0 22px;min-height:50px}
.home-refinement #objetivos article p{font-size:18px;line-height:1.3;margin:0 0 24px;flex:1}
.home-refinement #objetivos article a,.home-refinement .home-featured-grid article>.course-secondary,.home-refinement .formation-body a{display:inline-flex;width:auto;background:var(--home-accent);color:white;border:0;border-radius:32px;padding:14px 22px;text-decoration:none;font-weight:700}
.home-refinement #formacoes-home{background:#eee;padding:36px 12px;width:100%;max-width:none}
.home-refinement #formacoes-home h2{text-align:center;margin:0 0 40px}
.home-refinement .home-formations{display:grid;gap:16px}
.home-refinement .home-formations details{display:block;background:#fafafa;border:0;border-radius:26px;padding:0;overflow:hidden}
.home-refinement .home-formations summary{display:grid;grid-template-columns:220px 1fr 24px;align-items:center;gap:20px;padding:30px 24px;list-style:none;cursor:pointer;min-height:100px}
.home-refinement .home-formations summary::-webkit-details-marker{display:none}
.home-refinement .home-formations summary:after{content:'⌄';color:var(--home-accent);font-size:28px}
.home-refinement .formation-title{color:var(--home-accent);font-size:18px;font-weight:700}
.home-refinement .formation-preview{font-size:18px;line-height:1.5;font-weight:400;color:#333}
.home-refinement .home-formations details[open] summary:after{transform:rotate(180deg)}
.home-refinement .formation-body{padding:0 68px 32px 264px}
.home-refinement .home-strip{display:grid!important;grid-template-columns:20% 1fr auto!important;align-items:center;gap:24px!important;min-height:0!important;height:auto;margin:24px auto!important;padding:0 28px 0 0!important;overflow:hidden}
.home-refinement .home-strip>img{width:100%;height:110px!important;object-fit:cover;display:block}
.home-refinement .home-strip>div{padding:12px 0!important}
.home-refinement .home-strip h2{font-size:24px;margin:0 0 8px}
.home-refinement .home-strip p{font-size:16px;margin:0;line-height:1.3}
.home-refinement .home-strip>a{white-space:nowrap;border-radius:30px;padding:14px 24px;background:var(--home-accent);color:white;text-decoration:none}
.home-refinement #home-interest-banner h2{color:white}
.home-refinement #destaques-home{background:#eee;padding:24px 12px;width:100%;overflow:hidden}
.home-refinement .home-featured-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:27%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:16px 8px 24px;scrollbar-width:none}
.home-refinement .home-featured-grid::-webkit-scrollbar,.home-refinement .experience-grid::-webkit-scrollbar,.home-refinement .home-resources-grid::-webkit-scrollbar{display:none}
.home-refinement .home-featured-grid article{background:#fafafa;border:0;border-radius:24px;box-shadow:0 8px 10px #0002;padding:0 0 24px;display:flex;flex-direction:column}
.home-refinement .home-featured-grid .home-category-photo{height:200px}
.home-refinement .home-featured-grid h3{color:var(--home-accent);font-size:22px;margin:20px 24px}
.home-refinement .home-featured-grid ul{margin:0 24px 24px;min-height:310px;flex:1}
.home-refinement .home-featured-grid li{padding:19px 22px 19px 0;position:relative;border-bottom:1px solid #ddd}
.home-refinement .home-featured-grid li:after{content:'›';position:absolute;right:0;top:12px;font-size:28px}
.home-refinement .home-featured-grid li a{font-size:16px;text-decoration:none;color:#333}
.home-refinement .home-featured-grid article>.course-secondary{align-self:flex-start;font-size:16px;margin:0 24px}
.home-refinement #ingresso-home{padding:32px 0;background:#f9f9f9}
.home-refinement #ingresso-home>.container{width:calc(100% - 40px);max-width:1800px}
.home-refinement #ingresso-home h2{margin:0 0 32px}
.home-refinement .experience-grid{scrollbar-width:none;gap:24px}
.home-refinement .home-admission-card{border-radius:24px;box-shadow:0 7px 12px #0002;min-height:200px;padding:24px 160px 24px 24px}
.home-refinement .home-admission-card>img{width:120px;height:140px;right:24px;top:24px;border-radius:20px}
.home-refinement .home-admission-card h3{font-size:22px;color:#282828}
.home-refinement .home-admission-card .course-secondary{display:inline-flex;width:auto;border:0;background:var(--home-accent);color:white;border-radius:30px;padding:12px 24px;text-decoration:none}
.home-refinement .home-resources-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:25%;gap:16px;overflow:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding-bottom:18px}
.home-refinement #home-academic-resources article{padding:0;border:0;border-radius:24px;overflow:hidden;background:var(--home-accent);box-shadow:0 6px 10px #0002;scroll-snap-align:start}
.home-refinement .resource-visual{position:relative;height:290px;background:#183a59;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;isolation:isolate}
.home-refinement .resource-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#000d);z-index:-1}
.home-refinement .resource-visual img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;z-index:-2}
.home-refinement .resource-visual h3,.home-refinement .resource-visual p{color:white;margin:0 0 12px}
.home-refinement #home-academic-resources article>a{display:flex;align-items:center;min-height:90px;margin:0;padding:24px;color:white;text-decoration:none;font-weight:700}
.home-refinement #ajuda-home{padding:36px 16px;background:#fce9e7;text-align:center}
.home-refinement #ajuda-home h2{font-size:24px;margin:0 0 30px}
.home-refinement #ajuda-home a{background:var(--home-accent);border-radius:32px}
.home-refinement .marketing-mobile-bar{display:none!important}
.home-refinement.has-marketing-bar{padding-bottom:0!important}
.home-refinement .home-carousel-controls{display:flex;justify-content:center;gap:8px;margin:12px 0}
.home-refinement .home-carousel-controls button{width:12px;height:12px;min-width:12px;min-height:12px;padding:0;border:0;border-radius:50%;background:#ccc;font-size:0}
.home-refinement .home-carousel-controls button[aria-current=true]{background:var(--home-accent)}
.home-refinement .site-header .brand-logo-frame{height:auto;aspect-ratio:2149/732;background:transparent}
.home-refinement .site-header .brand-logo{position:static;inset:auto;width:100%;height:auto;object-fit:contain}
.home-refinement .home-carousel-controls[hidden]{display:none}
.home-refinement #objetivos article p{min-height:0}
.home-refinement .home-admission-card .course-secondary{align-self:flex-start;justify-self:start;max-width:max-content}
.home-refinement .site-header .nav-cta{background:var(--home-accent)}
@media(max-width:700px){
 .home-refinement .header-inner{display:flex!important;flex-wrap:nowrap!important;gap:12px!important;width:100%;padding:12px 16px!important;min-height:72px}
 .home-refinement .header-inner .home-mobile-menu{order:0;flex:0 0 24px;margin:0}
 .home-refinement .header-inner>.brand{order:1;flex:1;min-width:0;margin:0!important}
 .home-refinement .site-header .brand-logo-frame{width:100%!important;max-width:155px!important;height:52px!important;padding:0!important;display:flex;align-items:center}
 .home-refinement .site-header .brand-logo{width:100%!important;height:auto!important;object-fit:contain}
 .home-refinement .header-inner>.nav-cta{order:2;flex:0 0 auto;width:auto!important;margin:0!important;padding:15px 16px!important;font-size:15px!important;background:var(--home-accent)}
 .home-refinement .utility-bar{min-height:38px}
 .home-refinement .hero.visual-home .hero-grid{min-height:192px!important;padding:14px 16px!important}
 .home-refinement #objetivos{padding:16px 12px 40px;width:100%}
 .home-refinement main h2{font-size:21px}
 .home-refinement #objetivos .parity-grid{gap:44px}
 .home-refinement .home-moments-intro{margin:24px 0 48px;font-size:18px}
 .home-refinement #objetivos .home-goal-icon{width:72px;height:72px;margin-bottom:28px}
 .home-refinement #objetivos h3{min-height:0;margin-bottom:24px;font-size:20px}
 .home-refinement #objetivos article p{margin-bottom:24px}
 .home-refinement .home-formations summary{grid-template-columns:1fr 24px;gap:26px;padding:28px 24px}
 .home-refinement .formation-title{grid-column:1;grid-row:1}
 .home-refinement .home-formations summary:after{grid-column:2;grid-row:1}
 .home-refinement .formation-preview{grid-column:1 / -1;font-size:17px}
 .home-refinement .formation-body{padding:0 24px 28px}
 .home-refinement .home-strip{grid-template-columns:28% 1fr!important;gap:10px!important;padding:0 12px 0 0!important;position:relative;min-height:128px!important}
 .home-refinement .home-strip>img{grid-row:1 / 3;height:100%!important;min-height:128px}
 .home-refinement .home-strip>div{padding:10px 0 0!important}
 .home-refinement .home-strip h2{font-size:16px;margin-bottom:6px}
 .home-refinement .home-strip p{font-size:12px}
 .home-refinement .home-strip>a{grid-column:2;justify-self:start;padding:8px 12px;margin-bottom:10px;font-size:12px}
 .home-refinement .home-featured-grid{grid-auto-columns:92%;gap:16px}
 .home-refinement .home-featured-grid .home-category-photo{height:180px}
 .home-refinement .home-featured-grid ul{min-height:280px}
 .home-refinement #ingresso-home .experience-grid{grid-auto-columns:100%;padding:8px 0 18px}
 .home-refinement .home-admission-card{padding:22px 112px 22px 22px;min-height:230px}
 .home-refinement .home-admission-card>img{width:80px;height:115px;right:16px}
 .home-refinement .home-admission-card h3{font-size:20px}
 .home-refinement .home-admission-card .course-secondary{padding:10px 14px;font-size:14px}
 .home-refinement #home-academic-resources .home-resources-grid{grid-auto-columns:92%}
 .home-refinement #ajuda-home h2{font-size:20px}
 .home-refinement #rodape .experience-footer{display:block;width:100%}
 .home-refinement #rodape .experience-footer details{border-bottom:1px solid #aaa;padding:0}
 .home-refinement #rodape .experience-footer summary{padding:24px 0;list-style:none;display:flex;justify-content:space-between}
 .home-refinement #rodape .experience-footer summary:after{content:'⌄'}
 .home-refinement #rodape .experience-footer details:not([open])>a{display:none!important}
 .home-refinement #rodape .experience-footer details[open]>a{display:block}
}
/* Revisao de enquadramento: preservar rostos e acabamento original. */
.home-refinement .hero.visual-home .visual-home-photo img{border-radius:44% 12% 35% 12%;box-shadow:0 16px 40px #64230026;object-position:center 25%}
.home-refinement .home-featured-grid .home-category-photo{height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;display:block}
.home-refinement .home-strip>img{object-position:center 20%}
.home-refinement .resource-visual img{object-position:center top}
.home-refinement .home-admission-card>img{object-position:center top}
.home-refinement .home-formations details[open]{display:block!important}
.home-refinement .home-formations details[open]>summary{width:100%;max-width:none;grid-column:auto}
.home-refinement .home-formations .formation-body{width:100%;grid-column:auto}
/* Faixa do teste: alinhar o topo evita cortar a cabeca em telas largas. */
.home-refinement #home-interest-banner>img{object-position:center top!important}
/* Imagens contextuais: manter a cena completa para comunicar cada servico. */
.home-refinement .home-strip{grid-template-columns:160px 1fr auto!important}
.home-refinement .home-strip>img{height:auto!important;aspect-ratio:4/3;object-fit:contain;min-height:0!important;align-self:center}
.home-refinement .resource-visual{height:auto;min-height:0;padding:0;display:block;background:#153653}
.home-refinement .resource-visual img{position:static;height:auto;width:100%;aspect-ratio:4/3;object-fit:contain;display:block}
.home-refinement .resource-visual:after{display:none}
.home-refinement .resource-visual h3{margin:0;padding:18px 20px 8px}
.home-refinement .resource-visual p{margin:0;padding:0 20px 20px;min-height:86px}
.home-refinement .home-admission-card>img{height:auto;aspect-ratio:4/3;object-fit:contain}
@media(max-width:700px){.home-refinement .home-strip{grid-template-columns:28% 1fr!important}.home-refinement .home-strip>img{grid-row:1/3;align-self:center}.home-refinement .resource-visual p{min-height:0}}
