/* FemFlow App Style Sheet */

/* Colour palette based on FemFlow brand */
:root {
  --creme: #E5E5E5;
  --pessego: #6B6B6B;
  --terracota: #4F6F68;
  --teal: #335953;
  --grafite: #2E2E2E;
  --radius: 14px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  body {
  background: linear-gradient(180deg, #E5E5E5 0%, #6B6B6B 100%);
}
  color: var(--grafite);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#statusID {
  text-align: center;
  font-weight: 500;
}
/* Container used to center content */
.container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

header {
  text-align: center;
  padding: 2rem 0 1rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 0.5rem 0;
  color: var(--teal);
}

.subtitle {
  font-size: 1rem;
  color: var(--terracota);
  margin-bottom: 1rem;
}

/* Button styles */
.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  color: #fff;
  background: var(--teal);
  transition: transform 0.2s, background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--terracota);
}

.btn-secondary {
  background: var(--terracota);
}

/* Input styles */
input[type="date"],
input[type="number"],
input[type="text"] {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  box-sizing: border-box;
  font-size: 1rem;
}

label {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--grafite);
}
.btn-hotmart {
  background-color: #4F6F68;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  margin-top: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-hotmart:hover {
  background-color: #A85445;
}


/* Sections for ciclo page */
.section {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Floating action buttons on treino page */
.float-btn {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.float-btn:hover {
  transform: scale(1.08);
}

#btnPdf {
  bottom: 100px;
  background: var(--teal);
}

#btnNext {
  bottom: 30px;
  background: var(--terracota);
}

