
:root {
 /* --primary-color: #3498db; 
  --secondary-color: #2ecc71;
  --text-color: #333333; 
  --background-color: #f0f0f0;*/
}

@import url('https://fonts.googleapis.com/css?family=Roboto');
*{font-family: 'Roboto', sans-serif;}

*{box-sizing: border-box;fill:currentColor; }
body, div, ul,ol,li,a{	margin: 0px; padding: 0px;}
li{    list-style: none;}
li.list{list-style: disc;}
label[for] { cursor: pointer; }

input, select, textarea{
	color: #666666;	
	border: 1px solid #e4e4e4;	
	padding: 0.6em;
	background-color:rgb(249, 249, 249);
	border-radius: 4px;;
    transition: all 0.3s ease;
	
            }
		input:hover, select:hover, textarea:hover{
		color: #333333;
		background-color:rgba(0,150,220,0.2);
		border-color: #FF9933;
		
	}
		input:focus, select:focus, textarea:focus{
		color: #666666;	
        background-color:rgba(0,150,220,0.2);
		border-color: #069;
	}

header .content, main .content, footer .content {
    max-width: 1000px;
    margin: 0 auto;    
}

header , main, footer {
    
    overflow: auto;    
}

.text{ line-height: 1.6em; }
/* Container geral */
.accordion{
  /*max-width: 360px;*/
  /*margin: 16px auto;
  display: grid;
  gap: 10px;*/
}

/* Cada item do acordeon */
.acc-item{
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

/* Esconde os radios, mas mantém acessíveis ao label */
.acc-toggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Cabeçalho clicável (usa <label> para alternar o radio) */
.acc-summary{
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* Chevron custom com CSS puro */
.acc-summary::after{
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform .2s ease;
}

/* Painel fechado por padrão */
.acc-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 16px;
  border-top: 1px solid transparent;
}

/* —— Magia com :has() —— */
/* Quando o item contiver um radio :checked, consideramos “aberto” */
.acc-item:has(> .acc-toggle:checked){
  box-shadow: 0 1px 0 rgba(15,23,42,.02), 0 6px 16px rgba(2,6,23,.05);
}

.acc-item:has(> .acc-toggle:checked) .acc-summary::after{
  transform: rotate(225deg);
}

.acc-item:has(> .acc-toggle:checked) .acc-panel{
  max-height: 480px;            /* ajuste conforme o conteúdo esperado */
  padding: 12px 16px 16px;
  border-top-color: #e2e8f0;
}

/* Lista de links dentro do painel */
.converter-menu{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.converter-menu li{
  background: #f1f5f9;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background .2s ease;
}

.converter-menu li:hover{ background: #e2e8f0; }

.converter-menu a{
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 640px){
  .converter-menu{ gap: 8px; }
  .acc-summary{ padding: 12px 14px; }
  .acc-item:has(> .acc-toggle:checked) .acc-panel{
    max-height: 700px; /* pode aumentar para telas pequenas */
  }
}
