/* Thème Eunets : fond bleu très clair, bleu européen, jaune, gris fusain. */
:root {
  --bleu: #003399;
  --jaune: #ffcc00;
  --fusain: #3a3f47;
  --fond: #eef4fc;
  --carte: #ffffff;
  --gris: #6b7280;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--fond); color: var(--fusain);
}
a { color: var(--bleu); }

.logo { font-size: 64px; font-weight: 800; color: var(--bleu); margin: 0; letter-spacing: -2px; }
.logo span { color: var(--jaune); text-shadow: 0 0 1px var(--bleu); }
.logo.small { font-size: 28px; text-decoration: none; letter-spacing: -1px; }

.home { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px 12vh; }
.tagline { color: var(--gris); margin: 6px 0 26px; }

.box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; max-width: 640px; }
.box input[type=search] {
  flex: 1; min-width: 200px; padding: 12px 16px; font-size: 17px;
  border: 2px solid #c9d6ea; border-radius: 26px; background: var(--carte); outline: none;
}
.box input[type=search]:focus { border-color: var(--bleu); }
.box button {
  padding: 12px 20px; font-size: 16px; border: 0; border-radius: 26px;
  background: var(--bleu); color: #fff; cursor: pointer;
}
.box button:hover { background: #00267a; }
.box .all { width: 100%; font-size: 13px; color: var(--gris); padding-left: 16px; }
.box.big .all { text-align: center; padding-left: 0; }

.top { display: flex; gap: 20px; align-items: flex-start; padding: 0 20px 10px; border-bottom: 1px solid #d6e0ef; }
.top .box { max-width: 680px; }
.results { max-width: 720px; padding: 10px 20px 40px; margin-left: 150px; flex: 1; }
@media (max-width: 800px) { .results { margin-left: 0; } .top { flex-direction: column; } }

.sec { font-size: 15px; color: var(--gris); font-weight: 600; margin: 22px 0 6px; }
.sec small { font-weight: 400; }
.hit { margin: 16px 0; }
.hit .t { font-size: 19px; text-decoration: none; }
.hit .t:hover { text-decoration: underline; }
.hit .u { font-size: 13px; color: #1a7f37; word-break: break-all; }
.hit .lg { color: var(--gris); border: 1px solid #c9d6ea; border-radius: 4px; padding: 0 4px; font-size: 11px; }
.hit p { margin: 4px 0; line-height: 1.45; font-size: 14.5px; }
mark { background: #fff3b0; color: inherit; padding: 0 1px; }

.sponsored { background: #fffbea; border: 1px solid #f3e2a0; border-radius: 10px; padding: 2px 14px; margin-top: 14px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; color: #7a5c00; background: var(--jaune); border-radius: 4px; padding: 1px 6px; margin-right: 8px; vertical-align: middle; }

.notice { background: var(--carte); border-left: 4px solid var(--jaune); padding: 10px 14px; }
.pager { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.foot { text-align: center; font-size: 12.5px; color: var(--gris); padding: 14px; border-top: 1px solid #d6e0ef; }

/* Barre du haut (comme google.com) */
.bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-size: 14px; }
.bar a { text-decoration: none; }
.bar .left a { color: var(--fusain); }
.bar .left a:hover { text-decoration: underline; }
.bar .right { display: flex; align-items: center; gap: 14px; }
.bar .langs a { margin-left: 8px; color: var(--gris); }
.bar .langs a.on { color: var(--bleu); font-weight: 700; border-bottom: 2px solid var(--jaune); }
.apps { position: relative; }
.apps summary { list-style: none; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--fusain); }
.apps summary::-webkit-details-marker { display: none; }
.apps summary:hover, .apps[open] summary { background: #dbe6f6; }
.apps .grid { fill: var(--fusain); }
.apps .panel { position: absolute; right: 0; top: 44px; z-index: 10; width: 290px; background: var(--carte); border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 40, 120, .18); padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.apps .app { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; color: var(--fusain); font-size: 12.5px; text-align: center; }
.apps .app:hover { background: var(--fond); }
.apps .ico { font-size: 26px; }
.account { background: var(--bleu); color: #fff !important; padding: 8px 16px; border-radius: 20px; font-weight: 600; }
.account:hover { background: #00267a; }

/* Logo : pictogramme « e » loupe + nom */
.logo { display: flex; align-items: center; gap: 14px; }
.logo .mark { display: block; border-radius: 16px; }
.logo.small { gap: 8px; }
.logo.small .mark { border-radius: 8px; }
.logo .word { color: var(--bleu); text-shadow: none; }
.logo .word span { color: var(--jaune); text-shadow: 0 0 1px var(--bleu); }
