* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
  text-align: center;
}

body { 
  font-family: system-ui, -apple-system, sans-serif;
  background-color: #f5f5f5; 
  font-size: clamp(14px, 8vmin, 50px); 
  color: black;
}

/*ESTRUTURA*/
header, footer, .container-header { 
  background-color: #007bff; 
  color: #fff; 
}

header { 
  font-size: clamp(14px, 3vmin, 20px); 
  padding: 1vmin 0; 
  text-align: center; 
  justify-content: center; 
  width: 100%;  
}

main { 
  max-width: 100%; 
  margin: 0 auto; 
  padding-bottom: 6vmin;
}

footer { 
  text-align: center;  
  padding: 3vmin 2vmin 6vmin 2vmin; 
  margin-top: 4vmin;
  font-size: clamp(12px, 2.2vmin, 18px); 
}

/* === FULLSCREEN (TELA CHEIA REAL) === */
.fullscreen {
  position: fixed;
  inset: 0; /* Preenche 100% de topo, direita, baixo e esquerda */
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  padding: 2vmin;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: auto;
  border: none;
}

.fullscreen summary,
.fullscreen .summary-rota {
  margin: 0 auto 2vmin auto;
  display: block;
  width: 100%;
  font-size: clamp(16px, 5vmin, 40px);
  border-radius: 2vmin;
}

/*BOTÕES GERAIS*/
button { 
  font-weight: bold; 
  font-size: clamp(14px, 3vmin, 20px); 
  padding: 2vmin 0; 
  border: none; 
  border-radius: 4vmin; 
  cursor: pointer; 
  margin: 0; 
  background-color: white; 
  color: black; 
  transition: 0.3s; 
}

.btn-sugestao {
  background-color: #007bff;
  color: white;
  width: 90%; 
  font-size: clamp(18px, 6vmin, 40px);
  font-weight: bold;
  margin: 2vmin auto;
  padding: 4vmin; 
  border-radius: 8vmin;
  text-decoration: none;
  text-align: center; 
  display: block;
  box-sizing: border-box; 
}

.btn-sugestao:hover {
  background-color: #0056b3;
  transform: scale(1.02); 
}

/*TEXTOS*/
ul li, ol li { margin-bottom: 0.5em; }
p { margin-bottom: 0.6em; }

p.h4 {
  font-size: clamp(14px, 8vmin, 50px);
  font-weight: bold;
  text-align: center;
}

p.h5 {
  font-size: clamp(13px, 7vmin, 40px);
  font-weight: bold;
  text-align: center;
}

p.h6 {
  font-size: clamp(12px, 6vmin, 30px);
  font-weight: bold;
  text-align: center;
}

/*LAYOUTS*/
.main { 
  padding: 2vmin 0; 
  max-width: 100%; 
  display: block; 
}

.container-botoes, .container-header { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.container-botoes { 
  gap: 1.5vmin; 
  padding: 0; 
  background-color: #fff; 
  border-radius: 2vmin; 
}

.container-header { 
  gap: 2vmin; 
  padding: 1vmin 2vmin; 
}

/*SEÇÕES*/
.azul, .verde, .transparente { 
  padding: 0 2vmin; 
  border: 0.5vmin solid black; 
  border-radius: 2vmin; 
  margin: 5vmin 0; 
  width: 100%; 
  position: relative; 
}

.azul { 
  background-color: #007bff; 
  color: white; 
}

.verde { 
  background-color: #3FF527; 
  color: black; 
}

.transparente { 
  background-color: transparent; 
  color: black; 
}

.transparente p {
  margin: 0; 
}

.com-label { padding-top: 2vmin; }

.label { 
  position: absolute; 
  top: -2.5vmin; 
  left: 4vmin; 
  background-color: inherit; 
  color: white; 
  font-size: clamp(14px, 8vmin, 50px); 
  padding: 0 2vmin; 
  font-weight: bold; 
  border-radius: 1vmin; 
}

.verde .label { color: black; }

/* BOTÕES CIRCULARES */
.nova-secao {
  margin: 3rem 0;
  text-align: center;
}

.botoes-circulares {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.app-btn {
  text-align: center;
  text-decoration: none;
  width: 100px;
  color: #000000;
}

/* CÍRCULO */
.circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid black;
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.45rem auto;
  transition: transform 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

/* ÍCONES DENTRO DO CÍRCULO */
.circle img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  pointer-events: none;
}

.icon-nao {
  width: 55% !important;
  height: 55% !important;
}

/* LETRAS CENTRALIZADAS */
.circle .letra {
  font-size: clamp(20px, 12vmin, 70px);
  font-weight: bold;
  line-height: 1;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black !important;
}

.app-btn span {
  display: block;
  font-size: clamp(10px, 2.4vmin, 16px);
  line-height: 1;
}

.app-btn:hover .circle {
  transform: scale(1.05);
  border-color: #1e90ff;
}

@keyframes zoomIn {
  from { transform:scale(0.8); opacity:0; }
  to { transform:scale(1); opacity:1; }
}

/* === DETALHES E RESUMO (summary/details) === */

summary {
  width: 100%;
  display: block;
  background-color: #007bff;
  font-size: clamp(14px, 5vmin, 40px);
  font-weight: bold;
  text-align: center;
  border-radius: 5vmin;
  cursor: pointer;
  list-style: none;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-rota p {
  line-height: 1;
  margin: 0;
  padding: 1vmin;
}

.summary-pedido p {
  line-height: 1;
  margin: 0;
  padding: 0;
}

details {
  width: 100%;
  padding: 1vmin;
  background-color: #f9f9f9;
  color: black;
  border-radius: 3vmin;
  text-align: center;
  transition: all 0.3s ease-in-out;
  font-size: clamp(14px, 4vmin, 32px);
}

details[open] {
  padding: 3vmin;
  padding-bottom: 50vmin;
}

/* === RESUMOS E PEDIDOS === */

.summary-rota {
  width: 100%;
  margin: 2vmin auto;
  background-color: #d0d0d0;
  color: black;
  border: 0.8vmin solid black;
  border-radius: 3vmin;
  font-size: clamp(14px, 6vmin, 40px);
  font-weight: bold;
  text-align: center;
}

.summary-pedido {
  width: 100%;
  display: block;
  padding: 1vmin;
  background-color: white;
  border-radius: 3vmin;
  border: 0.8vmin solid black;
  box-shadow: 0 1.5vmin 3vmin rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.summary-pedido:hover {
  transform: none;
  box-shadow: 0 2vmin 4vmin rgba(0, 0, 0, 0.22);
}

.details-rota {
  width: 90%;
  margin: 0 auto;
  padding: 3vmin 2vmin;
  background-color: #f9f9f9;
  color: black;
  border-radius: 3vmin;
  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease-in-out;
}

.pedido-summary {
  color: black;
  font-size: clamp(16px, 7vmin, 45px);
  font-weight: bold;
  text-align: center;
}

.cliente-summary, .pagamento-summary {
  font-size: clamp(3vw, 3vmin, 5vw);
  color: black;
}

.pedido {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (orientation: landscape) {
  .pedido-summary {
    font-size: clamp(16px, 7vmin, 45px);
  }

  .cliente-summary,
  .pagamento-summary {
    font-size: clamp(2vw, 2vmin, 3.5vw);
  }
}
