/* =========================================================
   CamelPro — base compartilhada (fontes, cores, cabeçalhos,
   menu, rodapé, formulário, etiquetas). Sem WordPress.
   ========================================================= */

@font-face { font-family: "Rockeby Light";   src: url("../assets/fonts/rockeby-light.otf") format("opentype");   font-display: swap; }
@font-face { font-family: "Rockeby";         src: url("../assets/fonts/rockeby-regular.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Rockeby Black";   src: url("../assets/fonts/rockeby-black.otf") format("opentype");   font-display: swap; }
@font-face { font-family: "AL Regular";      src: url("../assets/fonts/al-regular.otf") format("opentype");      font-display: swap; }
@font-face { font-family: "AL Light";        src: url("../assets/fonts/al-light.otf") format("opentype");        font-display: swap; }
@font-face { font-family: "AL Bold";         src: url("../assets/fonts/al-bold.otf") format("opentype");         font-display: swap; }

:root {
  --gold: #ffbf00;          /* amarelo da marca (moldura, destaques) */
  --gold-soft: #d49220;     /* laranja do hero no celular */
  --gold-line: #c0992d;     /* contorno das etiquetas no celular */
  --bronze: #a27018;        /* botão do formulário */
  --bronze-hover: #f8b43d;
  --ink: #313131;
  --black: #000;
  --white: #fff;
  --pill: #1d1d1d;
  --pill-text: #838383;

  --f-cond: "Rockeby Light", "Arial Narrow", sans-serif;   /* menu, hero, títulos finos */
  --f-cond-reg: "Rockeby", "Arial Narrow", sans-serif;      /* páginas Sobre / Contato */
  --f-sans: Arial, Helvetica, sans-serif;                   /* títulos dos trabalhos, etiquetas */
  --f-display: "Raleway", Arial, sans-serif;                /* "About Camel" e a citação */
  --f-ui: "Poppins", Arial, sans-serif;                     /* serviços */
  --f-he: "AL Regular", Arial, sans-serif;                  /* hebraico */
  --f-he-light: "AL Light", Arial, sans-serif;

  --header-h: 80px;
  --header2-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--f-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.is-locked { overflow: hidden; }

/* Hebraico: troca a família inteira e espelha */
html[lang="he"] body { font-family: var(--f-he); }
html[lang="he"] .he-light { font-family: var(--f-he-light); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------------
   Cabeçalho principal (capa e trabalhos, no computador)
   preto por cima do vídeo; vira branco ao rolar a capa.
   --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 50px;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header__logo img { height: 44px; width: auto; }
.site-header--compact .site-header__logo img { height: 40px; }
.site-header__logo .logo-dark { display: none; }

.site-nav { display: flex; gap: 20px; }
.site-nav a {
  font-family: var(--f-cond);
  font-size: 18px; line-height: var(--header-h);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }

.lang-switch { justify-self: end; display: flex; gap: 14px; margin-right: 60px; }
.lang-switch button {
  font-family: var(--f-cond); font-size: 18px; text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.lang-switch button[data-lang="he"] { font-family: var(--f-he); font-weight: bold; }
.lang-switch button[aria-pressed="true"], .lang-switch button:hover { color: var(--white); }

.site-header.is-light { background: var(--white); border-color: rgba(0, 0, 0, .08); }
.site-header.is-light .logo-white { display: none; }
.site-header.is-light .logo-dark { display: block; }
.site-header.is-light .site-nav a,
.site-header.is-light .lang-switch button { color: rgba(49, 49, 49, .55); }
.site-header.is-light .site-nav a[aria-current="page"],
.site-header.is-light .site-nav a:hover,
.site-header.is-light .lang-switch button[aria-pressed="true"] { color: var(--ink); }

.menu-toggle { display: none; }

/* ---------------------------------------------------------
   Cabeçalho compacto (Sobre / Contato em qualquer tela,
   e o site todo no celular): logo + hambúrguer.
   --------------------------------------------------------- */
.site-header--compact,
.site-header.site-header--compact.is-light {
  height: var(--header2-h);
  display: flex; justify-content: space-between;
  padding: 0 10px;
  background: rgba(0, 0, 0, .77);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.site-header--compact .logo-white { display: block !important; }
.site-header--compact .logo-dark { display: none !important; }
.site-header--compact .site-nav,
.site-header--compact .lang-switch { display: none; }
.site-header--compact .menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0 4px;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%;
  background: #a5a5a5; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu-panel {
  position: fixed; top: var(--header2-h); right: 0; z-index: 49;
  width: 260px; padding: 20px;
  display: flex; flex-direction: column; align-items: flex-end;
  background: rgba(0, 0, 0, .77);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.menu-panel a, .menu-panel .menu-panel__langs {
  width: 100%; padding: 10px 0; text-align: end;
  font-family: var(--f-sans); font-size: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.menu-panel a:hover { color: #ffcc00; }
.menu-panel__langs { display: flex; justify-content: flex-end; gap: 18px; border-bottom: 0 !important; }
.menu-panel__langs button { font-size: 20px; color: rgba(255, 255, 255, .7); }
.menu-panel__langs button[data-lang="he"] { font-family: var(--f-he); }
.menu-panel__langs button[data-lang="en"] { font-family: var(--f-cond); font-weight: bold; font-size: 18px; }
.menu-panel__langs button[aria-pressed="true"] { color: var(--white); }
html[lang="he"] .menu-panel a { font-family: var(--f-he); }
/* em hebraico (rtl) o hambúrguer vai pra esquerda: a gaveta abre do mesmo lado dele */
html[dir="rtl"] .menu-panel { right: auto; left: 0; }

/* ---------------------------------------------------------
   Etiquetas (serviços de cada trabalho)
   --------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tag {
  font-family: var(--f-sans); font-size: 12px; line-height: 23px;
  padding: 5px; border-radius: 7px;
  color: var(--pill-text); background: var(--pill);
}
.tags--gold .tag {
  font-size: 17px; line-height: 1.3; padding: 6px;
  border-radius: 0; background: none;
  color: var(--gold-line); border: 1px solid var(--gold-line);
}
html[lang="he"] .tag { font-family: var(--f-he); }

/* ---------------------------------------------------------
   Bloco de contato (capa, Sobre e Contato)
   --------------------------------------------------------- */
.contact-block {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;
  padding: 80px 20px;
  background: var(--black);
}
.contact-block__info { max-width: 600px; }
.contact-block__title {
  font-size: 64px; line-height: 57px; font-weight: bold;
  margin-bottom: 49px; padding-inline-start: 10px;
}
.contact-block__line { font-size: 22px; line-height: 1.6; margin-top: 13px; padding-inline-start: 22px; }
.contact-block__line a:hover { color: var(--gold); }
html[lang="he"] .contact-block__line { direction: ltr; text-align: right; }

.contact-form { width: 100%; max-width: 371px; display: flex; flex-direction: column; }
.contact-form input,
.contact-form textarea {
  width: 100%; margin-bottom: 15px; padding: 12px;
  font: 18px var(--f-sans); color: var(--white);
  background: var(--black); border: 1px solid rgba(255, 255, 255, .36); border-radius: 6px;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form ::placeholder { color: #8a8a8a; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form button {
  padding: 12px; border-radius: 6px;
  font: 18px var(--f-sans); text-transform: uppercase;
  background: var(--bronze); color: var(--white);
  transition: background-color .3s;
}
.contact-form button:hover { background: var(--bronze-hover); }
html[lang="he"] .contact-form input,
html[lang="he"] .contact-form textarea,
html[lang="he"] .contact-form button { font-family: var(--f-he); }

/* ---------------------------------------------------------
   Rodapé com os links (Sobre / Contato)
   --------------------------------------------------------- */
.site-footer {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  padding: 20px 0; background: var(--black);
}
.site-footer a { font-size: 16px; font-weight: 500; transition: color .3s; }
.site-footer a:hover { color: #1e60ff; }

/* Fundo de vídeo fixo (Sobre / Contato) */
.bg-video { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------
   Celular: o site todo usa o cabeçalho compacto
   --------------------------------------------------------- */
@media (max-width: 767px) {
  .site-header {
    height: var(--header2-h);
    display: flex; justify-content: space-between;
    padding: 0 10px;
    background: rgba(0, 0, 0, .77) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
  }
  .site-header .logo-white { display: block !important; }
  .site-header .logo-dark { display: none !important; }
  .site-header .site-nav, .site-header .lang-switch { display: none; }
  .site-header .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 4px;
  }
  .contact-block__title { font-size: 44px; line-height: 46px; margin-bottom: 28px; }
  .contact-block__line { font-size: 19px; padding-inline-start: 10px; }
}