/* PSE card */
.pse-card {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pse-card input[type="range"] {
  width: 100%;
}

.pse-card button {
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (min-width: 600px) {
  .container {
    max-width: 600px;
  }
}
.recuperar-box {
  margin-top: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-recuperar {
  background: none;
  border: none;
  color: #335953;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s ease;
  touch-action: manipulation;
}

.btn-recuperar:active {
  background: rgba(204,106,90,0.15);
}
.instalar-app {
  text-align: center;
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-top: 2rem;
}

.instalar-app h3 {
  color: #335953;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.instalar-app p {
  color: #444;
  margin-bottom: 1rem;
}

.btn-install {
  background: #335953;
  color: #fff;
  font-weight: bold;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.3s ease;
  display: none; /* só aparece se o app for instalável */
}

.btn-install:active {
  transform: scale(0.97);
  background: #2b4b45;
}

/* 🌸 Estilo do cabeçalho de identificação do ciclo */
.header-ciclo {
  text-align: center;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  font-family: 'Helvetica Rounded', sans-serif;
}

.titulo-ciclo {
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 0.2rem;
  letter-spacing: 0.3px;
}

.subtitulo-ciclo {
  font-size: 0.95rem;
  color: var(--terracota);
  margin-top: 0;
  opacity: 0.8;
}

/* 🌿 Box de configuração de ciclo */
#cicloSection {
  background: #E5E5E5;           /* pêssego bem claro */
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-top: 0.8rem;            /* aproxima do título */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#cicloSection label {
  font-family: 'Helvetica Rounded', sans-serif;
  color: var(--teal);
  font-weight: 500;
}

#cicloSection input {
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.5rem 0.8rem;
  width: 100%;
  max-width: 280px;
  font-size: 0.95rem;
  box-sizing: border-box;
}


.btn-hotmart {
  background-color: #4F6F68;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.btn-hotmart:active {
  transform: scale(0.97);
  background-color: #A85445;
}

.qrcode-container {
  margin-top: 1.5rem;
}
.alternativas-ciclo {
  text-align: center;
  margin-top: 1.2rem;
}

.btn-mini:active {
  transform: scale(0.97);
  background: #2b4b45;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none; /* inicia oculto */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.quiz-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 340px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.quiz-respostas button {
  display: block;
  margin: 0.5rem auto;
  background: #6B6B6B; /* pêssego */
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: #335953; /* teal */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-respostas button:hover {
  background: #4F6F68; /* terracota */
  color: white;
}
.btn-novo-ciclo {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  margin-top: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  animation: pulsar 2.8s ease-in-out infinite;
}

@keyframes pulsar {
  0%   { box-shadow: 0 0 0 0 rgba(51,89,83,0.4); transform: scale(1); }
  50%  { box-shadow: 0 0 12px 4px rgba(239,189,166,0.3); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(51,89,83,0.4); transform: scale(1); }
}
/* Botões menores e mais discretos para opções secundárias */
.btn-pequeno {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: var(--pessego);
  color: var(--teal);
  font-weight: 600;
  margin: 0.3rem;
  transition: all 0.3s ease;
}

.btn-pequeno:hover {
  background: var(--terracota);
  color: #fff;
}
/* Campos uniformes da recuperação de ID */
.input-recuperar {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0.5rem auto;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  color: var(--teal);
  background: #fff;
  box-sizing: border-box;
}

.input-recuperar:focus {
  outline: none;
  border-color: var(--pessego);
  box-shadow: 0 0 0 2px rgba(239,189,166,0.3);
}
/* === FEMFLOW DESIGN EVOLUÍDO — 2025 === */
body {
  background: linear-gradient(180deg, #E5E5E5 0%, #E5E5E5 100%);
  backdrop-filter: blur(3px);
}


/* Botões com gradiente suave */
.btn {
  background: linear-gradient(135deg, var(--teal) 0%, #3b6a61 100%);
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(51,89,83,0.25);
  transition: all 0.3s ease;
}
.btn:hover {
  background: linear-gradient(135deg, var(--terracota) 0%, #b65a48 100%);
  transform: scale(1.02);
}

/* Inputs integrados ao tema */
input, select {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}
input:focus {
  border-color: var(--pessego);
  box-shadow: 0 0 0 3px rgba(239,189,166,0.3);
}

/* Botões de condição menores */
.btn-mini {
  background: linear-gradient(135deg, #6B6B6B, #E5E5E5);
  color: var(--teal);
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  margin: 0.3rem;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}
.btn-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
  background: var(--terracota);
  color: #fff;
}
/* === FEMFLOW — NOVO VISUAL CICLO.HTML (Layout Imagem 25) === */
/* Fundo com efeito da imagem 25 — gradiente quente e camada de brilho suave */
body {
  background: linear-gradient(180deg, #E5E5E5 0%, #6B6B6B 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  font-family: "Helvetica Rounded", "Arial Rounded MT Bold", sans-serif;
  color: #335953;
  overflow-x: hidden;
}

/* Camada de luz difusa (simula o efeito aquarelado) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at 30% 20%, rgba(255, 255, 255, 0.45) 0%, transparent 60%
    ),
    radial-gradient(
      circle at 80% 80%, rgba(255, 240, 230, 0.4) 0%, transparent 70%
    ),
    radial-gradient(
      circle at 50% 100%, rgba(239, 189, 166, 0.3) 0%, transparent 80%
    );
  filter: blur(40px) saturate(110%);
  pointer-events: none;
  z-index: -1;
}

/* Cabeçalho principal */
.header-ciclo {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.titulo-ciclo {
  font-size: 1.8rem;
  color: #335953;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.subtitulo-ciclo {
  font-size: 1rem;
  color: #4F6F68;
  font-weight: 500;
  margin-top: 0;
}

/* Box principal de configuração */
#cicloSection {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 1.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#cicloSection h3 {
  color: #335953;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Campos */
input[type="date"],
input[type="number"],
input[type="text"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #335953;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Botão principal */
/* Botões principais centralizados */
#btnIniciar,
#btnValidar {
  display: block;
  background: #335953;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 2rem;
  margin: 1rem auto 0 auto;   /* centraliza horizontalmente */
  width: auto;                /* largura conforme o conteúdo */
  text-align: center;
  transition: background 0.3s ease;
}

/* Cores individuais */
#btnValidar {
  background: #4F6F68;
}

#btnIniciar:hover {
  background: #2b4b45;
}

#btnValidar:hover {
  background: #b65a48;
}

/* Três botões fora do box */
.opcoes-ciclo {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.opcoes-ciclo .btn-pequeno {
  background: transparent;
  border: 1px solid rgba(51, 89, 83, 0.6);
  color: #335953;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.opcoes-ciclo .btn-pequeno:hover {
  background: #335953;
  color: white;
}

/* Box “Já tem um ID” */
#idSection {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#idSection h3 {
  color: #335953;
  font-weight: 700;
  margin-bottom: 1rem;
}


/* Link Esqueceu ID */
.btn-recuperar {
  color: #335953;
  font-weight: 600;
  background: none;
  border: none;
  text-decoration: underline;
  font-size: 0.9rem;
}

/* Modal quiz vidro */
.quiz-content {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.section, .container {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(10px); }
}
@media (max-width: 600px) {
  body::before {
    filter: blur(25px) saturate(120%);
  }
}
/* === FEMFLOW — CADASTRO ESTILO IMAGEM 25 === */
body {
  background: linear-gradient(180deg, #E5E5E5 0%, #6B6B6B 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Helvetica Rounded", "Arial Rounded MT Bold", sans-serif;
  color: #335953;
  position: relative;
  min-height: 100vh;
}

/* Efeito aquarelado */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.45) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255,240,230,0.4) 0%, transparent 70%),
              radial-gradient(circle at 50% 100%, rgba(239,189,166,0.3) 0%, transparent 80%);
  filter: blur(40px) saturate(110%);
  pointer-events: none;
  z-index: -1;
}

