/* Studio Paulista · base compartilhada (tokens, topo, menu, troca Aulas/Curso, dock, rodapé) */
/* fontes auto-hospedadas (cópia exata do CSS do Google Fonts; licença em /fonts/*/OFL.txt) */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmsans/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmsans/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dmsans/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dmsans/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/dmsans/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/dmsans/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjgn7Motmp5r61.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjjH7Motmp5g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif/jizBRFtNs2ka5fXjeivQ4LroWlx-6zsTjnTLgNuZ5w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrumentserif/jizBRFtNs2ka5fXjeivQ4LroWlx-6zUTjnTLgNs.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{
  --wine:#7F202C; --wine-d:#5E1822; --rose:#A64657; --blush:#F2BFB3; --paper:#FBEFEA; --soft:#F6E2DB; --ink:#3A1A1E; --line:#D9B4AB;
  --serif:"Instrument Serif",Georgia,serif; --sans:"DM Sans",system-ui,sans-serif;
  --r:18px; --rb:14px; --rs:8px;
  --bar:76px; --head:100px;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--head) + 8px)}
body{font-family:var(--sans);font-size:17px;line-height:1.55;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;padding-bottom:calc(var(--bar) + env(safe-area-inset-bottom))}
body.lock{overflow:hidden}
a{color:inherit}
img{display:block;max-width:100%}
:focus-visible{outline:3px solid var(--wine);outline-offset:3px}
.dark :focus-visible,header :focus-visible,footer :focus-visible{outline-color:var(--blush)}
strong{font-weight:700}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.02}
section{padding:56px 0}
.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;margin-bottom:14px;color:var(--rose)}
.dark{background:var(--wine);color:var(--blush)}
.btn{display:inline-block;padding:15px 26px;border-radius:var(--rb);background:var(--blush);color:var(--wine);font-weight:700;text-decoration:none;text-align:center}
/* texto só para leitor de tela */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* topo */
header.top{position:sticky;top:0;z-index:60;background:var(--wine);color:var(--blush)}
.bar{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 20px}
.brand{text-decoration:none;line-height:1;position:relative;z-index:2}
.brand b{display:block;font:400 1.45rem var(--serif);color:var(--paper)}
.brand small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:.8}
.hr{display:flex;align-items:center;gap:2px;position:relative;z-index:2}
.ig{width:44px;height:44px;display:grid;place-items:center;border-radius:var(--rb);color:var(--blush)}
.ig:hover{background:rgba(242,191,179,.14)}
.ig svg{width:24px;height:24px}
.burger{width:44px;height:44px;border:0;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;border-radius:var(--rb)}
.burger span{display:block;width:24px;height:2px;background:currentColor;border-radius:2px;transition:transform .25s,opacity .2s;grid-area:1/1}
.burger span:nth-child(1){transform:translateY(-8px)}
.burger span:nth-child(3){transform:translateY(8px)}
header.open .burger span:nth-child(1){transform:rotate(45deg)}
header.open .burger span:nth-child(2){opacity:0}
header.open .burger span:nth-child(3){transform:rotate(-45deg)}

/* troca Aulas / Curso: faixa sempre visível */
.tabs{position:relative;z-index:2;background:var(--wine-d);display:flex;gap:6px;padding:6px 20px;height:40px}
.tabs a{flex:1;display:grid;place-items:center;text-decoration:none;font-size:14px;font-weight:700;border-radius:10px;color:var(--blush);letter-spacing:.01em}
.tabs a:hover{background:rgba(242,191,179,.14)}
.tabs a[aria-current="page"]{background:var(--blush);color:var(--wine)}

/* menu (celular: tela cheia; desktop: em linha) */
#menu{position:fixed;inset:0;z-index:1;background:var(--wine);padding:116px 24px 40px;display:flex;flex-direction:column;overflow-y:auto;visibility:hidden;transform:translateY(-12px);opacity:0;transition:opacity .25s,transform .25s,visibility 0s .25s}
header.open #menu{visibility:visible;transform:none;opacity:1;transition:opacity .25s,transform .25s}
#menu a.l{font:400 2.3rem/1 var(--serif);text-decoration:none;color:#fff;padding:16px 0;border-bottom:1px solid var(--rose)}
#menu .mcta{margin-top:auto;padding-top:28px;display:grid;gap:10px}

/* barra fixa */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--blush);box-shadow:0 -6px 20px rgba(58,26,30,.18)}
.dock .btn{background:#25D366;color:#062B15;padding:14px 8px;font-size:15px;line-height:1.15;display:flex;align-items:center;justify-content:center;min-height:52px}
.dock .btn:hover{background:#1EBE5A}

/* rodapé */
footer{background:var(--wine-d);color:var(--blush);padding:32px 0;font-size:14px}
footer .wrap{display:grid;gap:12px}
footer .fb b{display:block;font:400 1.5rem var(--serif);color:var(--paper);margin-bottom:6px}
footer address{font-style:normal;line-height:1.5}
footer small{opacity:.85}

/* contato + mapa (idêntico nas duas páginas) */
.contact{padding-bottom:40px}
.contact h2{font-size:clamp(2.1rem,8vw,3.4rem);letter-spacing:-.01em;color:var(--ink);margin-bottom:20px}
.contact dl div{padding:14px 0;border-bottom:1px solid var(--line)}
.contact dt{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--rose);font-weight:700;margin-bottom:2px}
.contact dd{font-size:1.05rem}
.contact dd a{font-weight:500;color:var(--ink)}
.map{width:100%;height:280px;border:0;border-radius:20px;margin-top:22px;filter:saturate(.85)}

/* ponte entre as páginas (.cross): parágrafo do botão "Saiba mais" */
.cross-cta{margin-top:20px}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}#menu,.burger span{transition:none}}

@media (min-width:900px){
  body{font-size:18px;padding-bottom:96px}
  :root{--head:104px}
  .wrap{padding:0 40px}
  section{padding:96px 0}
  .bar{padding:0 40px;height:64px}
  .tabs{padding:6px 40px;height:40px;justify-content:flex-start}
  .tabs a{flex:none;padding:0 22px}
  .burger,#menu .mcta{display:none}
  #menu{position:static;inset:auto;z-index:auto;background:none;padding:0;flex-direction:row;align-items:center;gap:26px;visibility:visible;opacity:1;transform:none;overflow:visible;transition:none;margin-left:auto;margin-right:14px}
  #menu a.l{font:500 15px var(--sans);padding:0;border:0;color:var(--blush)}
  #menu a.l:hover{text-decoration:underline;text-underline-offset:5px}
  .dock{left:50%;right:auto;transform:translateX(-50%);bottom:16px;width:min(380px,calc(100% - 32px));border-radius:var(--r);padding:8px}
  footer .wrap{grid-template-columns:1fr auto;align-items:center}
  .contact .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px}
  .contact h2{grid-column:1/3}
  .map{height:100%;min-height:340px;margin:0}
}
