.page { font-family: 'Segoe UI', Tahoma, Geneva, sans-serif; line-height: 1.6; min-height: 100vh; padding: 76px 20px 70px; box-sizing: border-box; }
h1 { font-size: 22px; color: #222; text-align: center; margin-bottom: 4px; }
.sub { color: #666; font-size: 14px; text-align: center; margin-bottom: 20px; }
.controls { max-width: 1200px; margin: 0 auto 15px; background: white; padding: 20px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); box-sizing: border-box; }
.result-wrap { max-width: 1200px; margin: 0 auto 40px; background: white; padding: 20px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); box-sizing: border-box; }
.result-wrap:empty { display: none; }

.search-wrap { position: relative; max-width: 420px; margin: 0 auto; }
#verbeInput {
  font-size: 16px;
  padding: 10px 14px;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  width: 100%;
}
#verbeInput:focus { border-color: #0055A4; }
.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
  text-align: left;
}
.suggestions:empty { display: none; }
.suggestion-item {
  padding: 10px 14px;
  font-size: 15px;
  color: #222;
  cursor: pointer;
}
.suggestion-item:not(:last-child) { border-bottom: 1px solid #f2f2f2; }
.suggestion-item:hover, .suggestion-item.active { background: #eaf2fb; color: #0055A4; font-weight: 600; }

.infinitif-title { font-size: 30px; font-weight: bold; color: #111; margin-bottom: 4px; text-align: center; }
.aux-info { font-size: 13px; color: #666; margin-bottom: 16px; text-align: center; }
.mode-title {
  font-size: 16px;
  font-weight: bold;
  color: #0055A4;
  text-align: left;
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #eaf2fb;
}
.formes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  text-align: left;
}
.forme-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafbfc;
}
.forme-nom {
  font-size: 13px;
  font-weight: bold;
  color: #0055A4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.conj-line {
  text-align: center;
  padding: 4px 0;
  font-size: 15px;
}
.conj-line .personne { color: #666; }
.conj-line .mot { color: #111; font-weight: 600; }
.empty-msg, .error-msg { color: #888; font-size: 15px; text-align: center; }
.error-msg { color: #c22f26; }

.top-verbes-wrap { max-width: 1200px; margin: 0 auto 40px; background: white; padding: 20px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); box-sizing: border-box; }
.top-verbes-wrap h2 { font-size: 15px; color: #0055A4; text-align: center; margin: 0 0 14px; }
.top-verbes-list { column-count: 3; column-gap: 24px; }
.top-verbes-list a {
  display: block;
  break-inside: avoid;
  padding: 6px 10px;
  border-radius: 6px;
  color: #0055A4;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}
.top-verbes-list a:hover { background: #eaf2fb; }
@media (max-width: 600px) {
  .top-verbes-list { column-count: 2; }
}

/* páginas estáticas /conjugaison/<verbe> */
h2.mode-title, h3.forme-nom { line-height: inherit; }
h3.forme-nom { margin-top: 0; }
.homographes { font-size: 14px; color: #555; text-align: center; margin: -6px 0 16px; }
.homographes a, .desambig a { color: #0055A4; font-weight: 600; }
.desambig { max-width: 520px; margin: 0 auto; text-align: center; font-size: 16px; }
.desambig ul { list-style: none; padding: 0; margin: 14px 0 0; }
.desambig li { padding: 6px 0; font-size: 18px; }
.voir-tous { text-align: center; margin: 14px 0 0; font-size: 14px; }
.voir-tous a { color: #0055A4; }