/* Caixa central */
.cadastro-box {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 2.2rem;
  max-width: 420px;
  margin: 4rem auto;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Textos */
.cadastro-box h3 {
  color: #335953;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cadastro-box p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Botões */
#btnPlano,
#btnVoltar {
  display: block;
  margin: 1rem auto 0 auto;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  padding: 0.9rem 2rem;
  cursor: pointer;
  text-align: center;
  width: auto;
  transition: background 0.3s ease, transform 0.2s ease;
}

#btnPlano {
  background: #335953;
  color: white;
}

#btnPlano:hover {
  background: #2b4b45;
  transform: translateY(-2px);
}

#btnVoltar {
  background: #4F6F68;
  color: white;
}

#btnVoltar:hover {
  background: #b65a48;
  transform: translateY(-2px);
}
/* === FEMFLOW — TREINO (Imagem 25) === */
body {
  background: linear-gradient(180deg, #E5E5E5 0%, #6B6B6B 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Helvetica Rounded", "Arial Rounded MT Bold", sans-serif;
  color: #335953;
  position: relative;
  min-height: 100vh;
}

/* Luz aquarelada */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.45) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255,240,230,0.4) 0%, transparent 70%),
              radial-gradient(circle at 50% 100%, rgba(239,189,166,0.3) 0%, transparent 80%);
  filter: blur(40px) saturate(110%);
  pointer-events: none;
  z-index: -1;
}

/* Cabeçalho */
header {
  text-align: center;
  margin-top: 1.5rem;
}

header h1 {
  font-size: 1.8rem;
  color: #335953;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.subtitle {
  color: #4F6F68;
  font-weight: 500;
  font-size: 1rem;
}

/* Boxes */
.section {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 1.5rem;
  margin: 1.2rem auto;
  max-width: 420px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
}

/* Box do vídeo */
.treino-box video {
  border-radius: 16px;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(51,89,83,0.2);
  border: 2px solid rgba(51,89,83,0.25);
}

/* Controle de PSE */
.pse-box input[type="range"] {
  width: 100%;
  accent-color: #4F6F68;
  margin: 0.8rem 0;
}

.pse-box p span {
  font-weight: 700;
  color: #335953;
}

/* Botões PSE */
.botoes-pse {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.botoes-pse button {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.botoes-pse button:hover {
  transform: translateY(-2px);
}

#salvarTreinoBtn {
  background: #335953;
  color: white;
}

#salvarTreinoBtn:hover {
  background: #2b4b45;
}

#proximoTreinoBtn.secundario {
  background: #4F6F68;
  color: white;
}

#proximoTreinoBtn.secundario:hover {
  background: #b65a48;
}

/* Botão inferior */
#evolucaoBtn {
  display: block;
  margin: 2rem auto;
  background: transparent;
  border: 2px solid #335953;
  color: #335953;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

#evolucaoBtn:hover {
  background: #335953;
  color: white;
}

