/* Maranello — base do site novo, versão 2.
   Identidade tirada do Catálogo Virtual: grafite e laranja da capa, Cormorant Garamond
   com o itálico laranja das chamadas, sobrelinhas espaçadas em Jost.
   O laranja da marca (#F08A24) vale em fundo escuro e em preenchimento; em texto sobre
   fundo claro usamos tons mais escuros do mesmo laranja, para dar contraste de leitura. */

/* Letras hospedadas com o site (pasta fontes/): arquivos de peso variável, subconjunto latino.
   O intervalo de pesos declarado é o que a página usa; negrito além dele o navegador simula, como antes. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("fontes/cormorant-garamond.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("fontes/cormorant-garamond-italico.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fontes/jost.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --grafite: #232121;
  --noite: #131313;
  --pedra: #D9D9D6;
  --papel: #EEEDEA;
  --branco: #FCFCFC;
  --laranja: #F08A24;
  --laranja-titulo: #C2620A;
  --laranja-texto: #A65208;
  --laranja-titulo-pedra: #BA5E0A;
  --laranja-texto-pedra: #944907;
  --texto: #2A2828;
  --texto-2: #5F5C5A;
  --texto-claro: #EDEBE8;
  --texto-claro-2: rgba(237, 235, 232, .74);
  --fio: rgba(42, 40, 40, .16);
  --fio-claro: rgba(237, 235, 232, .18);
  --erro: #A3261B;

  --f-titulo: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --f-texto: "Jost", "Futura", "Century Gothic", Arial, sans-serif;

  --larg: 1280px;
  --gut-e: max(20px, env(safe-area-inset-left, 0px));
  --gut-d: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

/* O site é sempre claro: decisão do dono em 25/nov/26. Não há modo escuro. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 300; }

.envelope {
  width: 100%;
  max-width: calc(var(--larg) + var(--gut-e) + var(--gut-d));
  margin-inline: auto;
  padding-left: var(--gut-e);
  padding-right: var(--gut-d);
}

/* títulos no padrão do catálogo: Cormorant Light, segunda parte em itálico laranja */
.titulo-xl, .titulo-l, .titulo-m, .titulo-s { font-family: var(--f-titulo); font-weight: 300; text-wrap: balance; }
.titulo-xl { font-size: clamp(2.9rem, 1.6rem + 4.6vw, 5.6rem); line-height: .98; letter-spacing: -.01em; }
.titulo-l { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.04; }
.titulo-m { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); line-height: 1.12; }
.titulo-s { font-size: 1.9rem; line-height: 1.15; }
.titulo-xl em, .titulo-l em, .titulo-m em, .titulo-s em { font-style: italic; color: var(--laranja-titulo); }
.escuro .titulo-xl em, .escuro .titulo-l em, .escuro .titulo-m em, .escuro .titulo-s em { color: var(--laranja); }

.sobrelinha {
  font-family: var(--f-texto);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--laranja-texto);
}
.escuro .sobrelinha { color: var(--laranja); }
.abre { font-size: 1.1875rem; line-height: 1.55; color: var(--texto-2); max-width: 34em; }
.escuro { color: var(--texto-claro); }
.escuro .abre { color: var(--texto-claro-2); }

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 50px;
  padding: .9em 1.75em;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--f-texto);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.botao-primario { background: var(--laranja); color: #131313; }
.botao-primario:hover { background: #F59B45; }
.botao-claro { border-color: rgba(237, 235, 232, .7); color: var(--texto-claro); }
.botao-claro:hover { border-color: var(--texto-claro); background: rgba(237, 235, 232, .08); }
.botao-escuro { border-color: rgba(42, 40, 40, .55); color: var(--texto); }
.botao-escuro:hover { border-color: var(--texto); }
.link-seta { font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--laranja-texto); display: inline-flex; align-items: center; min-height: 44px; }
.escuro .link-seta { color: var(--laranja); }
.link-seta:hover { text-decoration: underline; text-underline-offset: 5px; }

:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
