:root{--ink:#173f38;--green:#256e51;--gold:#ebbb52;--paper:#faf7ef}
body{font-size:17px;background:var(--paper)}
.test-notice{background:#173f38;color:#fff;text-align:center;padding:10px 18px;font-size:13px;line-height:1.6}.test-notice a{color:#ffe2a1;font-weight:700;margin-left:10px}
header{padding:22px max(5%,calc((100vw - 1240px)/2));border:0;gap:20px;background:#faf7ef}header .brand{font-size:17px}.brand img{width:58px;height:58px}.brand small{font-size:12px;color:#577268}header nav{padding-top:16px;border-top:1px solid #d8dfd2;gap:18px;align-items:center}header nav a{font-weight:650;padding:8px 0}header nav a.other-work-highlight{border-radius:30px}
section{padding:76px max(6%,calc((100vw - 1180px)/2))}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:800}h2{font-size:clamp(34px,4vw,52px);max-width:850px}h3{font-size:23px}.button{border-radius:30px;padding:14px 24px;box-shadow:0 5px 14px #173f3814;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}a:focus-visible,button:focus-visible{outline:3px solid #c78620;outline-offset:5px}
.hero{position:relative;isolation:isolate;overflow:hidden;background:#edeeda;background-image:radial-gradient(ellipse at 90% 0%,#e0e8ca 0,transparent 50%);padding-top:66px;padding-bottom:74px;gap:5%;grid-template-columns:1.05fr 1fr}.hero:before{content:"";position:absolute;width:330px;height:330px;border:1px solid #a8be8d;border-radius:50%;top:-210px;right:25%;z-index:-1}.hero:after{content:"";position:absolute;width:230px;height:230px;background:#e8c46a77;border-radius:50%;bottom:-150px;left:15%;z-index:-1}.hero h1{font-size:clamp(58px,7vw,100px);letter-spacing:-.055em}.hero h1 span{font-size:clamp(26px,3vw,35px);color:#647f40;margin-top:24px}.hero .intro{font-size:17px;line-height:1.8;max-width:550px}.hero .meta{color:#526657;font-size:12px;line-height:1.8}.hero figure{background:white;padding:13px 13px 0;border-radius:24px;box-shadow:0 20px 50px #173f3820;transform:rotate(1.5deg)}.hero figure img{max-height:none;height:auto;border:0;box-shadow:none;border-radius:14px;object-fit:contain}.hero figcaption{margin:0;padding:17px 10px;color:#587053;font-size:12px;text-align:center}
.project-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:28px max(6%,calc((100vw - 1180px)/2));background:#173f38;color:#fff}.project-facts div{display:flex;align-items:center;gap:13px}.project-facts strong{font:34px Georgia,serif;color:#f2cf80}.project-facts span{font-size:13px;line-height:1.5}.opening{background:#faf7ef}.opening .columns{gap:36px;line-height:1.85}.opening blockquote{background:#f0e8d6;border:0;border-radius:24px;padding:30px 36px;font-size:clamp(24px,3vw,32px);color:#576443}.opening cite{font-size:12px;color:#173f38}
#percurso{background:#fffdf8}.journey{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px}.journey article{border:0;background:#eef1e5;border-radius:20px;padding:22px 18px;position:relative}.journey article:nth-child(2n){background:#fff0cd}.journey article:nth-child(3){background:#e5eef0}.journey b{font-size:40px;color:#6c8953}.journey h3{font-size:19px;min-height:50px}.journey p{font-size:14px;line-height:1.75;margin-bottom:0}.book{border-radius:24px;background:#f4ead2;gap:32px;padding:32px}.book img{border-radius:6px;box-shadow:8px 8px 0 #d7bd82}.book h3{font-family:Georgia,serif;font-size:28px}
.authors{background:#173f38;background-image:radial-gradient(ellipse at 0% 100%,#2e6549,transparent 65%)}.authors h2{color:#fff8e6}.authors>p:not(.eyebrow){color:#dae8da}.authors h3{display:inline-block;padding:7px 18px;border:1px solid #ffffff40;border-radius:30px;font-size:17px}.authorgrid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:15px}.authors .photoButton{background:#ffffff0d;padding:8px;border-radius:15px;transition:transform .2s}.authors .photoButton:hover{transform:translateY(-4px)}.authors .photoButton img{border-radius:9px}
#livros{background:#faf7ef}#livros>h3{font:28px Georgia,serif;padding:18px 0 12px;border-bottom:1px solid #d9d9c6;margin-top:38px}.bookshelf{grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:22px}.studentbook{border:1px solid #ece7da;border-radius:22px;padding:20px;box-shadow:0 8px 24px #173f3808;transition:transform .2s,box-shadow .2s}.studentbook:hover{transform:translateY(-4px);box-shadow:0 14px 28px #173f3814}.studentbook img{border-radius:7px;background:#faf7ef}.studentbook h4{font-family:Georgia,serif;font-size:21px}.studentbook .button{border-radius:12px;margin-top:auto}.studentbook p{color:#647a67}
#mostra{background:#edf2e8}.gallery{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.gallery .photoButton{background:#fff;padding:10px;border-radius:18px;box-shadow:0 8px 20px #173f380b}.gallery .photoButton img{border:0;border-radius:10px}.gallerytitle{font-family:Georgia,serif;font-size:29px}.video-section{background:#173f38;color:#fff}.video-section .eyebrow{color:#f4ce7a}.video-section p{color:#deebdf}.video-section video{border-radius:22px;box-shadow:0 14px 34px #0003}.learning{background:#f2e6c9}.learning article{padding:26px;background:#ffffff80;border-radius:20px}.learning article h3{margin-top:0}.document{background:#fffdf8;gap:6%}.credit{border:0;padding:28px;background:#eff2e8;border-radius:24px}.teacher-photo{width:170px;border-radius:18px}.credit h3{font-family:Georgia,serif;font-size:27px}.credit p{font-size:14px;line-height:1.8}footer{background:#102e29}dialog{border-radius:20px}
@media(max-width:900px){.hero{grid-template-columns:1fr 1fr;gap:30px}.hero h1{font-size:66px}.project-facts{gap:10px}.project-facts strong{font-size:28px}.bookshelf{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){header{display:flex;padding:18px 6%;gap:18px}.brand img{width:44px;height:44px}.brand small{font-size:11px}header nav{gap:8px 15px;font-size:12px;margin-top:0}section{padding:48px 6%}.hero{grid-template-columns:1fr;padding-top:40px;padding-bottom:45px}.hero h1{font-size:70px}.hero h1 span{font-size:29px}.hero figure{margin-top:12px;transform:none}.project-facts{padding:22px 6%;gap:14px}.project-facts div{display:block;text-align:center}.project-facts strong{display:block;font-size:30px;margin-bottom:6px}.project-facts span{font-size:11px}.opening blockquote{padding:24px}.journey{grid-template-columns:1fr 1fr;gap:12px}.journey article{padding:18px 15px}.journey h3{font-size:18px}.journey b{font-size:34px}.book{padding:24px;gap:24px}.book h3{font-size:23px}.book .button{font-size:12px;padding:11px 14px}.authorgrid{grid-template-columns:repeat(3,1fr);gap:9px}.authors .photoButton{padding:5px}.bookshelf{grid-template-columns:1fr 1fr;gap:12px}.studentbook{padding:12px;border-radius:16px}.studentbook h4{font-size:18px}.studentbook .button{font-size:12px;padding:10px 7px}.gallery{grid-template-columns:1fr 1fr;gap:12px}.gallery .photoButton{padding:6px;border-radius:12px}.video-section{grid-template-columns:1fr}.learning .columns{gap:14px}.credit{padding:24px}.document{grid-template-columns:1fr}.test-notice{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.about-teacher{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:6%;align-items:center;background:#eff2e8}.about-teacher>img{width:100%;height:auto;display:block;border-radius:24px;box-shadow:0 12px 30px #173f3818}.about-teacher p{font-size:17px;line-height:1.75}.about-teacher .eyebrow{font-size:13px}.support-list{list-style:none;padding:0;margin:0 0 24px}.support-list li{padding:10px 0;border-bottom:1px solid #d4ded3;font-size:15px}.support-list span{display:block;font-size:13px;color:#456359}@media(max-width:620px){.about-teacher{grid-template-columns:1fr;gap:28px}.about-teacher>img{max-width:300px;margin:auto}.about-teacher h2{font-size:34px}}

/* Compact portrait and biography */
#sobre-mim.about-teacher{grid-template-columns:180px minmax(0,1fr);gap:36px}
#sobre-mim.about-teacher>img{width:180px;height:180px;max-width:100%;border-radius:50%;object-fit:cover;object-position:center 25%;margin:0 auto}
#sobre-mim.about-teacher p:not(.eyebrow){font-size:14px;line-height:1.8;text-align:justify;hyphens:auto;overflow-wrap:break-word}
@media(max-width:620px){#sobre-mim.about-teacher{grid-template-columns:1fr;gap:24px}#sobre-mim.about-teacher>img{width:160px;height:160px}}

#mostra .mostra-more{margin-top:24px}#mostra .mostra-more summary{padding:16px 22px;border-radius:14px;background:#f8eddd;color:#5d4830;font-size:16px;font-weight:700;cursor:pointer;line-height:1.5}#mostra .mostra-more summary:focus-visible{outline:3px solid #245f4f;outline-offset:4px}#mostra .mostra-more[open] summary{margin-bottom:24px}
