@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

#modelUser{
  display: none;
  width: 35%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#modelUser img{
  width: 26%;
  position: relative;
  top: 25px;
}

#modelUser #postIt{
  background: #FFD753;
  padding: 8% 7% 10% 7%;
  width: 100%;
}

#modelUser h3{
        text-align: center;
}

#modelUser h3,
#modelUser p,
#modelUser button{
  font-family: "Patrick Hand", cursive;
  color: #39584b;
}

#modelUser input{
  width: 100%;
  padding: 3% 0 3% 3%;
  border-radius: 7px;
  border: 1px solid black;
  outline: 0;
}

#modelUser button{
  width: 100%;
  padding: 1% 0;
    font-size: medium;
    background: #d1e3d7;
    border: 1px solid #d1e3d7;
    border-radius: 5px;
    outline: 0;
    margin-top: 1%;
    cursor: pointer;
}


/* ===== Post-it gigante (Sobre nós) ===== */
.about-note{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-1deg) scale(.92);
  width: min(760px, calc(100vw - 28px));
  background: var(--note-yellow);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 11;

  opacity: 0;
  pointer-events: none;

  /* animação base */
  transition:
    transform .28s ease,
    opacity .22s ease;
}

.brand img{
    width: 5%;
}

/* “dobrinha” maior no canto */
.about-note::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width: 0;
  height: 0;
  border-left: 42px solid transparent;
  border-bottom: 42px solid rgba(255,255,255,.65);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.12));
}

/* Cabeçalho */
.about-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px 10px;
}

.about-head h2{
  margin: 0;
  font-size: 24px;
  letter-spacing: .2px;
}

/* Corpo */
.about-body{
  padding: 0 18px 18px;
  font-size: 16px;
  line-height: 1.45;
  color: #2b2b2b;
}

.about-body p{
  margin: 0 0 12px;
}

.about-list{
  margin: 0;
  padding-left: 18px;
}

.about-list li{
  margin: 8px 0;
}

/* Botões */
.about-actions{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}

/* Estado aberto */
.about-note.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* Animação extra “pop” quando abre */
.about-note.show{
  animation: aboutPop .34s ease;
}

@keyframes aboutPop{
  0%   { transform: translate(-50%, -50%) rotate(-2deg) scale(.88); }
  60%  { transform: translate(-50%, -50%) rotate(.6deg) scale(1.02); }
  100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}

/* Fecha com “deslize” leve */
.about-note.closing{
  opacity: 0;
  transform: translate(-50%, -46%) rotate(1deg) scale(.96);
}

/* Responsivo */
@media (max-width: 720px){
  .about-head h2{ font-size: 20px; }
  .about-body{ font-size: 15px; }
  .about-note{
    max-height: calc(100vh - 18px);
    overflow: auto;
  }
}









:root{
  --topbar-h: 64px;

  --shadow: 0 8px 18px rgba(0,0,0,.18);
  --shadow-soft: 0 4px 10px rgba(0,0,0,.14);

  --btn-blue: #2f7cf6;
  --btn-red: #e01818;

  --note-yellow: #fff2b8;
  --note-blue: #cfe2ff;
  --note-pink: #ffd6ea;
  --note-green:#d9ffe0;

  --radius: 10px;
  --radius-lg: 14px;
}

.btn_menu{
        background: #39584b;
    border: none;
    color: white;
    cursor: pointer;
        text-decoration: none;
}

.btn_menu:hover{
    font-weight: 800;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1e1e1e;
  background: #f4f4f4;
}

.topbar{
  height: var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 3% 3%;
  background: #39584b;
  border-bottom: 1px solid #39584b;
}

