/* Direção visual FUST: identidade acadêmica, contraste e movimento comedido. */
:root {
  --wine: #711613;
  --wine-dark: #46110f;
  --ink: #292323;
  --muted: #706461;
  --paper: #f7f4f0;
  --line: #e5dcd5;
  --soft: #eee6df;
  --accent: #b99a72;
  --max: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body { font-family: 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: #711613; color: white; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.section { padding-block: 100px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .67rem; letter-spacing: .19em; }
.eyebrow::before { content: ''; width: 25px; height: 1px; flex: none; background: currentColor; opacity: .65; }
.utility { background: var(--wine-dark); }
.utility .container { min-height: 43px; }
.utility-location { opacity: .8; font-size: .6rem; }
.language-picker select { font-size: .73rem; }
.site-header { background: rgba(255,255,255,.96); transition: box-shadow .35s, background .35s; }
@supports (backdrop-filter: blur(16px)) { .site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); } }
.site-header.is-scrolled { box-shadow: 0 8px 32px #3815110d; }
.header-inner { min-height: 100px; }
.brand-word { font-size: 46px; }
.brand-desc { letter-spacing: .09em; font-size: .52rem; }
.nav { gap: 24px; }
.nav a:not(.btn) { position: relative; text-decoration: none; padding-block: 13px; }
.nav a:not(.btn)::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current=page]::after { transform: scaleX(1); }
.nav a[aria-current=page] { text-decoration: none; }
.reading-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; background: var(--wine); transform: scaleX(var(--reading-progress, 0)); transform-origin: left; }
.btn { position: relative; min-height: 52px; padding: 14px 24px; border-radius: 3px; letter-spacing: .015em; box-shadow: 0 5px 12px #7116130a; transition: background .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.btn-outline { box-shadow: none; }
.btn:disabled { box-shadow: none; }
.text-link { text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid #71161330; align-self: flex-start; }
.text-link::after { transition: transform .3s var(--ease); }
.text-link:hover { text-decoration: none; border-color: var(--wine); }
.text-link:hover::after { transform: translate(3px,-3px); }
.hero { position: relative; gap: 72px; padding-block: 72px 90px; }
.hero::before { content: ''; position: absolute; width: 52%; top: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 60% 45%, #eee3d970, transparent 70%); pointer-events: none; z-index: -1; }
.hero h1 { font-size: clamp(2.8rem,4.7vw,4.6rem); line-height: 1.08; letter-spacing: -.048em; }
.hero h1 em { position: relative; font-style: italic; font-weight: 400; }
.hero .lead { margin-top: 28px; font-size: 1rem; line-height: 1.9; max-width: 54ch; }
.hero .eyebrow { margin-bottom: 25px; }
.hero .actions { margin-top: 32px; }
.hero-footnote { margin-top: 30px; font-size: .68rem; letter-spacing: .015em; }
.hero-visual { isolation: isolate; padding: 0 0 30px 14px; }
.hero-visual::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 2px; right: 25px; border: 1px solid #b99a7280; z-index: -1; }
.hero .media-slot { min-height: 455px; aspect-ratio: 1.06; border: 0; border-radius: 140px 3px 3px 3px; background: radial-gradient(ellipse at 75% 5%, #af665533, transparent 58%), linear-gradient(145deg,#81332b,var(--wine) 50%,#46110f); box-shadow: 0 25px 50px #47110f18; color: #f1dfca; }
.hero .media-slot::before { inset: 22px; border-color: #d7b18e42; border-radius: 125px 2px 2px 2px; }
.hero .media-slot::after { inset: 44px; border-radius: 110px 110px 0 0; border-color: #d7b18e28; background: repeating-linear-gradient(90deg, transparent, transparent calc(25% - 1px), #d7b18e12 calc(25% - 1px), #d7b18e12 25%); }
.hero .media-slot > span { background: transparent; color: #ecd9c7; gap: 20px; font-size: .64rem; }
.hero .media-slot svg { width: 43px; height: 43px; stroke: #d5b393; opacity: .9; }
.hero .media-slot small { color: #d4b7a9; letter-spacing: .08em; }
.visual-caption { bottom: 0; left: 40px; right: -1px; padding: 25px 30px; background: #fff; color: var(--wine); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 2px; box-shadow: 0 15px 40px #3918140d; }
.visual-caption strong { font-size: 1.8rem; }
.visual-caption span { font-size: .61rem; letter-spacing: .09em; color: var(--muted); }
.credibility { background: var(--wine); border: 0; color: #fff; }
.credibility-grid { padding-block: 30px; gap: 30px; }
.credential { border-color: #ffffff25; gap: 18px; }
.credential svg { width: 30px; height: 30px; stroke: #ddbea0; }
.credential strong { font-weight: 600; font-size: .86rem; }
.credential small { color: #ead5cc; font-size: .73rem; margin-top: 5px; }
.intro { gap: 95px; align-items: start; }
.intro h2 { font-size: clamp(2.2rem,3.35vw,3.15rem); }
.intro > div:last-child { border-left: 1px solid var(--line); padding-left: 40px; }
.intro .lead { line-height: 1.95; }
.surface { background: var(--paper); }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(2.2rem,3.5vw,3.25rem); }
.course-grid { gap: 26px; }
.course-grid.featured { gap: 18px; }
.course-card { position: relative; border-radius: 5px; overflow: hidden; border-color: #e6ddd6; box-shadow: 0 6px 18px #34201b04; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.course-card::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.media-slot { background: linear-gradient(135deg,#f4ede6,#e9dfd5); border-color: #e2d6ca; }
.media-slot > span { background: transparent; color: #766351; }
.media-slot::before { border-color: #c6ad913f; }
.media-slot::after { border-color: #c6ad9128; }
.course-card .media-slot { min-height: 165px; background: radial-gradient(ellipse at top right,#ffffff90,transparent 65%),linear-gradient(145deg,#ebe0d5,#e0cfc0); }
.course-card:nth-child(2n) .media-slot { background: radial-gradient(ellipse at top right,#ffffff80,transparent 65%),linear-gradient(145deg,#e4ded9,#d5c9c0); }
.course-card .media-slot::before { inset: 15px; border-radius: 50px 0 0 0; border-color: #99765245; }
.course-card .media-slot svg { stroke: #987959; width: 28px; height: 28px; }
.featured .media-slot { min-height: 135px; }
.course-card-body { padding: 30px; }
.featured .course-card-body { padding: 24px 18px; }
.course-area { letter-spacing: .11em; font-size: .65rem; }
.course-card h3 { line-height: 1.27; }
.featured .course-card h3 { font-size: 1.26rem; line-height: 1.35; }
.course-card h3 a:hover { color: var(--wine); text-decoration: none; }
.course-card .cycle { padding-top: 18px; border-top: 1px solid var(--line); margin-top: 22px; font-size: .74rem; }
.featured .cycle { font-size: .7rem; }
.course-card .text-link { margin-top: auto; padding-top: 24px; width: 100%; justify-content: space-between; border-bottom: 0; }
.course-card .text-link::after { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1rem; }
.diploma-teaser { padding: 40px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #fff; box-shadow: 0 10px 40px #441b1305; border-radius: 3px; }
.diploma-symbol { font-size: 58px; border-right: 0; }
.diploma-teaser h2 { font-size: 2.25rem; }
.diploma-teaser p { line-height: 1.9; }
.principle { position: relative; padding: 34px; border-top: 0; border-radius: 4px; background: var(--paper); }
.principle::before { content: ''; width: 45px; height: 2px; background: var(--wine); position: absolute; left: 34px; top: 0; }
.principle .number { font-family: Georgia,serif; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: #a98b74; margin-bottom: 28px; }
.principle h3 { font-size: 1.8rem; }
.principle p { line-height: 1.9; }
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 5px; padding: 65px; background: linear-gradient(115deg,var(--wine),#571511); box-shadow: 0 15px 40px #51120f14; }
.cta::before { content: ''; position: absolute; width: 460px; height: 460px; border: 1px solid #ddbea027; right: -140px; top: -200px; border-radius: 50%; box-shadow: 0 0 0 45px #ddbea009,0 0 0 90px #ddbea006; z-index: -1; }
.cta .eyebrow { color: #ddbea0; }
.cta h2 { line-height: 1.2; }
.cta .btn { padding-inline: 30px; }
.site-footer { position: relative; background: #351411; color: #fff; border: 0; padding-top: 68px; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#711613,#b99a72 50%,#711613); }
.site-footer .brand { color: #fff; }
.site-footer .brand-desc { color: #e1c9bc; border-color: #ffffff30; }
.footer-grid { padding-bottom: 55px; }
.footer-grid p,.footer-grid address,.site-footer .footer-links a,.footer-note,.footer-bottom { color: #d5c0b7; }
.site-footer .footer-links a:hover,.site-footer a:not(.brand):hover { color: #fff; }
.footer-grid h2 { color: #e0ba96; letter-spacing: .16em; font-size: .67rem; }
.footer-grid address { margin-top: 15px; line-height: 1.9; }
.footer-bottom { border-color: #ffffff20; }
.footer-note { font-size: .71rem; }
.footer-note a { color: #f0d3b4; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 30px 66px; background: linear-gradient(115deg,#711613,#59130f); border: 0; color: white; }
.page-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 580px; height: 580px; right: -170px; bottom: -340px; border: 1px solid #ddbea033; border-radius: 50%; box-shadow: 0 0 0 65px #ddbea008,0 0 0 130px #ddbea005; }
.page-hero .eyebrow { color: #dfb996; }
.page-hero h1 { font-size: clamp(2.6rem,4.2vw,4rem); max-width: 1040px; line-height: 1.14; }
.page-hero .lead { color: #f0deda; font-size: 1.03rem; }
.breadcrumb { color: #e7c4b5; font-size: .69rem; margin-bottom: 40px; }
.breadcrumb a { color: #ead7ca; }
.french-title { color: #edcdbb; }
.badge { color: #fff0e5; background: #ffffff09; border-color: #ffffff35; border-radius: 2px; padding: 8px 13px; font-size: .71rem; }
.institution-grid .media-slot { border-radius: 120px 4px 4px 4px; }
.institution-credentials div { border-radius: 4px; border: 1px solid var(--line); border-bottom: 2px solid var(--wine); box-shadow: 0 5px 15px #34201b04; }
.institution-credentials strong { font-size: 1.7rem; }
.prose { line-height: 1.9; }
.content-block + .content-block { padding-top: 48px; margin-top: 48px; }
.course-sidebar { padding: 32px; border-radius: 4px; box-shadow: 0 15px 40px #34201b08; top: 126px; }
.course-sidebar .eyebrow { font-size: .6rem; }
.syllabus li { padding-block: 18px; }
.syllabus li::before { font-family: Georgia,serif; font-size: .9rem; color: #987a5b; }
.diploma-callout { border-radius: 3px; background: var(--paper); border-left-color: var(--accent); }
.filter { border-radius: 3px; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.filter:hover { border-color: var(--wine); color: var(--wine); }
.filter[aria-pressed=true] { color: white; box-shadow: 0 4px 12px #7116131a; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 4px; padding: 22px 26px; margin-bottom: 12px; transition: border-color .25s, background .25s; }
.faq details[open] { border-color: #b99a72; background: var(--paper); }
.faq summary { line-height: 1.6; }
.faq summary::after { border: 1px solid var(--line); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 1.2rem; line-height: 1; }
.steps { gap: 18px; }
.steps li { position: relative; border: 1px solid var(--line); border-radius: 4px; background: white; border-top: 2px solid var(--wine); }
.steps li::before { font-size: 2.7rem; color: #a3876b; }
.steps li h3 { font-size: 1.35rem; }
.requirements article { border-radius: 4px; padding: 32px; box-shadow: 0 5px 15px #34201b04; }
.enrollment-banner { background: var(--paper); border-radius: 4px; border-left: 3px solid var(--accent); }
.contact-intro { border-radius: 4px; padding: 42px; background: var(--paper); }
.contact-form { border: 1px solid var(--line); padding: 36px; border-radius: 5px; box-shadow: 0 12px 35px #34201b06; }
.field label { color: #54423b; font-size: .76rem; }
.field input,.field select,.field textarea { border-radius: 3px; background: #fdfcfa; border-color: #dfd3ca; transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--wine); background: white; box-shadow: 0 0 0 3px #71161309; }
.contact-details { gap: 30px; }
.contact-details > div { border-left: 2px solid #b99a7280; padding-left: 20px; }
.pending-section { background: #faf8f5; border-color: #d6c6b9; border-radius: 4px; }
.pending-section > .pending-label { font-size: .61rem; }
.pending-card { border-radius: 4px; box-shadow: none; }
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 25; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #b99a7280; border-radius: 50%; background: var(--wine); color: white; box-shadow: 0 6px 20px #39181424; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
.back-to-top svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (hover:hover) and (pointer:fine) {
  .btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 9px 20px #71161318; }
  .course-card:hover,.course-card:focus-within { transform: translateY(-6px); border-color: #c5aa94; box-shadow: 0 18px 35px #39181410; }
  .course-card:hover::after,.course-card:focus-within::after { transform: scaleX(1); }
  .principle { transition: background .35s; }
  .principle:hover { background: #efe7de; }
}
@media (prefers-reduced-motion:no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-pending.is-revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay,0ms); }
  .reveal-pending:focus-within { opacity: 1; transform: none; }
  .faq details[open] p { animation: detail-enter .35s var(--ease) both; }
  .course-grid.is-filtering .course-card:not([hidden]) { animation: detail-enter .35s var(--ease) both; }
  @keyframes detail-enter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (min-width:1500px) { :root { --max: 1360px; } .hero { gap: 90px; } .featured .course-card-body { padding: 26px 22px; } }
@media (max-width:1100px) {
  .hero { gap: 45px; }
  .hero h1 { font-size: 3.4rem; }
  .hero .media-slot { min-height: 410px; }
  .intro { gap: 48px; }
  .intro > div:last-child { padding-left: 30px; }
  .diploma-teaser { gap: 22px; }
  .contact-form { padding: 28px; }
  .contact-intro { padding: 30px; }
}
@media (max-width:820px) {
  .header-inner { min-height: 82px; }
  .brand-word { font-size: 40px; }
  .nav { background: #fff; padding: 18px 24px 24px; box-shadow: 0 18px 30px #35141112; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current=page] { border-left: 2px solid var(--wine); padding-left: 14px; background: var(--paper); }
  .hero { gap: 28px; padding-block: 55px 65px; }
  .hero h1 { font-size: 2.7rem; }
  .hero .media-slot { min-height: 385px; border-top-left-radius: 90px; }
  .visual-caption { left: 24px; padding: 18px; }
  .visual-caption strong { font-size: 1.4rem; }
  .visual-caption span { font-size: .52rem; }
  .section { padding-block: 68px; }
  .intro { gap: 28px; }
  .intro > div:last-child { padding-left: 0; border: 0; }
  .credibility-grid { gap: 25px; }
  .credential { gap: 14px; }
  .principle { padding: 25px; }
  .principle::before { left: 25px; }
  .cta { padding: 45px; }
  .page-hero { padding-bottom: 50px; }
  .page-hero h1 { font-size: 3rem; }
  .contact-form { padding: 32px; }
  .course-sidebar { position: static; }
}
@media (max-width:560px) {
  .brand-word { font-size: 36px; }
  .hero { gap: 38px; padding-block: 44px 54px; }
  .hero h1 { font-size: clamp(2.4rem,10.6vw,3.25rem); }
  .hero .lead { font-size: .95rem; line-height: 1.85; }
  .hero .actions { gap: 10px; }
  .hero .actions .btn { min-width: 130px; padding-inline: 15px; }
  .hero-visual { padding-left: 10px; padding-bottom: 24px; }
  .hero .media-slot { min-height: 280px; aspect-ratio: 1.25; }
  .hero .media-slot::before { inset: 17px; border-top-left-radius: 75px; }
  .hero .media-slot::after { inset: 32px; border-radius: 65px 65px 0 0; }
  .hero .media-slot > span { font-size: .58rem; gap: 14px; }
  .hero .media-slot small { font-size: .53rem; }
  .visual-caption { left: 27px; padding: 19px 17px; }
  .visual-caption strong { font-size: 1.3rem; }
  .visual-caption span { font-size: .48rem; }
  .credibility-grid { padding-block: 26px; gap: 24px 16px; }
  .credential { gap: 10px; padding-right: 6px; }
  .credential svg { width: 23px; height: 23px; }
  .credential strong { font-size: .73rem; }
  .credential small { font-size: .66rem; }
  .section { padding-block: 54px; }
  .section-sm { padding-block: 36px; }
  .intro h2,.section-heading h2 { font-size: 2.15rem; }
  .section-heading { margin-bottom: 30px; }
  .section-heading .text-link { white-space: normal; }
  .featured .course-card h3 { font-size: 1.6rem; }
  .featured .course-card-body { padding: 27px; }
  .course-card .media-slot,.featured .media-slot { min-height: 160px; }
  .course-card .cycle,.featured .cycle { font-size: .76rem; }
  .diploma-teaser { padding: 27px; }
  .diploma-teaser h2 { font-size: 1.95rem; }
  .diploma-teaser .eyebrow { font-size: .61rem; }
  .principle { padding: 30px; }
  .principle::before { left: 30px; }
  .cta { padding: 35px 28px; }
  .cta .eyebrow { font-size: .6rem; }
  .cta h2 { font-size: 2rem; }
  .page-hero { padding-block: 24px 42px; }
  .page-hero h1 { font-size: 2.4rem; }
  .page-hero .lead { font-size: .95rem; }
  .breadcrumb { margin-bottom: 30px; }
  .badge { font-size: .67rem; padding: 7px 10px; }
  .institution-credentials { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .institution-credentials div { min-width: 0; padding: 20px 14px; }
  .institution-credentials strong { font-size: 1.2rem; overflow-wrap: anywhere; }
  .contact-form { padding: 25px 20px; }
  .contact-intro { padding: 28px; }
  .faq details { padding: 19px; }
  .faq summary { font-size: .94rem; gap: 14px; }
  .steps li { column-gap: 24px; }
  .steps li::before { font-size: 2.3rem; }
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 30px 20px; }
  .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
  .reveal-pending { opacity: 1!important; transform: none!important; }
}
@media print {
  .site-header,.utility,.back-to-top,.reading-progress { display: none!important; }
  .reveal-pending { opacity: 1!important; transform: none!important; }
  .page-hero,.credibility,.cta,.site-footer { background: white!important; color: #222!important; }
}
