:root {
    --ink: #1a1710;
    --ink-2: #3d3a30;
    --ink-3: #7a7669;
    --ink-4: #b8b4a6;
    --parchment: #fafafa;
    --gold-dim: #0DABF4;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--parchment);
    color: var(--ink);
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  .nav-logo {
    position: absolute;
    left: 48px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: filter 0.3s ease;
  }

  .nav-pill {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 10px 72px;
    transition: background 0.3s, border-color 0.3s;
  }

  .pill-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-2);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 8px 16px;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s;
  }
  .pill-link:hover { background: rgba(26,23,16,0.06); color: var(--ink); }
  .pill-link.active { color: #0DABF4; font-weight: 500; }

  /* MOBILE HEADER */
  .mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 12px 24px;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(250,250,250,0.97);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: #0DABF4; }

  @media (max-width: 1024px) {
    nav { display: none !important; }
    .mobile-header { display: flex; }
  }

  /* HERO */
  .sobre-hero {
    padding: 180px 48px 100px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0DABF4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #0DABF4;
  }

  .sobre-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 48px;
    max-width: 800px;
  }

  .sobre-hero h1 em {
    font-style: italic;
    color: #0DABF4;
  }

  /* STORY */
  .story-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px 120px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }

  .story-aside {
    position: sticky;
    top: 120px;
  }

  .story-aside h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .story-aside h3 em {
    font-style: italic;
    color: #0DABF4;
  }

  .story-aside p {
    font-size: 13px;
    font-weight: 300;
    color: var(--ink-3);
    line-height: 1.7;
  }

  .story-content p {
    font-size: 20px;
    font-weight: 300;
    color: var(--ink-2);
    line-height: 1.9;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
  }

  .story-content p:last-child {
    margin-bottom: 0;
  }

  .story-content p strong {
    font-weight: 500;
    color: var(--ink);
  }

  /* DIVIDER */
  .divider {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 48px;
    height: 1px;
    background: rgba(26,23,16,0.08);
  }

  /* VALUES */
  .values-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px 140px;
  }

  .values-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 60px;
    line-height: 1.1;
  }

  .values-section h2 em {
    font-style: italic;
    color: #0DABF4;
  }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .value-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
  }

  .value-item p {
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-3);
    line-height: 1.75;
  }

  .value-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(13,171,244,0.18);
    line-height: 1;
    margin-bottom: 16px;
  }

  /* CTA */
  .sobre-cta {
    background: var(--ink);
    padding: 100px 48px;
    text-align: center;
    box-shadow: 0 0 0 100vmax var(--ink);
    clip-path: inset(0 -100vmax);
  }

  .sobre-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 300;
    color: #fafafa;
    margin-bottom: 24px;
    line-height: 1.1;
  }

  .sobre-cta h2 em {
    font-style: italic;
    color: #0DABF4;
  }

  .sobre-cta p {
    font-size: 16px;
    font-weight: 300;
    color: rgba(250,250,250,0.5);
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  .btn-primary {
    padding: 14px 32px;
    background: #0DABF4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
  }
  .btn-primary:hover { background: #0a9add; }

  .sobre-device-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    background: transparent;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    user-select: none;
  }

  .sobre-device-btn:hover {
    border-color: #0DABF4;
    color: #0DABF4;
  }

  .sobre-device-btn.selected {
    border-color: #0DABF4;
    background: rgba(13,171,244,0.1);
    color: #0DABF4;
  }

  .sobre-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    font-size: 10px;
    font-weight: 700;
    opacity: 0.35;
    transition: opacity 0.2s, background 0.2s;
    flex-shrink: 0;
  }

  .sobre-device-btn.selected .sobre-check {
    opacity: 1;
    background: #0DABF4;
    border-color: #0DABF4;
    color: #fff;
  }

  /* FOOTER */
  footer {
    background: #ffffff;
    padding: 52px 48px 40px;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px rgba(26,23,16,0.06);
    max-width: 100%;
  }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .fade-in.visible { opacity: 1; transform: none; }

  /* RESPONSIVE */
  @media (max-width: 600px) {
    .sobre-hero { padding: 100px 20px 60px; }
    .story-section { grid-template-columns: 1fr; gap: 40px; padding: 0 20px 80px; }
    .story-aside { position: static; }
    .story-content p { font-size: 17px; }
    .values-section { padding: 0 20px 80px; }
    .values-grid { grid-template-columns: 1fr; gap: 36px; }
    .sobre-cta { padding: 80px 20px; }
    .divider { padding: 0 20px; }
    footer { padding: 48px 20px 32px; }
    nav { display: none; }
  }

  /* ══════════════════════════════════════════════════════════════════════
     PÁGINA DE CONTATO
     ══════════════════════════════════════════════════════════════════════ */

  /* As margens laterais reproduzem as da home. Lá a seção de recursos herda 48px
     de padding do hero (que nunca fecha) e soma os próprios 48px, com o conteúdo
     limitado a 1104px — daí o max-width de 1296px com 96px de padding. */
  .contato-hero {
    max-width: 1296px;
    margin: 0 auto;
    padding: 200px 96px 72px;
  }

  .contato-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6.4vw, 88px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 28px;
  }

  .contato-hero h1 em { font-style: italic; color: var(--blue); }

  .contato-intro {
    max-width: 560px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(26,23,16,0.6);
  }

  .contato-section {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 96px 120px;
  }

  .contato-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 96px;
    align-items: start;
    border-top: 1px solid rgba(26,23,16,0.1);
    padding-top: 72px;
  }

  /* ── coluna dos canais ── */

  .contato-canais h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 36px;
  }

  .contato-canais h3 em { font-style: italic; color: var(--blue); }

  .canal { margin-bottom: 32px; }

  .canal-rotulo {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
  }

  .canal p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(26,23,16,0.55);
    margin: 0 0 6px;
  }

  .canal-link {
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(26,23,16,0.2);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
  }

  .canal-link:hover { color: var(--blue); border-color: var(--blue); }

  .canal-prazo {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(26,23,16,0.08);
    font-size: 13px;
    color: rgba(26,23,16,0.4);
  }

  /* ── formulário ── */

  .contato-form { display: flex; flex-direction: column; gap: 26px; }

  .campo { display: flex; flex-direction: column; gap: 9px; }

  .campo label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26,23,16,0.45);
  }

  .campo input,
  .campo select,
  .campo textarea {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(26,23,16,0.18);
    border-radius: 0;
    padding: 10px 2px;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
  }

  .campo textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

  .campo select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231A1710' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 12px;
    padding-right: 22px;
    cursor: pointer;
  }

  .campo input:focus,
  .campo select:focus,
  .campo textarea:focus {
    outline: none;
    border-bottom-color: var(--blue);
  }

  .campo.tem-erro input,
  .campo.tem-erro select,
  .campo.tem-erro textarea { border-bottom-color: #D7443E; }

  .campo .erro {
    font-size: 12px;
    color: #D7443E;
    min-height: 0;
  }

  .form-rodape {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .form-aviso {
    font-size: 14px;
    color: rgba(26,23,16,0.55);
    margin: 0;
  }

  .form-aviso.ok { color: var(--blue); }

  /* ── responsivo ── */

  /* As margens laterais acompanham as da home: 48px até 1024px e 24px no celular. */
  @media (max-width: 1024px) {
    .contato-hero { padding: 140px 48px 56px; }
    .contato-section { padding: 0 48px 90px; }
    .contato-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; }
    .contato-canais h3 { margin-bottom: 28px; }
  }

  @media (max-width: 600px) {
    .contato-hero { padding: 120px 24px 44px; }
    .contato-section { padding: 0 24px 72px; }
    .contato-intro { font-size: 16px; }
    .contato-grid { gap: 44px; padding-top: 44px; }
    .form-rodape .btn-primary { width: 100%; justify-content: center; text-align: center; }
  }

  /* ── Rodapé no celular ──
     O rodapé é montado com estilos inline (flex + gap de 96px), que estouram a
     largura da tela. Estas regras empilham as colunas. A home já tinha o
     equivalente em home.css; sobre, termos e privacidade não tinham, e por isso
     rolavam na horizontal no celular. */
  @media (max-width: 600px) {
    footer { padding: 48px 20px 32px; }
    footer > div { gap: 36px; }
    footer > div > div:first-child { flex-direction: column; align-items: flex-start; gap: 32px; }
    footer > div > div:first-child > div:last-child { flex-direction: column; gap: 24px; width: 100%; margin: 0 !important; }
    footer > div > div:last-child { flex-direction: column; gap: 12px; }
  }

  /* ══════════════════════════════════════════════════════════════════════
     SELETOR DE IDIOMA
     Aparece na nav do desktop (canto direito, espelhando o logo à esquerda)
     e dentro do .mobile-header abaixo de 1024px, ao lado do hambúrguer.
     ══════════════════════════════════════════════════════════════════════ */

  .lang-switch {
    position: relative;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  }

  .lang-switch__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(26,23,16,0.1);
    border-radius: 100px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(26,23,16,0.7);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }

  .lang-switch__toggle:hover {
    color: #0DABF4;
    border-color: rgba(13,171,244,0.35);
    background: rgba(255,255,255,0.9);
  }

  .lang-switch__toggle:focus-visible {
    outline: 2px solid #0DABF4;
    outline-offset: 2px;
  }

  .lang-switch__globe {
    width: 15px;
    height: 15px;
    flex: none;
    display: block;
  }

  .lang-switch__caret {
    width: 9px;
    height: 9px;
    flex: none;
    opacity: 0.5;
    transition: transform 0.2s;
  }

  .lang-switch.is-open .lang-switch__caret { transform: rotate(180deg); }

  .lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    padding: 6px;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(26,23,16,0.08);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(26,23,16,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
  }

  .lang-switch.is-open .lang-switch__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .lang-switch__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: none;
    color: rgba(26,23,16,0.75);
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }

  .lang-switch__option:hover { background: rgba(26,23,16,0.04); color: #1A1710; }
  .lang-switch__option.is-active { color: #0DABF4; }

  .lang-switch__code {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0.55;
    min-width: 22px;
  }

  .lang-switch__option.is-active .lang-switch__code { opacity: 1; }

  /* Na nav do desktop: canto direito, espelhando o logo */
  nav .lang-switch {
    position: absolute;
    right: 48px;
  }

  /* No header mobile: agrupado com o hambúrguer */
  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  @media (max-width: 1024px) {
    .mobile-header .lang-switch__toggle {
      padding: 7px 10px;
      background: rgba(26,23,16,0.03);
    }
  }

  @media (max-width: 600px) {
    .mobile-header .lang-switch__toggle { padding: 6px 9px; gap: 5px; }
    .mobile-header .lang-switch__globe { width: 14px; height: 14px; }
    .lang-switch__menu { min-width: 156px; }
    .lang-switch__option { font-size: 13px; padding: 8px 9px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .lang-switch__menu, .lang-switch__caret { transition: none; }
  }

  /* ══════════════════════════════════════════════════════════════════════
     SELOS DAS LOJAS (hero)
     O link de cada loja está em assets/js/stores.js. Vazio = estado "em breve".
     ══════════════════════════════════════════════════════════════════════ */

  .store-badges {
    padding-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .store-badge {
    position: relative;
    display: inline-flex;
    height: 56px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
  }

  .store-badge__art {
    height: 100%;
    width: auto;
    display: block;
    border-radius: inherit;
  }

  .store-badge:not(.is-soon):hover { transform: translateY(-2px); }
  .store-badge:not(.is-soon):active { transform: translateY(0); }

  .store-badge:focus-visible {
    outline: 2px solid #0DABF4;
    outline-offset: 3px;
  }

  /* ── estado "em breve" ── */
  .store-badge.is-soon { cursor: default; }
  /* O selo oficial não pode ser alterado (nem cinza, nem transparência) — as
     diretrizes do Google e da Apple proíbem. O estado "em breve" é comunicado
     só pela etiqueta ao lado. */

  /* A etiqueta fica ABAIXO do selo, nunca por cima: as diretrizes das duas lojas
     não permitem sobrepor nada à arte do botão. */
  .store-badge__soon {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 9px;
    border-radius: 100px;
    background: #0DABF4;
    color: #fff;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(13,171,244,0.35);
    pointer-events: none;
  }

  .store-badge.is-soon .store-badge__soon { display: block; }

  /* ── aviso ao clicar num selo ainda indisponível ── */
  .store-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 12px);
    z-index: 300;
    max-width: calc(100vw - 40px);
    padding: 12px 20px;
    border-radius: 100px;
    background: #1A1710;
    color: #fff;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(26,23,16,0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .store-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  @media (max-width: 600px) {
    .store-badges { gap: 10px; }
    .store-badge { height: 46px; }
    .store-badge__soon { font-size: 9px; padding: 2px 7px; top: calc(100% + 7px); }
  }

  @media (prefers-reduced-motion: reduce) {
    .store-badge, .store-toast { transition: none; }
  }