.brand{
    margin-left: 3%;
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.brand{
width: 60%;
  height: 60px;
  overflow: hidden;
}

.brand video{
  height: 100%;
  object-fit: contain; 
}

.title h1{
    color:white;
  margin: 0;
  font-size: 22px;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-area{
  display:flex;
  align-items:center;
  gap: 18px;
  white-space: nowrap;
}
.welcome{
  font-size: 14px;
  color: white;
}

.btn {
  border: none;
  background: white;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  color: #333;
}

#btnUser{
  background: transparent;
  padding: 0px 1px;
  border-radius: 50%;
}


.btn:hover{ filter: brightness(.98); }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  background: #a9c3e9;
  border-color: #a9c3e9;
  color: #fff;
}
.btn.primary.enabled{
  background: #7fa7da;
  border-color: #7fa7da;
}

/* Board */
.board{
  height: calc(100vh - var(--topbar-h));
  position: relative;
  overflow: auto;
    opacity: 0.9;
  background-image: url("imagens/background.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/* pseudo textura */
.board::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0px, rgba(255,255,255,.06) 1px, transparent 2px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px, transparent 2px, transparent 7px);
  opacity:.35;
  pointer-events:none;
}

/* Notes grid */
.notes{
  position: relative;
  padding: 26px 22px 120px;
  z-index: 1;

  /* tira o grid */
  display: block;

  /* garante área pra soltar notas */
  min-height: calc(100vh - var(--topbar-h));
}


/* Sticky note */
.note{
  position: absolute;           /* <- chave do arrastar */
  width: 260px;                 /* pode ajustar */
  border-radius: 8px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
  min-height: 110px;
  overflow: hidden;

  cursor: grab;
  user-select: none;
  touch-action: none;           /* importante no celular */
}

.note.dragging{
  cursor: grabbing;
  z-index: 9999;
  box-shadow: var(--shadow);
}

.note::after{
  /* dobrinha do canto */
  content:"";
  position:absolute;
  top:0;
  right:0;
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-bottom: 22px solid rgba(255,255,255,.65);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.12));
}
.note-text{
  white-space: pre-wrap;
  line-height: 1.35;
  font-size: 16px;
  color: #2b2b2b;
  margin-bottom: 14px;
}

.note-actions{
  display:flex;
  gap: 10px;
}
.action{
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 0;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.action.edit{ background: var(--btn-blue); }
.action.del{ background: var(--btn-red); }

/* Color variants */
.note.amarelo{ background: var(--note-yellow); }
.note.azul{ background: var(--note-blue); }
.note.rosa{ background: var(--note-pink); }
.note.verde{ background: var(--note-green); }

/* Floating buttons */
.fab{
  position: fixed;
  right: 18px;
  top: calc(var(--topbar-h) + 26px);
  display:flex;
  gap: 10px;
  z-index: 3;
}
.fab-btn{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 28px;
  display:grid;
  place-items:center;
}
.fab-add{
  background: #f0c6bf;
  color: #222;
}
.fab-trash{
  background: #e01818;
  color: #fff;
  font-size: 22px;
}

/* Modal */
.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.40);
  z-index: 9;
}

.modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 28px));
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  z-index: 10;
}

.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px 10px;
}
.modal-head h2{
  margin: 0;
  font-size: 22px;
}
.icon-btn{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e7e7e7;
  background:#fff;
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-body{
  padding: 0 18px 18px;
}

.textarea{
  width: 100%;
  height: 140px;
  resize: none;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid #8db2ff;
  outline: none;
  font-size: 16px;
}
.textarea:focus{ filter: brightness(.98); }

.colors{
  margin-top: 12px;
}
.colors-label{
  font-weight: 800;
  color:#333;
  margin-bottom: 8px;
}
.color-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill{
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  background: #f3f3f3;
}
.pill[data-color="amarelo"]{ background: var(--note-yellow); }
.pill[data-color="rosa"]{ background: var(--note-pink); }
.pill[data-color="azul"]{ background: var(--note-blue); }
.pill[data-color="verde"]{ background: var(--note-green); }

.pill.active{
  border-color: #222;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}

.modal-actions{
  margin-top: 14px;
  display:flex;
  gap: 12px;
}
.modal-actions .btn{
  flex: 1;
}

/* Acessibilidade */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

#simb_menu{
    display: none;
}

#conteiner{
  position: fixed;
  inset: 0;
  background: rgb(255 255 255 / 60%);
  display: none;      
  align-items: center;
  justify-content: center;
  z-index: 999;        
}

