/* Pagina do Dr. Nigel Coriolano -- o que nao veio do estilo original.
   estilo.css e o estilo da pagina como ela era; este arquivo traz as letras
   (servidas daqui, sem chamar o Google), as animacoes e o aviso de cookies. */

/* Letras: DM Sans, DM Serif Display e Inter (licenca aberta OFL). */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url(../letras/dm-sans.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: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../letras/dm-sans.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: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../letras/dm-sans.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: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../letras/dm-sans.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: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../letras/dm-sans.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: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../letras/dm-serif-display.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: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../letras/inter.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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../letras/inter.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; }

/* Defeito da pagina original, corrigido aqui: no celular, dois blocos de foto
   ("-mx-6") passavam 24px da largura da tela e a pagina escorregava para o lado.
   O que passar da tela e cortado, sem criar rolagem lateral. */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Depoimentos andando sozinhos (vinha num <style> dentro da pagina). */
@keyframes depoimentos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Entrada suave ao rolar. So vale com o script ligado (classe "js" no <html>):
   sem script, tudo aparece normalmente. */
.js [data-revela] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.js [data-revela].visivel {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-revela] { opacity: 1; transform: none; transition: none; }
  .animate-\[depoimentos-scroll_40s_linear_infinite\] { animation: none; }
}

/* Aviso de cookies */
.aviso-cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #060f20;
  color: #fff;
  box-shadow: 0 12px 32px rgba(6, 15, 32, .35);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { flex: 1 1 300px; margin: 0; }
.aviso-cookies a { color: #e8c86a; text-decoration: underline; }
.aviso-cookies-botoes { display: flex; gap: 10px; }
.aviso-cookies button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.aviso-cookies button.principal {
  border-color: transparent;
  background: linear-gradient(135deg, #e8c86a 0%, #c4a145 100%);
  color: #060f20;
}
/* No celular o botao principal do WhatsApp fica no pe da primeira tela:
   o aviso vai para o alto, para nao cobrir o botao. */
@media (max-width: 640px) {
  .aviso-cookies {
    top: 10px;
    bottom: auto;
    left: 10px;
    right: 10px;
    gap: 10px;
    padding: 12px 14px;
    font-size: 13px;
  }
  .aviso-cookies p { flex-basis: 100%; }
  .aviso-cookies-botoes { width: 100%; }
  .aviso-cookies button { flex: 1; }
}
.aviso-cookies button:focus-visible,
[data-cookies-abrir]:focus-visible {
  outline: 2px solid #e8c86a;
  outline-offset: 2px;
}

/* Pagina de texto (politica de privacidade) */
.pagina-texto {
  min-height: 100vh;
  background: #f7f4ee;
  color: #1a1a2e;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.7;
}
.pagina-texto main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.pagina-texto .voltar { display: inline-block; margin-bottom: 28px; color: #9e8235; font-weight: 600; }
.pagina-texto h1 {
  margin: 0 0 8px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  color: #0d2b5c;
}
.pagina-texto h2 {
  margin: 36px 0 8px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  color: #0d2b5c;
}
.pagina-texto p, .pagina-texto li { font-size: 16px; color: #1a1a2e; }
.pagina-texto p { margin: 0 0 14px; }
.pagina-texto ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.pagina-texto .data { color: #5c5c7a; font-size: 14px; }
.pagina-texto a { color: #0d2b5c; text-decoration: underline; }
.pagina-texto .botao {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #0d2b5c;
  border-radius: 999px;
  background: #fff;
  color: #0d2b5c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
