/* =====================================================================
   SELEÇÃO (15 nov 2026) — clean graphite surface, small yellow ring cursor and "game menu" selection
   language for the floating bar, contact and social links. Brand yellow #ffcc33 only in small details.
   Structure, logo, Marajoara borders and the rest of the typography are unchanged.
   Script: selecao.js (cursor, active section, letter roll, copy confirmation).
   ===================================================================== */
body.v2{--sel:#ffcc33;--sel-ease:cubic-bezier(.2,.8,.2,1)}

/* ---------- 1. Background: colour scene that changes with the section (16 nov 2026) ----------
   Three large soft lights (.cena, built by selecao.js) sit behind the frosted glass panels of glass.css.
   selecao.js sets html[data-cena="1…5"] from the section in the middle of the screen; colours and
   positions glide to the next scene. No continuous animation: it only moves when the section changes. */
body.v2 .maraj .tile,body.v2 .maraj .glow{display:none}
@property --base{syntax:'<color>';inherits:true;initial-value:#0b0b0c}
@property --l1{syntax:'<color>';inherits:true;initial-value:transparent}
@property --l2{syntax:'<color>';inherits:true;initial-value:transparent}
@property --l3{syntax:'<color>';inherits:true;initial-value:transparent}
html:has(body.v2){background:var(--base);transition:--base 1.6s var(--sel-ease,ease),--l1 1.6s var(--sel-ease,ease),--l2 1.6s var(--sel-ease,ease),--l3 1.6s var(--sel-ease,ease)}
body.v2{background:transparent}
.cena{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.cena i{position:absolute;width:90vmax;height:90vmax;left:50%;top:50%;margin:-45vmax 0 0 -45vmax;border-radius:50%;
 transition:transform 2s var(--sel-ease,ease)}
.cena i:nth-child(1){background:radial-gradient(closest-side,var(--l1),transparent)}
.cena i:nth-child(2){background:radial-gradient(closest-side,var(--l2),transparent)}
.cena i:nth-child(3){background:radial-gradient(closest-side,var(--l3),transparent)}
/* where the lights stand in each scene */
html[data-cena="1"] .cena i:nth-child(1){transform:translate(-38vw,-30vh)}html[data-cena="1"] .cena i:nth-child(2){transform:translate(40vw,10vh)}html[data-cena="1"] .cena i:nth-child(3){transform:translate(-10vw,55vh)}
html[data-cena="2"] .cena i:nth-child(1){transform:translate(35vw,-35vh)}html[data-cena="2"] .cena i:nth-child(2){transform:translate(-40vw,25vh)}html[data-cena="2"] .cena i:nth-child(3){transform:translate(25vw,50vh)}
html[data-cena="3"] .cena i:nth-child(1){transform:translate(-30vw,30vh)}html[data-cena="3"] .cena i:nth-child(2){transform:translate(38vw,-28vh)}html[data-cena="3"] .cena i:nth-child(3){transform:translate(-45vw,-45vh)}
html[data-cena="4"] .cena i:nth-child(1){transform:translate(40vw,35vh)}html[data-cena="4"] .cena i:nth-child(2){transform:translate(-35vw,-30vh)}html[data-cena="4"] .cena i:nth-child(3){transform:translate(10vw,-55vh)}
html[data-cena="5"] .cena i:nth-child(1){transform:translate(-35vw,40vh)}html[data-cena="5"] .cena i:nth-child(2){transform:translate(38vw,30vh)}html[data-cena="5"] .cena i:nth-child(3){transform:translate(0,-50vh)}
/* glass: the panels are a see-through dark tint again (performance.css keeps them free of backdrop blur;
   the lights are already soft, so the colour reads through like frosted glass without the blur cost) */
body.v2 :is(.v2-intro,.v2-work,.v2-practice,.v2-photos,.v2-classes,.v2-about,.v2-partners,.v2-cta,.v2-contact){background-color:rgba(10,12,16,.46);border-color:rgba(255,255,255,.12)}
/* PALETA:start */
/* Noite Tropical — petróleo, azul-marinho e verde-amazônia */
html[data-cena="1"]{--base:#061419;--l1:#0f6a6ecc;--l2:#0b3d63cc;--l3:#123c30cc}
html[data-cena="2"]{--base:#05151b;--l1:#0d5a72cc;--l2:#14705ecc;--l3:#0a2c4ccc}
html[data-cena="3"]{--base:#061712;--l1:#1d6a50cc;--l2:#0e5a6ecc;--l3:#123554cc}
html[data-cena="4"]{--base:#061219;--l1:#0c4766cc;--l2:#11636acc;--l3:#2f4220cc}
html[data-cena="5"]{--base:#04090b;--l1:#0a3540cc;--l2:#4a3809cc;--l3:#08202ccc}
/* PALETA:end */
@media(prefers-reduced-motion:reduce){html:has(body.v2),.cena i{transition:none}}

/* ---------- 2. Cursor: small yellow ring with a transparent centre (only after a real mouse move, see selecao.js) ---------- */
.gm-cursor{position:fixed;left:0;top:0;width:0;height:0;z-index:2147483000;pointer-events:none;opacity:0;transition:opacity .15s}
.gm-cursor i{position:absolute;left:-8px;top:-8px;width:16px;height:16px;box-sizing:border-box;border:1.5px solid var(--sel,#ffcc33);border-radius:50%;background:transparent;
 box-shadow:0 0 0 .5px rgba(0,0,0,.35),inset 0 0 0 .5px rgba(0,0,0,.35);transition:transform .16s var(--sel-ease,ease),border-width .16s}
.gm-cursor.is-link i{transform:scale(1.4);border-width:1.25px}
.gm-cursor.is-down i{transform:scale(.8)}
.gm-cursor.is-link.is-down i{transform:scale(1.15)}
html.gm-ring .gm-cursor{opacity:1}
html.gm-ring .gm-cursor.is-off,html:has(dialog[open]) .gm-cursor{opacity:0}
html.gm-ring:not(:has(dialog[open])) body,html.gm-ring:not(:has(dialog[open])) body *{cursor:none}
html.gm-ring body :is(input:not([type=checkbox],[type=radio],[type=range],[type=submit],[type=button]),textarea,select,[contenteditable]:not([contenteditable=false])){cursor:auto!important}

/* ---------- 3. Floating bar: menu type and "select an option" interaction ---------- */
/* letter roll: a yellow copy of the word slides in from below; the word keeps exactly the same box */
.gm-roll{position:relative;display:inline-block;overflow:hidden;vertical-align:top;line-height:1.25}
.gm-roll>span{display:block;transition:transform .3s var(--sel-ease)}
.gm-roll>.gm-b{position:absolute;left:0;top:100%;color:var(--sel)}
:is(a,button):is(:hover,:focus-visible) .gm-roll>span{transform:translateY(-100%)}

@media(min-width:701px){
 body.v2 .v2-header nav a{position:relative;font-family:"Schibsted Grotesk",Arial,sans-serif;font-weight:650;font-size:13px;letter-spacing:.085em;text-transform:uppercase;
  background-image:none;color:rgba(243,243,241,.82);transition:color .2s}
 body.v2 .v2-header nav a:is(:hover,:focus-visible),body.v2 .v2-header nav a.is-active{color:var(--ink)}
 /* marker: a small yellow pointer slides in, like the cursor of a game menu */
 body.v2 .v2-header nav a:not([href$="#contact"])::before{content:"";position:absolute;left:-12px;top:50%;width:0;height:0;margin-top:-4px;
  border-style:solid;border-width:4px 0 4px 6px;border-color:transparent transparent transparent var(--sel);opacity:0;transform:translateX(-5px);
  transition:opacity .18s,transform .22s var(--sel-ease)}
 body.v2 .v2-header nav a:not([href$="#contact"]):is(:hover,:focus-visible)::before{opacity:1;transform:none}
 /* current section: a short yellow bar under the word (differs from the hover pointer) */
 body.v2 .v2-header nav a:not([href$="#contact"])::after{content:"";position:absolute;left:50%;bottom:7px;width:14px;height:2px;margin-left:-7px;border-radius:2px;background:var(--sel);
  transform:scaleX(0);transition:transform .25s var(--sel-ease)}
 body.v2 .v2-header nav a.is-active:not([href$="#contact"])::after{transform:scaleX(1)}
 /* Booking pill: same language — yellow outline + the play triangle steps forward */
 body.v2 .v2-header nav a[href$="#contact"]{transition:border-color .2s,color .2s,background-color .2s}
 body.v2 .v2-header nav a[href$="#contact"]::after{transition:transform .22s var(--sel-ease),border-color .2s}
 body.v2 .v2-header nav a[href$="#contact"]:is(:hover,:focus-visible){border-color:var(--sel)}
 body.v2 .v2-header nav a[href$="#contact"]:is(:hover,:focus-visible)::after{transform:translateX(3px);border-left-color:var(--sel)}
 body.v2 .v2-header nav a[href$="#contact"].is-active{border-color:rgba(255,204,51,.55);background:rgba(255,204,51,.06)}
 body.v2 .v2-header nav a[href$="#contact"].is-active::after{border-left-color:var(--sel)}
}
body.v2 .v2-header nav a:focus-visible,body.v2 .language-switch a:focus-visible,body.v2 .menu-btn:focus-visible{outline:2px solid var(--sel);outline-offset:3px;border-radius:999px}

/* language switch: the chosen language is the selected slot (yellow); hover/focus only outlines */
body.v2 .language-switch a{font-family:"Schibsted Grotesk",Arial,sans-serif;font-weight:700;letter-spacing:.04em;transition:color .2s,box-shadow .2s,background-color .2s,transform .2s var(--sel-ease)}
body.v2 .language-switch a[aria-current="true"]{background:var(--sel);color:#111316}
body.v2 .language-switch a[aria-current="false"]:is(:hover,:focus-visible){color:var(--sel);box-shadow:0 0 0 1px rgba(255,204,51,.75) inset;transform:translateY(-1px)}
body.v2 .menu-btn{transition:border-color .2s,color .2s}
body.v2 .menu-btn:is(:hover,:focus-visible){border-color:var(--sel);color:var(--sel)}
/* open mobile menu: the current section is marked too */
body.v2 .sm-list a.is-active .sm-num{color:var(--sel)}

/* ---------- 4. Contact: compact e-mail, buttons and social icons ---------- */
body.v2 .contact-alt{margin-top:clamp(40px,6vh,64px);max-width:none}
body.v2 .contact-alt .email-intro{margin:0 0 10px;font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
body.v2 .contact-alt .email{display:flex;width:fit-content;max-width:100%;align-items:center;gap:12px;margin:0 0 18px;padding:2px 0;border:0;
 font-family:"Schibsted Grotesk",Arial,sans-serif;font-size:clamp(20px,2.3vw,30px);font-weight:600;letter-spacing:-.015em;line-height:1.2;white-space:nowrap;
 background:linear-gradient(var(--sel),var(--sel)) left 100%/0 1px no-repeat;transition:color .2s,background-size .3s var(--sel-ease)}
body.v2 .contact-alt .email>span:not(.gm-roll){font-size:.6em;line-height:1;color:var(--soft);transition:transform .22s var(--sel-ease),color .2s}
body.v2 .contact-alt .email:is(:hover,:focus-visible){color:var(--ink);background-size:100% 1px}
body.v2 .contact-alt .email:is(:hover,:focus-visible)>span:not(.gm-roll){color:var(--sel);transform:translate(2px,-2px)}
body.v2 .contact-alt .email:focus-visible{outline:2px solid var(--sel);outline-offset:6px;border-radius:6px}

body.v2 .copy-email,body.v2 .press-btn{transition:border-color .2s,color .2s,transform .2s var(--sel-ease),background-color .2s}
body.v2 .copy-email,body.v2 .press-btn{margin:0 8px 8px 0}
body.v2 :is(.copy-email,.press-btn):is(:hover,:focus-visible){border-color:var(--sel);color:var(--sel);background:transparent;transform:translateY(-1px)}
body.v2 :is(.copy-email,.press-btn):focus-visible{outline:2px solid var(--sel);outline-offset:3px}
body.v2 :is(.copy-email,.press-btn):active{transform:translateY(0) scale(.98)}
body.v2 .copy-status{margin-left:10px;font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--ink);vertical-align:middle}
body.v2 .copy-status.is-ok{display:inline-flex;align-items:center;gap:7px;animation:gm-pop .25s var(--sel-ease)}
body.v2 .copy-status.is-ok::before{content:"";width:9px;height:5px;margin-top:-3px;border-left:2px solid var(--sel);border-bottom:2px solid var(--sel);transform:rotate(-45deg)}
@keyframes gm-pop{from{opacity:0;transform:translateY(4px)}}

body.v2 .social-links{display:flex;justify-content:flex-start;margin-top:clamp(28px,4vh,40px);gap:6px 30px;font-family:"Schibsted Grotesk",Arial,sans-serif;font-size:14px;font-weight:500}
body.v2 .social-links a{position:relative;gap:10px;background-image:none;color:var(--soft);text-transform:none;letter-spacing:.01em;transition:color .2s}
body.v2 .social-links svg{flex:none;width:20px;height:20px;fill:currentColor;color:var(--ink);transition:color .2s,transform .22s var(--sel-ease)}
body.v2 .social-links a::before{content:"";position:absolute;left:-12px;top:50%;width:0;height:0;margin-top:-4px;border-style:solid;border-width:4px 0 4px 6px;
 border-color:transparent transparent transparent var(--sel);opacity:0;transform:translateX(-5px);transition:opacity .18s,transform .22s var(--sel-ease)}
body.v2 .social-links a:is(:hover,:focus-visible){color:var(--ink)}
body.v2 .social-links a:is(:hover,:focus-visible) svg{color:var(--sel);transform:translateY(-2px)}
body.v2 .social-links a:is(:hover,:focus-visible)::before{opacity:1;transform:none}
body.v2 .social-links a:focus-visible{outline:2px solid var(--sel);outline-offset:4px;border-radius:6px}
@media(max-width:700px){
 body.v2 .contact-alt .email{font-size:clamp(17px,5.2vw,22px);gap:8px}
 body.v2 .social-links{gap:2px 22px;font-size:13px}
 body.v2 .copy-status{display:block;margin:10px 0 0}
 body.v2 .copy-status.is-ok{display:flex}
}

@media(prefers-reduced-motion:reduce){
 .gm-roll>span,.gm-cursor i,body.v2 .v2-header nav a::before,body.v2 .v2-header nav a::after,body.v2 .social-links a::before,body.v2 .social-links svg,
 body.v2 .language-switch a,body.v2 :is(.copy-email,.press-btn),body.v2 .contact-alt .email>span{transition:none}
 :is(a,button):is(:hover,:focus-visible) .gm-roll>span{transform:none}
 :is(a,button):is(:hover,:focus-visible) .gm-roll>.gm-a{color:var(--sel)}
 body.v2 .social-links a:is(:hover,:focus-visible) svg,body.v2 :is(.copy-email,.press-btn):is(:hover,:focus-visible),body.v2 .language-switch a:hover{transform:none}
 body.v2 .copy-status.is-ok{animation:none}
}