#conteiner.show{
  display: flex;       
}

#sobre{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#sobre img{
    width: 26%;
    position: relative;
    top: 25px;
}

#sobre #postIt{
    background: #FFD753;
    padding: 6% 7%;
}

#sobre h2{
    font-family: "Patrick Hand", cursive;
    font-weight: 700;
    font-size: xx-large;
    margin: 5% 0 2% 0;
    color: #39584b;
}

#sobre p{
    font-family: "Patrick Hand", cursive;
    font-size: larger;
    font-weight: 500;
    color: #39584b;
}


#como-funciona{
    display: flex;
    width: 60%;
    flex-direction: column;
    align-items: center;
}

#como-funciona img{
    width: 26%;
    position: relative;
    top: 25px;
}

#como-funciona #contpostIt{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

#como-funciona #postIt{
    background: #FFD753;
    padding: 3% 7%;
}

#como-funciona .passo{
    margin: 2% 0;
}

#como-funciona .passo div{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#maisFunciona{
    padding: 5% 5%;
    background: #F0CBC4;
    border-radius: 50%;
    justify-content: center;
    margin-right: 3%;
    font-size: x-large;
    font-weight: 700;
}

#como-funciona h2{
    font-family: "Patrick Hand", cursive;
    font-size: x-large;
    font-weight: 800;
    color: #39584b;
    text-align: center;
    margin: 2% 0 2% 0;
}

#como-funciona .passo h3{
    font-family: "Patrick Hand", cursive;
    font-size: larger;
    font-weight: 700;
    color: #39584b;
    margin: 4% 0;
}

#ediDel img{
    position: static;
    width: 56%;
    margin-top: 2%;
}

#btnColoridos img{
    position: static;
    width: 78%;
}

#como-funciona .passo p{
    margin: 2% 0;
    font-family: "Patrick Hand", cursive;
    font-size: larger;
    font-weight: 500;
    color: #39584b;
}

.lados{
    width: 48%;
}

#modelLogin{
    display: none;
    width: 40%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#modelLogin img{
    width: 26%;
    position: relative;
    top: 25px;
}

#modelLogin #postIt{
    background: #FFD753;
    padding: 8% 7% 10% 7%;
}

#modelLogin h3{
    font-family: "Patrick Hand", cursive;
    font-size: x-large;
    font-weight: 700;
    color: #39584b;
    margin: 10% 0 3% 0;
    text-align: center;
}

#modelLogin p{
    font-family: "Patrick Hand", cursive;
    font-size: larger;
    font-weight: 500;
    color: #39584b;
    margin: 4% 0;
}

#modelLogin input{
    width: 100%;
    padding: 3% 0 3% 3%;
    border-radius: 7px;
    border: 1px solid black;
    outline: 0;
}

#modelLogin button{
    width: 100%;
    padding: 2% 0;
    font-size: large;
    background: #4cd57d;
    border: 1px solid #4cd57d;
    border-radius: 5px;
    outline: 0;
    margin-top: 3%;
    cursor: pointer;
    font-family: "Patrick Hand", cursive;
}

#btnGoogleLogin{
    display: flex;
    align-items: center;
    justify-content: center;
    background: white !important;
    font-size: small !important;
    border: black !important;
    font-family: monospace !important;
    padding: 3% 0 !important;
}

#btnGoogleLogin img{
    width: 8% !important;
    position: static !important;
    margin-right: 5%;
}

#txtP{
    font-weight: normal;
    font-size: medium;
    text-align: center;
}

