/* ==========================================================================
   Tema escuro da Emito

   Carregado DEPOIS de emito.css e ativo so quando <html data-theme="dark">.
   Sobrepoe apenas cor: o layout, os espacamentos e as correcoes da versao
   light continuam vindo do emito.css. Gerado a partir do delta entre
   emito.css e emito-dark.css (a folha da versao antiga do site).
   ========================================================================== */

/* Variaveis de cor do Webflow — a base do tema. */
:root[data-theme="dark"] {
  --_color---base-color--black: #090909;
  --_color---bg-color--bg-primary: #090909;
  --_color---bg-color--bg-secondary: #1a1a1a;
  --_color---bg-color--card-bg-01: #2a2a2a;
  --_color---text-color--text-primary: white;
  --background-color--background-error\<deleted\|variable-89aecd3e-2fe8-312c-65a2-e3e7c57d326c\>: var(--base-color--pure-light\<deleted\|variable-ad7a5e8d-bd95-fba4-5110-cbccfa2520c4\>);
  --base--bg--badge-bg\<deleted\|variable-6797516b-7788-f335-a7d6-56ca40431f1b\>: #1b162699;
  --base--bg--bg-primary\<deleted\|variable-f4cb5dfe-770a-c506-f5ae-573bdbd8400f\>: #090909;
  --base--bg--bg-secondary\<deleted\|variable-bdb5dc4b-d1c8-bf9b-7248-93b4bbb88386\>: #1a1a1a;
  --base--bg--bg-white\<deleted\|variable-088e53f4-1627-fa0e-cfb9-3f394463e00e\>: var(--color--base--white\<deleted\|variable-db601664-448b-15fc-e452-0ecc5045f587\>);
  --base--bg--bg\<deleted\|variable-775867e7-6968-bcd0-2bd6-88fba99ff989\>: #1e1e1e;
  --base--bg--brand\<deleted\|variable-e1c443ef-d94a-731c-6fe4-55f3cdd5cc8b\>: var(--color--base--brand-color);
  --base--border--border-inverse-hover\<deleted\|variable-b9ecb5b2-637d-4151-c056-8753db52e598\>: var(--color--neutral--500\<deleted\|variable-80fd2b1d-d353-dc92-58f3-f47f589544fe\>);
  --base--border--border-inverse\<deleted\|variable-9a164172-2980-f6a2-dab2-7ad431bede19\>: var(--color--neutral--700\<deleted\|variable-5b3bd37c-6acc-7567-8eff-f92c87c3fc44\>);
  --base--text--text-inverse\<deleted\|variable-bcf7d868-f908-9348-a88f-142f28f41b15\>: #ddc3a5;
  --base--text--text-primary\<deleted\|variable-b1dfc003-56b0-59f3-ff83-04ceb7fb61ae\>: white;
  --base--text--text-white-80\<deleted\|variable-e2ce8caa-6097-a195-cfc4-8b4932396324\>: #fffc;
  --base-color--bg-color\<deleted\|variable-f7a8b234-8033-a5d6-4d85-0326277c2bf8\>: #f6f6f6;
  --base-color--pure-light\<deleted\|variable-ad7a5e8d-bd95-fba4-5110-cbccfa2520c4\>: #fefefe;
  --color--base--black\<deleted\|variable-72e030ee-3a7a-1004-6fd8-d14c72259616\>: #090909;
  --color--base--transparent\<deleted\|variable-4bc44065-f394-2173-3e2f-6362fdd7b639\>: #0000;
  --color--base--white\<deleted\|variable-db601664-448b-15fc-e452-0ecc5045f587\>: white;
  --color--black--100\<deleted\|variable-80e006a9-f8b1-7d75-110d-fc04e5485c4f\>: #0000001a;
  --color--black--400\<deleted\|variable-aaa0f622-5f83-4ae1-ae37-2769887f08a1\>: #0006;
  --color--brand--300\<deleted\|variable-de0fe0dd-f85d-3c17-ea67-56074995c09a\>: #5a389d;
  --color--neutral--500\<deleted\|variable-80fd2b1d-d353-dc92-58f3-f47f589544fe\>: #ccc;
  --color--neutral--700\<deleted\|variable-5b3bd37c-6acc-7567-8eff-f92c87c3fc44\>: #595959;
  --color--white--50\<deleted\|variable-a0e596bf-bd7e-6b07-cf80-7581fe9e12c8\>: #ffffff0d;
  --container--desktop-sm\<deleted\|variable-b9237f29-ba63-d713-defe-aac24ec90710\>: 1140px;
  --font--family--heading\<deleted\|variable-3accae60-42c9-85d9-7908-5e18c2153ebb\>: Inter;
  --semantic--border--border-brand\<deleted\|variable-6f329bcf-7adb-4e4a-41ac-de121cc55019\>: var(--color--brand--300\<deleted\|variable-de0fe0dd-f85d-3c17-ea67-56074995c09a\>);
  --sizes--radius--2xl-16px\<deleted\|variable-45e01118-8914-1cab-124d-c3b1dd9f31d4\>: 1rem;
  --sizes--radius--lg-10px\<deleted\|variable-68f590ae-01c8-ce59-6fea-692c8073a657\>: .625rem;
  --sizes--radius--xs-4px\<deleted\|variable-2665f595-d26a-b16e-0dc1-c64351435aac\>: .25rem;
  --sizes--space--10xl-56px\<deleted\|variable-a1456581-3ea7-125f-af7b-1412a595d1e8\>: 3.5rem;
  --sizes--space--11xl-64px\<deleted\|variable-ae457017-c176-0e2f-b9b6-377b1e670d18\>: 4rem;
  --sizes--space--12xl-72px\<deleted\|variable-394a153a-adb4-04f5-b00c-4789a666ae81\>: 4.5rem;
  --sizes--space--13xl-80px\<deleted\|variable-f14da1c4-5033-0999-9b48-54d8a9e1d238\>: 5rem;
  --sizes--space--14xl-96px\<deleted\|variable-d53ef246-bb61-af08-0eb5-c1f4a751b643\>: 6rem;
  --sizes--space--2xl-14px\<deleted\|variable-4dc80ecf-2c99-95e1-f942-c759b0aeddb7\>: .875rem;
  --sizes--space--3xl-16px\<deleted\|variable-31c44950-31a9-3fab-70c2-bcca7448d071\>: 1rem;
  --sizes--space--4xl-20px\<deleted\|variable-c3d25016-31dc-2764-ac8f-25b24b56d63c\>: 1.25rem;
  --sizes--space--5xl-24px\<deleted\|variable-d29592c2-4ff5-6c13-61a9-54a4dc837fe9\>: 1.5rem;
  --sizes--space--6xl-28px\<deleted\|variable-05d7fd89-6126-60a0-eff5-ae51cd176140\>: 1.75rem;
  --sizes--space--7xl-32px\<deleted\|variable-5338177f-b32c-cdc5-a0d1-a2381e9505d3\>: 2rem;
  --sizes--space--8xl-40px\<deleted\|variable-92a3cd6a-ae01-47a1-7e14-c98af6233795\>: 2.5rem;
  --sizes--space--9xl-48px\<deleted\|variable-ac00bc83-6008-6a94-2bbc-00c60af5ee17\>: 3rem;
  --sizes--space--lg-10px\<deleted\|variable-9c7a62fc-95c6-cccc-3913-eec122af68a0\>: .625rem;
  --sizes--space--md-8px\<deleted\|variable-aa7f6a97-c554-348a-3eae-8db7c4e1a0be\>: .5rem;
  --sizes--space--none\<deleted\|variable-7145c51e-8e1a-4d85-c83a-a48d919b9c87\>: 0px;
  --sizes--space--sm-6px\<deleted\|variable-ed5a6b7f-b257-ddeb-3dd1-e8cb96385d6d\>: .375rem;
  --sizes--space--xl-12px\<deleted\|variable-022cf573-2cdc-b262-87b0-6e54ce28e21a\>: .75rem;
  --sizes--space--xs-4px\<deleted\|variable-5c7f86fd-f5d0-699a-401c-ece4fb5d62a3\>: .25rem;
  --text-color--text-error\<deleted\|variable-4a51c5d2-820c-a0d9-b49e-0e5d273c964f\>: var(--base-color--bg-color\<deleted\|variable-f7a8b234-8033-a5d6-4d85-0326277c2bf8\>);
  --typography--size--2xl-17px\<deleted\|variable-027e72db-8f6b-8249-5722-52d423554c81\>: 1.0625rem;
  --typography--size--6xl-24px\<deleted\|variable-55be4218-fe74-a3bc-c340-cc707502b828\>: 1.5rem;
  --typography--size--7xl-28px\<deleted\|variable-d61d80c1-3aae-a6ad-2cfe-12ec4a1f4623\>: 1.75rem;
  --typography--size--md-14px\<deleted\|variable-23f6be90-3295-55c0-9a5e-ad5cd9d14d93\>: .875rem;
  --typography--size--xl-16px\<deleted\|variable-088a8486-2d39-4cc4-6c96-b67fc8cbfbdb\>: 1rem;
  --typography--size--xs-12px\<deleted\|variable-83347aac-be89-cf65-6684-a0afffd0e30f\>: .75rem;
  --typography--size--xxs-11px\<deleted\|variable-430ee022-55a1-b115-8502-3e5f54d730ef\>: .6875rem;
}