/* === FEMFLOW — EVOLUÇÃO (Imagem 25) === */
body {
  background: linear-gradient(180deg,#E5E5E5 0%,#6B6B6B 100%);
  background-attachment: fixed;
  font-family: "Helvetica Rounded","Arial Rounded MT Bold",sans-serif;
  color:#335953;
  min-height:100vh;
  position:relative;
}
body::before{
  content:"";
  position:fixed;inset:0;
  background:radial-gradient(circle at 25% 20%,rgba(255,255,255,0.45)0%,transparent60%),
             radial-gradient(circle at 80% 80%,rgba(255,240,230,0.4)0%,transparent70%),
             radial-gradient(circle at 50% 100%,rgba(239,189,166,0.3)0%,transparent80%);
  filter:blur(40px)saturate(110%);
  pointer-events:none;
  z-index:-1;
}

/* Seções */
.section{
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(12px);
  border-radius:18px;
  padding:1.6rem;
  margin:1.2rem auto;
  max-width:420px;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  text-align:center;
}
.section h3{color:#335953;margin-bottom:.6rem;font-weight:700;}

/* Barra de progresso */
.barra-progresso{
  position:relative;width:100%;height:18px;
  border-radius:20px;
  background:rgba(240,236,233,0.8);
  overflow:hidden;
}
.preenchimento-progresso{
  height:100%;
  width:0%;
  border-radius:20px;
  background:linear-gradient(90deg,#4F6F68,#6B6B6B,#335953);
  box-shadow:0 0 10px rgba(204,106,90,0.4);
  transition:width 1.2s ease-in-out;
}
.texto-progresso{font-weight:700;color:#335953;}

/* Gráfico */
.grafico-box canvas{
  width:100%!important;
  max-width:340px;
  margin:auto;
  border-radius:12px;
  background:rgba(255,255,255,0.5);
  box-shadow:0 4px 10px rgba(51,89,83,0.15);
  padding:.5rem;
}
#graficoPSE{margin-top:.8rem;}
#legendaPSE{font-size:.85rem;color:#666;margin-top:.4rem;}

/* Histórico */
#listaEvolucao{list-style:none;padding:0;margin-top:.6rem;text-align:left;}
#listaEvolucao li{
  padding:.5rem;
  border-bottom:1px solid rgba(0,0,0,0.1);
  font-size:.9rem;
}

/* Mensagem final */
.mensagem-final{
  background:rgba(239,189,166,0.25);
  border-left:4px solid var(--terracota,#4F6F68);
  color:#335953;
  padding:1rem;
  border-radius:12px;
  margin:1.5rem auto;
  font-weight:600;
  line-height:1.5;
  text-align:center;
  max-width:420px;
  box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

/* Botões */
.btn-novo-ciclo{
  background:#335953;
  color:white;
  border:none;
  border-radius:12px;
  padding:0.9rem 1.6rem;
  font-weight:600;
  cursor:pointer;
  margin-top:1rem;
  animation:pulsar 3s ease-in-out infinite;
  transition:background 0.3s ease;
}
.btn-novo-ciclo:hover{background:#4F6F68;}
@keyframes pulsar{
  0%{box-shadow:0 0 0 0 rgba(51,89,83,0.4);}
  50%{box-shadow:0 0 12px 6px rgba(239,189,166,0.3);}
  100%{box-shadow:0 0 0 0 rgba(51,89,83,0.4);}
}

/* Botão voltar */
#voltarInicioBtn{
  display:block;
  margin:2rem auto;
  background:transparent;
  border:2px solid #335953;
  color:#335953;
  font-weight:600;
  padding:0.8rem 1.4rem;
  border-radius:12px;
  transition:all 0.3s ease;
}
#voltarInicioBtn:hover{
  background:#335953;
  color:white;
}
/* === FEMFLOW — INDEX (Imagem 25) === */
body {
  background: linear-gradient(180deg,#E5E5E5 0%,#6B6B6B 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Helvetica Rounded","Arial Rounded MT Bold",sans-serif;
  color:#335953;
  min-height:100vh;
  position:relative;
}

/* Efeito aquarelado */
body::before {
  content:"";
  position:fixed; inset:0;
  background:radial-gradient(circle at 25% 20%,rgba(255,255,255,0.45)0%,transparent60%),
             radial-gradient(circle at 80% 80%,rgba(255,240,230,0.4)0%,transparent70%),
             radial-gradient(circle at 50% 100%,rgba(239,189,166,0.3)0%,transparent80%);
  filter:blur(40px) saturate(110%);
  pointer-events:none;
  z-index:-1;
}

/* Cabeçalho */
header {
  text-align:center;
  margin-top:1.8rem;
}
header h1 {
  color:#335953;
  font-size:1.9rem;
  font-weight:700;
}
.subtitle {
  color:#4F6F68;
  font-weight:500;
  font-size:1rem;
  margin-top:0.3rem;
}

/* Box vídeo */
.section {
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(12px);
  border-radius:18px;
  padding:1.5rem;
  margin:1.2rem auto;
  max-width:420px;
  box-shadow:0 6px 16px rgba(0,0,0,0.05);
  text-align:center;
}

video {
  border-radius:14px;
  box-shadow:0 4px 12px rgba(51,89,83,0.25);
  border:2px solid rgba(51,89,83,0.2);
}

/* PSE */
#pseInput {
  width:100%;
  accent-color:#4F6F68;
  margin:0.8rem 0;
}
#pseValor {
  font-weight:600;
  color:#335953;
}

/* Botões principais */
.botoes-treino {
  display:flex;
  justify-content:center;
  gap:0.8rem;
  margin-top:1rem;
}
.botoes-treino button {
  border:none;
  border-radius:12px;
  padding:0.8rem 1.6rem;
  font-weight:600;
  cursor:pointer;
  transition:background 0.3s ease,transform 0.2s ease;
}
#btnRegistrar {
  background:#335953;
  color:white;
}
#btnRegistrar:hover {
  background:#2b4b45;
  transform:translateY(-2px);
}
#btnProximo {
  background:#4F6F68;
  color:white;
}
#btnProximo:hover {
  background:#b65a48;
  transform:translateY(-2px);
}