#pergLogin{
        font-size: medium !important;
            margin: 2% 0 !important;
}

#pergLogin button{
    background: transparent;
    border: none;
    width: auto;
    color: blue;
    font-size: medium !important;
    padding: 0 !important;
    margin: 0 !important;
}







#pergCadas{
        font-size: medium !important;
            margin: 2% 0 !important;
}

#pergCadas button{
    background: transparent !important;
    border: none !important;
    width: auto !important;
    color: blue;
    font-size: medium !important;
    padding: 0 !important;
    margin: 0 !important;
}


#btnGoogleCadastro{
    display: flex;
    align-items: center;
    justify-content: center;
    background: white !important;
    font-size: small !important;
    border: black !important;
    font-family: monospace !important;
    padding: 3% 0 !important;
}

#btnGoogleCadastro img{
    width: 8% !important;
    position: static !important;
    margin-right: 5%;
}

#modelCadastro{
    display: none;
    width: 40%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#modelCadastro img{
    width: 26%;
    position: relative;
    top: 25px;
}

#modelCadastro #postIt{
    background: #FFD753;
    padding: 8% 7% 10% 7%;
}

#modelCadastro h3{
    font-family: "Patrick Hand", cursive;
    font-size: x-large;
    font-weight: 700;
    color: #39584b;
    margin: 10% 0 3% 0;
    text-align: center;
}

#modelCadastro p{
    font-family: "Patrick Hand", cursive;
    font-size: larger;
    font-weight: 500;
    color: #39584b;
    margin: 4% 0;
}

#modelCadastro input{
    width: 100%;
    padding: 3% 0 3% 3%;
    border-radius: 7px;
    border: 1px solid black;
    outline: 0;
}

#modelCadastro button{
    width: 100%;
    padding: 2% 0;
    font-size: large;
    background: #4cd57d;
    border: 1px solid #4cd57d;
    border-radius: 5px;
    outline: 0;
    margin-top: 3%;
    cursor: pointer;
    font-family: "Patrick Hand", cursive;
}

#menu{
    display: none;
}

@media (max-width: 720px){
    
    #modelUser { 
        width: 85%;
    }
    
    #modelUser #postIt { 
        width: 100%; 
    }
    
    #modelUser img { 
        width: 36%; top: 16px; 
    }

    
    #simb_menu{
        display: flex;
        background: none;
        border: none;
        color: white;
    }
    
    #simb_menu .material-symbols-outlined{
        font-size: 28px;
    }
    
    .brand img {
        width: 10%;
    }
    
    .title h1{
        white-space: normal;
    }
    
    #btnSobre{
        display: none;
    }
    
    #btnFunciona{
        display: none;
    }
    
    #btnLogin{
        display: none;
    }
    
    #btnLogout{
        display: none;
    }
    
    #modelLogin #postIt {
    width: 100%;
    }
    
    #modelLogin {
    width: 85%;
    }
    
    #modelCadastro #postIt {
    width: 100%;
    }
    
    #modelCadastro {
    width: 85%;
    }
    
    #modelLogin img {
    width: 36%;
    top: 16px;
}

#modelCadastro img {
    width: 36%;
    top: 16px;
}
    
    #sobre {
    width: 85%;
    }
    
    #como-funciona {
    width: 85%;
        height: 80%;
    }
    
    #como-funciona h3 {
    font-size: large;
    }
    
    #como-funciona #contpostIt {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 94%;
    overflow-y: auto;
}

.lados {
    width: 100%;
}

#como-funciona #postIt {
    padding: 10% 7%;
    height: 100%;
}

#como-funciona img {
    width: 32%;
    top: 15px;
}

#como-funciona .passo {
    width: 97%;
}

#como-funciona .passo h3 {
    font-size: medium;
}

#maisFunciona {
    padding: 3% 3%;
}

