:root{
  --bg:#07100c;
  --bg-soft:#0c1812;
  --panel:#102019;
  --panel-2:#14271f;
  --green:#1f8b5d;
  --green-light:#4fc58c;
  --green-dark:#0f6b4a;
  --cream:#f7f4ed;
  --muted:#aaa9a2;
  --line:rgba(79,197,140,.22);
  --shadow:0 26px 70px rgba(0,0,0,.34);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 25% 0%,rgba(31,139,93,.14),transparent 32%),
    var(--bg);
  color:var(--cream);
  font-family:Inter,Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}
a{color:inherit}
img{max-width:100%}
.grain{
  position:fixed;inset:0;pointer-events:none;z-index:999;
  opacity:.032;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")
}
.site-header{
  position:fixed;z-index:50;left:0;right:0;top:0;
  height:74px;padding:0 clamp(18px,4vw,64px);
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(7,16,12,.76);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.05)
}
.header-brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-family:Georgia,serif;font-size:20px}
.mini-mark{width:34px;height:34px;fill:none;stroke:var(--green-light);stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.site-nav{display:flex;gap:30px}
.site-nav a{text-decoration:none;color:var(--muted);font-size:14px;transition:.2s}
.site-nav a:hover{color:var(--cream)}
.menu-toggle{display:none;border:1px solid var(--line);background:transparent;color:var(--cream);border-radius:10px;padding:9px 13px}
.hero{
  min-height:100svh;position:relative;display:grid;place-items:center;
  padding:120px 20px 80px;overflow:hidden
}
.hero-glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.38}
.glow-one{width:420px;height:420px;background:#0f6b4a;left:-120px;top:12%}
.glow-two{width:320px;height:320px;background:#1f8b5d;right:-80px;bottom:8%;opacity:.18}
.hero-content{position:relative;z-index:2;text-align:center;max-width:920px}
.brand-mark{width:126px;height:126px;fill:none;stroke:var(--green-light);stroke-width:5.2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:22px}
.mark-line{stroke-dasharray:360;stroke-dashoffset:360;animation:draw 1.3s cubic-bezier(.7,0,.2,1) forwards}
.line-two{animation-delay:.28s}
@keyframes draw{to{stroke-dashoffset:0}}
.eyebrow{font-size:11px;letter-spacing:.24em;color:var(--green-light);font-weight:700}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif}
h1{font-size:clamp(54px,10vw,108px);line-height:.94;margin:14px 0 12px;font-weight:500}
.slogan{font-family:Georgia,serif;font-size:clamp(24px,4vw,40px);margin:0;color:#d8efe2}
.hero-copy{max-width:660px;margin:22px auto 0;color:var(--muted);font-size:clamp(17px,2.4vw,21px);line-height:1.65}
.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:34px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:52px;
  padding:0 24px;border-radius:999px;text-decoration:none;font-weight:700;font-size:14px;
  transition:transform .2s,box-shadow .2s,background .2s
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--green-light),var(--green));color:#04100a;box-shadow:0 14px 35px rgba(31,139,93,.24)}
.btn-secondary{border:1px solid var(--line);background:rgba(255,255,255,.03)}
.scroll-indicator{position:absolute;bottom:24px;width:30px;height:52px;border:1px solid var(--line);border-radius:20px}
.scroll-indicator span{display:block;width:4px;height:9px;background:var(--green-light);border-radius:4px;margin:10px auto;animation:scroll 1.5s infinite}
@keyframes scroll{0%{transform:translateY(0);opacity:1}100%{transform:translateY(20px);opacity:0}}
.section{width:min(1180px,100%);margin:0 auto;padding:110px 24px}
.section-heading{max-width:720px;margin-bottom:46px}
.section-heading h2{font-size:clamp(38px,6vw,70px);line-height:1.02;margin:14px 0 0;font-weight:500}
.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.feature-card{
  position:relative;min-height:290px;padding:34px;border:1px solid var(--line);border-radius:26px;
  background:linear-gradient(145deg,rgba(20,39,31,.9),rgba(10,23,17,.86));box-shadow:var(--shadow);
  transition:transform .25s,border-color .25s
}
.feature-card:hover{transform:translateY(-4px);border-color:rgba(79,197,140,.55)}
.feature-number{color:var(--green-light);font-size:12px;letter-spacing:.18em}
.feature-card h3{font-size:32px;margin:70px 0 14px;font-weight:500}
.feature-card p{color:var(--muted);line-height:1.7;margin:0;max-width:520px}
.project-section{padding-top:70px}
.project-card{
  display:grid;grid-template-columns:minmax(280px,.85fr) minmax(300px,1.15fr);
  gap:48px;align-items:center;padding:32px;border:1px solid var(--line);border-radius:30px;
  background:linear-gradient(145deg,var(--panel-2),#0c1712);box-shadow:var(--shadow)
}
.project-visual{border-radius:22px;overflow:hidden;max-height:630px;background:#050505}
.project-visual img{display:block;width:100%;height:100%;object-fit:cover}
.project-tag{font-size:11px;letter-spacing:.2em;color:var(--green-light)}
.project-copy h3{font-size:clamp(38px,5vw,64px);line-height:1.02;margin:16px 0}
.project-copy>p:not(.project-tag){color:var(--muted);font-size:17px;line-height:1.7}
.project-highlights{display:flex;gap:9px;flex-wrap:wrap;margin:26px 0}
.project-highlights span{padding:10px 13px;border-radius:999px;border:1px solid var(--line);font-size:12px;color:#cbe4d6}
.text-link{text-decoration:none;color:var(--green-light);font-weight:700}
.text-link span{display:inline-block;transition:transform .2s}
.text-link:hover span{transform:translateX(5px)}
.principles{border-top:1px solid var(--line)}
.principle{display:grid;grid-template-columns:70px 1fr;padding:34px 0;border-bottom:1px solid var(--line);align-items:start}
.principle>span{color:var(--green-light);font-size:12px;letter-spacing:.18em}
.principle h3{font-size:clamp(30px,4vw,52px);font-weight:500;line-height:1.08;margin:0}
.cta-section{padding:20px 24px 110px}
.cta-card{
  width:min(1180px,100%);margin:0 auto;text-align:center;padding:90px 24px;border-radius:32px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%,rgba(79,197,140,.18),transparent 42%),
    linear-gradient(145deg,#10251b,#0b1711)
}
.cta-mark{width:82px;height:82px;fill:none;stroke:var(--green-light);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:24px}
.cta-card h2{font-size:clamp(38px,6vw,70px);max-width:850px;margin:18px auto;line-height:1.02;font-weight:500}
.cta-card p:not(.eyebrow){max-width:670px;margin:0 auto 28px;color:var(--muted);font-size:17px;line-height:1.65}
.site-footer{
  width:min(1180px,calc(100% - 48px));margin:0 auto;padding:34px 0 48px;
  display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line)
}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand strong,.footer-brand span{display:block}
.footer-brand strong{font-family:Georgia,serif;font-size:20px}
.footer-brand span{color:var(--muted);font-size:13px;margin-top:3px}
.footer-links{display:flex;gap:20px;align-items:center}
.footer-links a{text-decoration:none;color:var(--muted);font-size:14px}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:760px){
  .menu-toggle{display:block}
  .site-nav{
    position:absolute;top:74px;left:14px;right:14px;display:none;flex-direction:column;gap:0;
    padding:10px;border:1px solid var(--line);border-radius:16px;background:#0d1b14;box-shadow:var(--shadow)
  }
  .site-nav.open{display:flex}
  .site-nav a{padding:13px}
  .feature-grid{grid-template-columns:1fr}
  .feature-card{min-height:240px}
  .feature-card h3{margin-top:42px}
  .project-card{grid-template-columns:1fr;gap:28px;padding:18px}
  .project-visual{max-height:500px}
  .site-footer{flex-direction:column}
  .footer-links{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}

/* ===== MisArte Digital v1.1 ===== */
body.splash-active{overflow:hidden}
.splash{
  position:fixed;inset:0;z-index:1000;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 50% 45%,rgba(31,139,93,.18),transparent 32%),
    #06100b;
  transition:opacity .8s ease,visibility .8s ease;
}
.splash.hide{opacity:0;visibility:hidden}
.splash-inner{text-align:center}
.splash-mark{
  width:132px;height:132px;fill:none;stroke:var(--green-light);
  stroke-width:5.4;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 18px rgba(79,197,140,.22))
}
.splash-line{stroke-dasharray:360;stroke-dashoffset:360}
.splash-one{animation:splashDraw 1.15s cubic-bezier(.7,0,.2,1) forwards}
.splash-two{animation:splashDraw 1.15s .2s cubic-bezier(.7,0,.2,1) forwards}
.splash-inner strong{
  display:block;margin-top:18px;font-family:Georgia,serif;
  font-size:28px;font-weight:500;opacity:0;
  animation:splashFade .7s .65s ease forwards
}
.splash-inner span{
  display:block;margin-top:8px;color:#c7d7ce;font-family:Georgia,serif;
  font-size:16px;opacity:0;animation:splashFade .7s .85s ease forwards
}
@keyframes splashDraw{to{stroke-dashoffset:0}}
@keyframes splashFade{to{opacity:1}}
.particles{
  position:fixed;inset:0;z-index:-1;width:100%;height:100%;
  pointer-events:none;opacity:.55
}
.site-header.compact{
  height:60px;background:rgba(7,16,12,.9);
  box-shadow:0 8px 30px rgba(0,0,0,.22)
}
.site-header,.header-brand,.mini-mark{transition:.25s ease}
.site-header.compact .mini-mark{width:28px;height:28px}
.site-header.compact .header-brand{font-size:18px}
.feature-card,.project-card,.cta-card{
  transform-style:preserve-3d;
  will-change:transform
}
.feature-card.touch-active,.project-card.touch-active,.cta-card.touch-active{
  transform:translateY(-3px) scale(.995)
}
.footer-copy{max-width:360px;color:var(--muted);font-size:13px;line-height:1.55}
.footer-copy p{margin:0}
@media(max-width:760px){
  .splash-mark{width:110px;height:110px}
  .site-footer{gap:18px}
  .footer-copy{order:3}
}