/* Regras com cor fixa no CSS, que nao respondem as variaveis acima. */

:root[data-theme="dark"] .heading-h3 {
  background-image: linear-gradient(90deg, var(--_color---base-color--white) 21%, var(--_color---text-color--text-inverse));
}

:root[data-theme="dark"] .text-size-md.text-color-80, :root[data-theme="dark"] .text-size-md.text-white-80 {
  color: var(--_color---text-color--text-white-80);
}

:root[data-theme="dark"] .heading-h1 {
  background-image: linear-gradient(260deg, var(--base--text--text-inverse\<deleted\|variable-bcf7d868-f908-9348-a88f-142f28f41b15\>), #f5f8ee 0%, white 71%);
}

:root[data-theme="dark"] .heading-h2 {
  background-image: linear-gradient(90deg, var(--_color---base-color--white) 21%, var(--_color---text-color--text-inverse));
}

:root[data-theme="dark"] .section.hero {
  background-image: url("../bg_hero_dark.avif");
}

/* O SVG do topo/rodape tem as letras em #383838, que somem no fundo escuro.
   A troca vai por CSS (e nao pelo data-dark-src das outras imagens) para o
   logo ja nascer certo na primeira pintura, sem piscar. */
:root[data-theme="dark"] .brand-logo,
:root[data-theme="dark"] .footer-logo {
  content: url("../emito-logo-horizontal-dark.svg");
}

:root[data-theme="dark"] .pricing-scope {
  background-color: var(--base--bg--bg-primary, #090909);
}

:root[data-theme="dark"] .pricing-scope .pricing-card {
  background-color: var(--base--bg--bg-secondary, #1a1a1a);
}

:root[data-theme="dark"] .pricing-scope .pricing-card__top {
  border-bottom: 1px solid #2e2e2e;
}

:root[data-theme="dark"] .pricing-scope .selector-label {
  color: #888;
}

:root[data-theme="dark"] .pricing-scope .selector-input {
  color: white;
  background-color: #222;
  border: 1px solid #2e2e2e;
}

:root[data-theme="dark"] .pricing-scope .pills-row {
  border-top: 1px solid #2e2e2e;
}

:root[data-theme="dark"] .pricing-scope .pricing-pill {
  background-color: #222;
  border: 1px solid var(--color--base--brand-color, #95c122);
  color: var(--color--base--brand-color, #95c122);
}

:root[data-theme="dark"] .pricing-scope .price-currency {
  color: #888;
}

:root[data-theme="dark"] .pricing-scope .price-value {
  color: var(--color--base--brand-color, #95c122);
}

:root[data-theme="dark"] .pricing-scope .price-period {
  color: #888;
}

:root[data-theme="dark"] .nav-link:hover {
  border-color: var(--_color---base-color--white);
}

:root[data-theme="dark"] .nav-link.w--current {
  border-color: var(--_color---base-color--white);
  color: var(--_color---base-color--white);
}

:root[data-theme="dark"] .letter-speceing100.hero-badge-2 {
  color: var(--_color---base-color--white);
}

:root[data-theme="dark"] .bottom-blur-wrapper {
  background-image: linear-gradient(#09090900, #090909d1 68%, #090909);
}

:root[data-theme="dark"] .bottom-blur {
  background-image: linear-gradient(#12121200, #0b0711d1 50%, #0a0511f5);
}

:root[data-theme="dark"] .germ-icon-wrapper {
  background-color: #ffffff29;
}

:root[data-theme="dark"] .faq_item {
  background-color: var(--base--bg--bg-secondary\<deleted\|variable-bdb5dc4b-d1c8-bf9b-7248-93b4bbb88386\>);
}

:root[data-theme="dark"] .faq-text {
  background-color: var(--_color---text-color--text-secondary);
}

:root[data-theme="dark"] .faq-para {
  color: var(--_color---text-color--grey-3);
}

:root[data-theme="dark"] .footer-line {
  background-image: radial-gradient(circle, #fffefe9c, #1a1a1a 77%);
}

:root[data-theme="dark"] .copyright-text {
  color: var(--_color---base-color--white);
}

:root[data-theme="dark"] .hero-bottom-line-wrap {
  background-image: linear-gradient(221deg, #1a1a1a 35%, #ffffff7d 50%, var(--base--bg--bg-secondary\<deleted\|variable-bdb5dc4b-d1c8-bf9b-7248-93b4bbb88386\>) 63%);
}

:root[data-theme="dark"] .text-color-80 {
  color: var(--_color---text-color--text-white-80);
}

:root[data-theme="dark"] .hero-bottom-line-wrap-copy {
  background-image: linear-gradient(221deg, #1a1a1a 15%, #ffffff7d 50%, #1a1a1a 80%);
}

:root[data-theme="dark"] .cta-wrapper {
  background-image: url("../bg_cta_dark.webp");
}

@media screen and (max-width: 767px) {

  :root[data-theme="dark"] .hero-bottom-line-wrap {
    background-image: linear-gradient(221deg, #1a1a1a00 35%, #ffffff54 50%, #1a1a1a61 63%);
  }

  :root[data-theme="dark"] .hero-bottom-line-wrap-copy {
    background-image: linear-gradient(221deg, #1a1a1a00 35%, #ffffff54 50%, #1a1a1a61 63%);
  }
}

@media screen and (max-width: 479px) {

  :root[data-theme="dark"] .hero-bottom-line.nav {
    background-image: linear-gradient(221deg, #1a1a1a, #ffffff7d 50%, var(--base--bg--bg-secondary\<deleted\|variable-bdb5dc4b-d1c8-bf9b-7248-93b4bbb88386\>));
  }
}

/* Transicao suave ao alternar (desligada para quem pede menos movimento). */
@media (prefers-reduced-motion: no-preference) {
  body, .section, .pricing-scope, .pricing-card, .faq_item {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  }
}


/* ==========================================================================
   Botao de alternar tema (vale nos dois temas)
   ========================================================================== */

.theme-toggle {
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--_color---text-color--text-primary, #383838);
  background: none;
  border: 1px solid #0000001f;
  border-radius: 999px;
  flex: none;
  place-items: center;
  padding: 0;
  display: grid;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.theme-toggle:hover {
  border-color: var(--_color---base-color--brand-color, #95c122);
  background-color: #95c1221f;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--_color---base-color--brand-color, #95c122);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  grid-area: 1 / 1;
  transition: opacity .2s ease, transform .2s ease;
}

/* No claro mostra o sol; no escuro, a lua. */
.theme-toggle__moon { opacity: 0; transform: rotate(-45deg) scale(.7); }
.theme-toggle__sun  { opacity: 1; transform: none; }

:root[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__sun  { opacity: 0; transform: rotate(45deg) scale(.7); }

:root[data-theme="dark"] .theme-toggle {
  color: var(--_color---base-color--white, #fff);
  border-color: #ffffff2e;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle, .theme-toggle svg { transition: none; }
}
