/* IT Tech Académie — V46 : page d'avis (avis.html) et cartes « Nos étudiants » / avis supplémentaires de l'accueil. */

/* ---------- page avis.html ---------- */
body.avis-page { background: #f5f8fc; }
.avis-page .avis-racine { max-width: 720px; margin: 24px auto 40px; padding: 0 12px; }
.avis-carte { background: #fff; border: 1px solid #dbe5f0; border-radius: 18px; padding: 22px 20px; box-shadow: 0 12px 34px rgba(15, 49, 95, .08); }
.avis-carte h1 { margin: 0 0 8px; font-size: clamp(22px, 5vw, 30px); line-height: 1.2; color: #123c74; }
.avis-intro { color: #475569; line-height: 1.6; margin: 0 0 14px; }
.avis-ok { border-color: #bbf7d0; background: #f0fdf4; }
.avis-erreur { border-color: #fecdd3; background: #fff1f2; }
.avis-bloc { border: 0; margin: 0 0 18px; padding: 0; }
fieldset.avis-bloc > legend { font-weight: 800; color: #123c74; padding: 0; margin-bottom: 8px; font-size: 1.02rem; }
.avis-bloc label, .avis-libelle { display: block; font-weight: 700; color: #152a45; margin-bottom: 6px; }
.avis-bloc small, .avis-petit { color: #64748b; font-weight: 400; font-size: .85rem; }
.avis-petit { margin: 6px 0 0; line-height: 1.45; }
.avis-bloc textarea, .avis-bloc input[type="url"], .avis-bloc select { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 11px; font: inherit; font-size: 16px; background: #fff; color: #0f172a; }
.avis-bloc textarea { resize: vertical; line-height: 1.5; }
.avis-bloc textarea:focus, .avis-bloc input:focus, .avis-bloc select:focus { outline: 0; border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, .14); }

/* étoiles : inputs dans l'ordre 5 → 1, affichés de gauche à droite (row-reverse) ; une étoile cochée remplit celles qui la précèdent */
.avis-question { padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.avis-question:last-child { border-bottom: 0; }
.avis-etoiles { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.avis-etoiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avis-etoiles label { margin: 0; cursor: pointer; font-size: 36px; line-height: 1; color: #cbd5e1; padding: 2px 3px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; transition: color .12s, transform .12s; }
.avis-etoiles label:hover, .avis-etoiles label:hover ~ label, .avis-etoiles input:checked ~ label { color: #f59e0b; }
.avis-etoiles input:focus-visible + label { outline: 3px solid #3b82f6; outline-offset: 2px; border-radius: 8px; }
.avis-etoiles label:active { transform: scale(.92); }
.avis-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.avis-photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avis-apercu { flex: none; width: 76px; height: 76px; border-radius: 50%; background: #dbeafe center / cover no-repeat; color: #1d4ed8; font-weight: 800; font-size: 30px; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; }
.avis-case { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; padding: 12px; border: 1px solid #dbe5f0; border-radius: 12px; background: #f8fafc; margin-bottom: 8px !important; line-height: 1.45; }
.avis-case input { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.avis-statut { min-height: 1.4em; margin: 8px 0; color: #1e3a8a; font-weight: 600; }
.avis-statut.is-erreur, .avis-petit.is-erreur { color: #b91c1c; }
#avisEnvoyer { width: 100%; min-height: 52px; }

/* ---------- cartes de l'accueil ---------- */
.v38-testi .v46-qui { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: #64748b; }
.v46-drapeau, .v38-testi img.v46-drapeau, .v46-etu img.v46-drapeau { width: 20px; height: 15px; margin: 0; display: inline-block; border: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .18); object-fit: cover; vertical-align: -2px; background: transparent; }
.v46-initiales { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; font-weight: 800; font-size: 26px; border: 3px solid #dbeafe; }
.v46-lien { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: #0a66c2; color: #fff !important; font-weight: 700; font-size: 12.5px; text-decoration: none; }
.v46-lien:hover { background: #084d93; }
.v46-moyenne { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 6px 14px; border-radius: 999px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-weight: 800; }
.v46-moyenne .stars { color: #f59e0b; letter-spacing: 2px; }
.v46-etu { flex: none; width: min(66vw, 230px); margin: 0 14px 0 0; padding: 18px 14px; border-radius: 18px; background: #fff; border: 1px solid #dfe9f7; box-shadow: 0 10px 24px rgba(15, 45, 80, .09); text-align: center; white-space: normal; }
.v46-etu img.v46-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #dbeafe; display: block; margin: 0 auto 10px; background: #f1f5f9; }
.v46-etu .v46-initiales { width: 84px; height: 84px; font-size: 30px; }
.v46-etu b { display: block; color: #123c74; font-size: 16px; }
.v46-etu .v46-pays { margin-top: 6px; font-size: 13px; color: #475569; }
.v46-etu .v46-niveau { margin-top: 2px; font-size: 12.5px; color: #64748b; }
