/* Marca compartilhada (site de vendas e telas de acesso): fonte Roboto servida pelo próprio site e o relógio do dia.
   Fonte Roboto (Google), licença Apache 2.0: https://www.apache.org/licenses/LICENSE-2.0 */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fontes/roboto-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fontes/roboto-latin.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 { --ciano: #29b6d6; --ciano-claro: #7fe0f2; --letra: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif; }

/* Relógio do dia (app/Views/site/_relogio.php): 24 horas, um ponto por tarefa, ponteiro de 48 s por volta que começa
   nas 08:12 (rotate base de 123°). Cada ponto acende quando o ponteiro passa: atraso = 2 s × hora − 16,4 s − 48 s. */
.relogio { display: block; overflow: visible; }
.relogio-tracejado { fill: none; stroke: rgb(255 255 255 / 38%); stroke-width: 3; stroke-dasharray: 2 15; stroke-linecap: round; }
.relogio-fino { fill: none; stroke: rgb(255 255 255 / 18%); stroke-width: 1.5; }
.relogio-marcas line { stroke: rgb(255 255 255 / 26%); stroke-width: 3; stroke-linecap: round; }
.relogio-marcas line.maior { stroke: rgb(255 255 255 / 48%); stroke-width: 4; }
.relogio-horas text { fill: rgb(255 255 255 / 50%); font-family: var(--letra); font-size: 26px; font-weight: 600; text-anchor: middle; dominant-baseline: middle; letter-spacing: .05em; }
.ponteiro { transform-box: view-box; transform-origin: 50% 50%; rotate: 123deg; }
.ponteiro line { stroke: rgb(127 224 242 / 75%); stroke-width: 3; stroke-linecap: round; }
.ponteiro circle { fill: var(--ciano-claro); }
.relogio-gira, .respira, .respira-2 { transform-box: view-box; transform-origin: 50% 50%; }
.tarefa { fill: var(--ciano-claro); opacity: .8; transform-box: fill-box; transform-origin: center; }
.relogio-centro { fill: rgb(255 255 255 / 55%); }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes ponteiro { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes respirar { 0%, 100% { transform: scale(.975); opacity: .55; } 50% { transform: scale(1.025); opacity: 1; } }
@keyframes acende { 0% { opacity: 1; transform: scale(1.8); fill: #f0fcff; } 8% { opacity: 1; transform: scale(1); fill: var(--ciano-claro); } 100% { opacity: .28; transform: scale(1); fill: var(--ciano); } }
.t-0600 { animation-delay: -52.4s; } .t-0700 { animation-delay: -50.4s; } .t-0730 { animation-delay: -49.4s; }
.t-0800 { animation-delay: -48.4s; } .t-0930 { animation-delay: -45.4s; } .t-1100 { animation-delay: -42.4s; }
.t-1230 { animation-delay: -39.4s; } .t-1400 { animation-delay: -36.4s; } .t-1600 { animation-delay: -32.4s; }
.t-1800 { animation-delay: -28.4s; } .t-1900 { animation-delay: -26.4s; } .t-2200 { animation-delay: -20.4s; }

/* Movimento do relógio (sempre, decisão do Matheus de 05/10/2026): no site, com html.com-movimento (ligado pelo JS);
   nas telas de acesso, que não têm esse JS, pela classe relogio-livre.
   Propriedades separadas (não o atalho "animation") para não apagar os atrasos de cada ponto. */
.com-movimento .relogio-gira, .relogio-livre .relogio-gira { animation-name: girar; animation-duration: 150s; animation-timing-function: linear; animation-iteration-count: infinite; }
.com-movimento .respira, .relogio-livre .respira { animation-name: respirar; animation-duration: 7s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.com-movimento .respira-2, .relogio-livre .respira-2 { animation-name: respirar; animation-duration: 9s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-delay: -3s; }
.com-movimento .ponteiro, .relogio-livre .ponteiro { animation-name: ponteiro; animation-duration: 48s; animation-timing-function: linear; animation-iteration-count: infinite; }
.com-movimento .tarefa, .relogio-livre .tarefa { animation-name: acende; animation-duration: 48s; animation-timing-function: linear; animation-iteration-count: infinite; }