/* v1.2.1 — correção de logo e proporções */
.logo-img{
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 0 14px rgba(0,196,108,.14));
}
.mini-mark.logo-img{width:30px;height:30px}
.brand-mark.logo-img{width:118px;height:auto;margin:0 auto 18px}
.cta-mark.logo-img{width:76px;height:auto;margin:0 auto 20px}
.splash-mark.logo-img{
  width:120px;height:auto;margin:0 auto;
  animation:logoEntrance .95s cubic-bezier(.7,0,.2,1) forwards
}
.splash-inner span{display:none!important}
@keyframes logoEntrance{
  from{opacity:0;transform:scale(.92) translateY(5px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}

/* Tipografia mais equilibrada no desktop */
h1{font-size:clamp(46px,7vw,82px)}
.slogan{font-size:clamp(22px,3vw,32px)}
.section-heading h2{font-size:clamp(34px,4.8vw,58px)}
.project-copy h3{font-size:clamp(34px,4.4vw,54px)}
.principle h3{font-size:clamp(28px,3.5vw,44px)}
.cta-card h2{font-size:clamp(34px,4.8vw,58px)}

@media(max-width:760px){
  h1{font-size:clamp(42px,13vw,62px)}
  .brand-mark.logo-img{width:96px}
  .splash-mark.logo-img{width:100px}
  .section-heading h2{font-size:clamp(32px,10vw,46px)}
}


/* =========================================================
   MISARTE DIGITAL v2.0 OFICIAL
   Splash em pincelada + hierarquia tipográfica refinada
   ========================================================= */

body.splash-active {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(31, 139, 93, .16), transparent 34%),
    #06100b;
  opacity: 1;
  visibility: visible;
  transition: opacity .72s ease, visibility .72s ease;
}

.splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
}