#menu{
    position: fixed;      /* em vez de absolute */
    inset: 0;             /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    display: none;        /* continua escondido por padrão */
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;

    background: rgba(82, 81, 81, 0.65); /* agora sim: com alpha */
    z-index: 2000;        /* sobe acima de tudo */
  }

#menu #btnFechar {
  margin-top: 10%;
  margin-right: 5%;
  background: white;
  border: none;
  border-radius: 50%;
  padding: 1% 1.5%;
}

#contMenu #logoMenu{
  width: 45%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0% auto 0%;
  object-fit: contain;
}


#contMenu{
    width: 64%;
    height: 100%;
    background: #39584b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8%;
  }

#contMenu hr {
  width: 100%;
}

#contMenu img {
  width: 58%;
  margin-bottom: 8%;
}

#menu .btn_menu {
    display: flex;
            font-size: large;
    align-items: center;
    width: 86%;
    margin: 2% 0;
    text-decoration: none;
    font-family: "Patrick Hand", cursive;
    color: #fff;
  }

  #menu #btnreuniao span {
    margin-right: 10%;
  }

  #menu #btnSair {
    display: block;
    margin-top: 2%;
    text-decoration: none;
    color: #000;
  }

  #menu #btnSair button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-family: "Patrick Hand", cursive;
    font-size: large;
  }

  #menu #btnSair button span {
    margin-right: 10%;
  }

#como-funciona .passo p {
    font-size: medium;
}
  :root{
    --topbar-h: 56px;
  }

  html, body{
    overflow-x: hidden;
  }

  .topbar{
    height: auto;
    padding: 10px 21px;
    gap: 8px;
  }

  .brand{
    width: auto;
    height: 44px;
    margin-left: 0;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }

  .brand video{
    height: 44px;
  }

  .title h1{
    font-size: 15px;
    line-height: 1.1;
    max-width: 52vw;
  }

  .welcome{
    display: none;
  }

  .user-area{
    gap: 8px;
  }

  .btn{
    padding: 5% 22%;
    border-radius: 10px;
    font-size: 13px;
  }

  /* Board */
  .board{
    height: calc(100vh - var(--topbar-h));
  }

  .notes{
    padding: 14px 12px 120px;   /* menos borda */
    min-height: calc(100vh - var(--topbar-h));
  }
  
  /* no celular: quadro vira lista */
.notes{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 12px 140px;
}

/* post-it deixa de ser absoluto e vira item da lista */
.note{
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;        /* ocupa a largura */
  max-width: 520px;              /* opcional */
  margin: 0 auto;                /* centraliza */
  min-height: 96px;
}

/* opcional: desliga arrastar no mobile */
.note{ touch-action: auto; cursor: default; }
.note.dragging{ box-shadow: var(--shadow-soft); }


  /* Post-it ocupa quase a tela (melhor leitura/toque) */
  .note{
    width: min(92vw, 340px);
    min-height: 100px;
  }

  .note-text{
    font-size: 15px;
  }

  .action{
    padding: 10px 0;
    font-size: 14px;
  }
  
  footer img{
    width: 32%;
  }
  
  footer div{
      width: auto;
      padding: 5% 0;
  }
  
  footer p{
          font-size: medium;
  }
  
  footer button{
          font-size: large;
  }

  /* Botões flutuantes mais compactos e afastados do topo */
  .fab{
    right: 12px;
    top: calc(var(--topbar-h) + 10px);
    gap: 10px;
  }

  .fab-btn{
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .fab-trash{
    font-size: 20px;
  }

  /* Modal vira quase tela cheia */
  .modal{
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    overflow: auto;
    border-radius: 14px;
  }

  .textarea{
    height: 160px;
    font-size: 16px; /* evita zoom do iOS */
  }

  .color-row{
    gap: 8px;
  }

  .pill{
    padding: 10px 12px;
    flex: 1;
    min-width: 90px;
    text-align: center;
  }
}