/* Botão inferior */
#btnInicio {
  display:block;
  margin:2rem auto;
  background:transparent;
  border:2px solid #335953;
  color:#335953;
  font-weight:600;
  padding:0.8rem 1.4rem;
  border-radius:12px;
  transition:all 0.3s ease;
}
#btnInicio:hover {
  background:#335953;
  color:white;
}
/* === FEMFLOW — BOTÃO DE INSTALAÇÃO PWA === */
.instalar-app {
  text-align:center;
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(12px);
  border-radius:18px;
  padding:2rem 1.5rem;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
  max-width:420px;
  margin:2rem auto;
}

.instalar-app h3 {
  color:#335953;
  font-family:"Helvetica Rounded","Arial Rounded MT Bold",sans-serif;
  font-weight:700;
  margin-bottom:0.5rem;
}

.instalar-app p {
  color:#444;
  font-size:0.95rem;
  margin-bottom:1rem;
  line-height:1.4;
}

.btn-install {
  background:linear-gradient(135deg,#335953,#4F6F68);
  color:white;
  font-weight:600;
  border:none;
  border-radius:12px;
  padding:0.9rem 1.8rem;
  cursor:pointer;
  transition:all 0.3s ease;
  display:none; /* aparece só se o app for instalável */
}

.btn-install:hover {
  transform:translateY(-2px);
  background:linear-gradient(135deg,#2b4b45,#b65a48);
}
/* === FIX — BOTÕES DE CICLO (touch mobile iOS/Android) === */
.perfil-btn,
#btnConfirmarRegular,
#btnQuizSim,
#btnQuizNao {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 10; /* garante prioridade sobre camadas decorativas */
}

/* Evita que camadas visuais bloqueiem o toque */
.quiz-modal,
.welcome-overlay {
  pointer-events: none;
}

/* Caso exista overlay visível (ativa manualmente via JS), reabilita pointer */
.quiz-modal.active {
  pointer-events: auto;
}

/* Feedback visual dos botões de perfil */
.perfil-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid var(--teal);
  border-radius: 12px;
  color: var(--teal);
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  margin: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.perfil-btn:hover,
.perfil-btn.active {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(51, 89, 83, 0.25);
}

/* Suaviza animação no toque (mobile safe) */
.perfil-btn:active {
  transform: scale(0.97);
}
/* 👉 Garantir toque em botões do ciclo no mobile */
.perfil-btns,
.perfil-btn,
#btnConfirmarRegular,
.quiz-btns button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

/* Se existir algum overlay “vidro” ativo por engano, ele não bloqueia cliques */
.welcome-overlay,
.quiz-modal {
  pointer-events: none; /* só recoloque para auto quando realmente abrir */
}
/* HEADER FEMFLOW FIXO */
#femflowHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 54px;
  background: #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 9999;
}

#femflowHeader .ff-logo {
  height: 40px;
  object-fit: contain;
}

#femflowHeader .ff-menu-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: #335953;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s;
}

#femflowHeader .ff-menu-btn:active {
  background: rgba(0,0,0,0.08);
}

/* --- MENU MODAL --- */
.ff-menu-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 10000;
}

.ff-menu-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.ff-menu-overlay {
  position: absolute;
  inset: 0;
}

/* BOX DO MENU */
.ff-menu-box {
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  max-width: 330px;
  height: 100%;
  background: #fff;
  padding: 26px 22px;
  border-radius: 20px 0 0 20px;
  transform: translateX(100%);
  transition: transform .30s ease;
  overflow-y: auto;
}

.ff-menu-modal.active .ff-menu-box {
  transform: translateX(0%);
}

.ff-menu-title {
  font-family: "Playfair Display";
  color: #335953;
  margin-bottom: 10px;
}

/* BOTÕES */
.ff-menu-box button {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #E5E5E5;
  color: #335953;
  border: 1px solid #e2d5cc;
  font-weight: 700;
  text-align: left;
  font-size: 1.05rem;
}

.ff-menu-box button:active {
  background: #f0dbd1;
}

.ff-logout {
  margin-top: 30px;
  background: #ffe8e4;
  color: #a23a2a;
}

/* EVITA CONTEÚDO FICAR ATRÁS DO HEADER */
body {
  padding-top: 60px !important;
}

body.ff-menu-open {
  overflow: hidden;
}