.splash-logo-wrap {
  position: relative;
  width: 152px;
  margin: 0 auto;
  aspect-ratio: 1.55 / 1;
}

.splash-logo-guide,
.splash-logo-reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-logo-guide {
  opacity: .075;
  filter: grayscale(1) brightness(.7);
}

.splash-logo-reveal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: misarteBrushReveal 1.08s cubic-bezier(.72, 0, .2, 1) .12s forwards;
}

.splash-logo-reveal img {
  filter:
    drop-shadow(0 0 8px rgba(79, 197, 140, .22))
    drop-shadow(0 0 20px rgba(79, 197, 140, .12));
}

.splash-brush-glow {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: -10%;
  width: 28%;
  opacity: 0;
  transform: skewX(-10deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(155, 255, 204, .06),
    rgba(155, 255, 204, .58),
    rgba(79, 197, 140, .14),
    transparent
  );
  filter: blur(5px);
  animation: misarteBrushGlow 1.08s cubic-bezier(.72, 0, .2, 1) .12s forwards;
}

.splash-inner strong {
  display: block;
  margin-top: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(7px);
  animation: misarteNameIn .48s ease 1.24s forwards;
}

@keyframes misarteBrushReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  55%  { clip-path: inset(0 42% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes misarteBrushGlow {
  0%   { left: -10%; opacity: 0; }
  12%  { opacity: .8; }
  88%  { opacity: .65; }
  100% { left: 86%; opacity: 0; }
}

@keyframes misarteNameIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nossa forma de pensar: hierarquia mais elegante */
.principles-section .section-heading {
  max-width: 620px;
  margin-bottom: 34px;
}

.principles-section .section-heading h2 {
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.08;
}

.principle {
  grid-template-columns: 58px 1fr;
  padding: 26px 0;
}

.principle h3 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.14;
}

.principle > span {
  padding-top: 5px;
}

/* Ajustes globais finais de proporção */
.section-heading h2 {
  max-width: 18ch;
}

.feature-card h3 {
  font-size: clamp(26px, 3vw, 32px);
}

@media (max-width: 760px) {
  .splash-logo-wrap {
    width: 124px;
  }

  .splash-inner strong {
    font-size: 24px;
    margin-top: 16px;
  }

  .principles-section .section-heading h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .principle {
    grid-template-columns: 42px 1fr;
    padding: 22px 0;
  }

  .principle h3 {
    font-size: clamp(22px, 6.5vw, 29px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo-reveal {
    clip-path: inset(0 0 0 0);
    animation: none;
  }

  .splash-brush-glow {
    display: none;
  }

  .splash-inner strong {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* =========================================================
   MISARTE DIGITAL v3.0.5
   Correção segura: Home e Splash preservadas.
   Apenas tipografia e espaçamento ajustados.
   ========================================================= */

.site-header{
  height:64px !important;
  padding-left:36px !important;
  padding-right:36px !important;
}
.header-brand{font-size:17px !important;}
.site-nav a{font-size:13px !important;}

.hero{
  padding-top:108px !important;
  padding-bottom:78px !important;
}
.hero-content{max-width:820px !important;}
.hero h1{
  font-size:48px !important;
  line-height:1.04 !important;
  letter-spacing:-0.03em !important;
  margin:12px 0 10px !important;
}
.hero .slogan{
  font-size:22px !important;
  line-height:1.25 !important;
}
.hero .hero-copy{
  font-size:16px !important;
  line-height:1.65 !important;
  max-width:620px !important;
}
.hero .eyebrow{font-size:10px !important;}
.brand-mark.logo-img{width:94px !important;}

.section{
  padding-top:80px !important;
  padding-bottom:80px !important;
}
.section-heading{margin-bottom:34px !important;}
.section-heading h2{
  font-size:32px !important;
  line-height:1.14 !important;
  letter-spacing:-0.025em !important;
  max-width:18ch !important;
}
.section-heading .eyebrow{font-size:10px !important;}

.feature-card{
  min-height:248px !important;
  padding:28px !important;
}
.feature-card h3{
  font-size:21px !important;
  line-height:1.2 !important;
  margin-top:50px !important;
}
.feature-card p{
  font-size:14px !important;
  line-height:1.65 !important;
}
.feature-number{font-size:11px !important;}

.project-copy h3{
  font-size:36px !important;
  line-height:1.08 !important;
}
.project-copy > p:not(.project-tag){
  font-size:15px !important;
  line-height:1.65 !important;
}
.project-tag{font-size:10px !important;}

.principles-section .section-heading h2{
  font-size:30px !important;
}
.principle{padding:24px 0 !important;}
.principle h3{
  font-size:24px !important;
  line-height:1.2 !important;
}
.principle > span{font-size:11px !important;}

.cta-card{padding:68px 24px !important;}
.cta-card h2{
  font-size:36px !important;
  line-height:1.12 !important;
  max-width:760px !important;
}
.cta-card p:not(.eyebrow){
  font-size:15px !important;
  line-height:1.65 !important;
}

@media(max-width:760px){
  .site-header{
    height:60px !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }
  .header-brand{font-size:16px !important;}
  .hero{
    padding-top:94px !important;
    padding-bottom:64px !important;
  }
  .hero h1{font-size:36px !important;}
  .hero .slogan{font-size:19px !important;}
  .hero .hero-copy{font-size:15px !important;}
  .brand-mark.logo-img{width:82px !important;}
  .section{
    padding-top:64px !important;
    padding-bottom:64px !important;
  }
  .section-heading h2{font-size:28px !important;}
  .feature-card h3{font-size:20px !important;}
  .project-copy h3{font-size:30px !important;}
  .principles-section .section-heading h2{font-size:27px !important;}
  .principle h3{font-size:21px !important;}
  .cta-card h2{font-size:29px !important;}
}


/* =========================================================
   v3.1.0 — Projetos dinâmicos
   ========================================================= */

.projects-dynamic{
  display:grid;
  gap:32px;
}

.projects-dynamic .project-card + .project-card{
  margin-top:8px;
}

.projects-dynamic .project-card.is-featured{
  border-color:rgba(79,197,140,.30);
}
.projects-dynamic .project-visual{
  max-height:none;
}

.projects-dynamic .project-visual img{
  width:100%;
  height:auto;
  object-fit:contain;
}


@media(max-width:760px){
  .projects-dynamic{
    gap:24px;
  }
}
/* Seletor de idioma */
.language-switcher{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:18px;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.04em;
}

.language-switcher button{
  appearance:none;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.58);
  padding:0;
  cursor:pointer;
  font:inherit;
  transition:color .2s ease;
}

.language-switcher button:hover{
  color:#fff;
}

.language-switcher button.active{
  color:#48d597;
}

.language-switcher .language-separator{
  color:rgba(255,255,255,.34);
}

@media (max-width:760px){
  .language-switcher{
    margin-left:auto;
    margin-right:12px;
  }
}
.brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-digital {
  display: block;
  margin-top: 4px;
 font-size: 0.60em;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  white-space: nowrap;
}
.hero .eyebrow {
  margin-top: 22px;
}
.hero .brand-mark {
  margin-bottom: 6px;
}