/* PROJET-209 L2B1 (31/10/2026) - salon.ids-groupe.com : feuille de la PORTE DATEE, chargee APRES adf.css par les
   pages qui en ont besoin (salon sans visuels ADF, page de repli, apercu du DG). adf.css n'est pas modifiee : la page
   d'attente ADF reste a l'octet celle du 30/10. CSP du site : aucun style en ligne, aucune ressource tierce.
   Theme « IDS » : couleurs du site IDS GROUPE (accent #0B7482 de la charte du configurateur) au lieu du logo ADF.
   Textes blancs sur fond sombre : contraste >= 4,5:1 (calcule au banc B1 sur les couleurs de cette feuille). */
.theme-ids {
  --ids: #0B7482;
  --ids-fonce: #0F5A66;
  --ids-nuit: #073B43;
  --ids-clair: #3B97A3;
  --ids-pale: #E3F1F3;
}
.theme-ids .tricolore span:nth-child(1) { background: var(--ids); }
.theme-ids .tricolore span:nth-child(2) { background: var(--ids-fonce); }
.theme-ids .tricolore span:nth-child(3) { background: var(--ids-clair); }
.theme-ids .pastille { white-space: normal; text-align: right; max-width: 58%; line-height: 1.3; }
.theme-ids .pastille::before { margin-right: 29px; background: var(--ids); box-shadow: 11px 0 0 var(--ids-clair), 22px 0 0 var(--ids-fonce); }
.theme-ids .heros {
  background:
    radial-gradient(120% 70% at 100% 100%, rgba(59, 151, 163, 0.30) 0%, rgba(59, 151, 163, 0) 60%),
    radial-gradient(90% 60% at 0% 0%, rgba(11, 116, 130, 0.35) 0%, rgba(11, 116, 130, 0) 65%),
    linear-gradient(160deg, var(--ids) 0%, var(--ids-fonce) 45%, var(--ids-nuit) 100%);
}
.theme-ids .surtitre { color: var(--blanc); }
.theme-ids .date-cle { background-image: linear-gradient(90deg, #FFFFFF 0 100%); background-size: 100% 4px; }
.theme-ids .bouton-appel { background: var(--ids); }
.theme-ids .bouton-appel:hover { background: var(--ids-fonce); }
.theme-ids .bouton-mail, .theme-ids .bouton-site { border-color: var(--ids); }
.theme-ids .bouton-mail:hover, .theme-ids .bouton-site:hover { background: var(--ids-pale); }
.theme-ids .conseiller::before { background: linear-gradient(180deg, var(--ids) 0 50%, var(--ids-clair) 50% 100%); }
.theme-ids .monogramme { background: linear-gradient(140deg, var(--ids) 0%, var(--ids-nuit) 100%); }
.theme-ids .etape::before { background: var(--ids); box-shadow: 0 0 0 4px rgba(11, 116, 130, 0.16); }
.theme-ids .etape-vert::before { background: var(--ids-clair); box-shadow: 0 0 0 4px rgba(59, 151, 163, 0.18); }
.theme-ids .etape-bleu::before { background: var(--ids-fonce); box-shadow: 0 0 0 4px rgba(15, 90, 102, 0.16); }
.theme-ids a:focus-visible { outline-color: var(--ids); }

/* Theme « JO » : couleurs du LOGO des Journees de l'Orthodontie (turquoise #579FB8 mesure sur le fichier du DG, noir),
   bandeau CLAIR (le logo est sur fond blanc), logo en tete. Textes sur blanc : noir ou turquoise fonce #2B6F86
   (contraste >= 4,5:1) ; le turquoise du logo reste decoratif (barres, puces, soulignement, bordures). */
.theme-jo {
  --jo: #579FB8;
  --jo-fonce: #2B6F86;
  --jo-nuit: #1C4F61;
  --jo-pale: #EEF6F9;
  --jo-bord: #CFE4EC;
}
.theme-jo .tricolore span:nth-child(1) { background: var(--jo); }
.theme-jo .tricolore span:nth-child(2) { background: #000000; }
.theme-jo .tricolore span:nth-child(3) { background: var(--jo-fonce); }
.theme-jo .pastille { white-space: normal; text-align: right; max-width: 58%; line-height: 1.3; }
.theme-jo .pastille::before { margin-right: 29px; background: var(--jo); box-shadow: 11px 0 0 #000000, 22px 0 0 var(--jo-fonce); }
.theme-jo .heros { color: var(--encre); background: linear-gradient(180deg, #FFFFFF 0%, var(--jo-pale) 100%); border-bottom: 1px solid var(--jo-bord); }
.theme-jo .surtitre { color: var(--jo-fonce); }
.theme-jo h1 { color: #000000; }
.theme-jo .accroche { color: var(--encre); }
.theme-jo .date-cle { background-image: linear-gradient(90deg, var(--jo) 0 100%); background-size: 100% 4px; }
.theme-jo .heros-panneau { background: var(--blanc); border-color: var(--jo-bord); box-shadow: 0 14px 34px rgba(28, 79, 97, 0.12); }
.theme-jo .panneau-titre { color: var(--jo-fonce); }
.theme-jo .panneau-dates { color: #000000; }
.theme-jo .panneau-lieu { color: var(--encre); }
.theme-jo .panneau-stand { background: var(--jo-fonce); color: var(--blanc); }
.theme-jo .diapos { background: var(--jo-pale); box-shadow: 0 14px 34px rgba(28, 79, 97, 0.16), 0 0 0 1px var(--jo-bord); }
.theme-jo .points span { background: var(--jo-fonce); }
.theme-jo .pause-bouton { border-color: var(--jo-fonce); color: var(--jo-fonce); }
.theme-jo .bouton-appel { background: var(--jo-fonce); }
.theme-jo .bouton-appel:hover { background: var(--jo-nuit); }
.theme-jo .bouton-mail, .theme-jo .bouton-site { border-color: var(--jo); }
.theme-jo .bouton-mail:hover, .theme-jo .bouton-site:hover { background: var(--jo-pale); }
.theme-jo .conseiller::before { background: linear-gradient(180deg, var(--jo) 0 50%, #000000 50% 100%); }
.theme-jo .monogramme { background: linear-gradient(140deg, var(--jo-fonce) 0%, var(--jo-nuit) 100%); }
.theme-jo .etape::before { background: var(--jo); box-shadow: 0 0 0 4px rgba(87, 159, 184, 0.20); }
.theme-jo .etape-vert::before { background: #000000; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12); }
.theme-jo .etape-bleu::before { background: var(--jo-fonce); box-shadow: 0 0 0 4px rgba(43, 111, 134, 0.16); }
.theme-jo a:focus-visible { outline-color: var(--jo-fonce); }

/* Logo du salon en tete du bandeau */
.heros-logo { margin: 0 0 18px; }
.heros-logo img { display: block; width: 240px; max-width: 100%; height: auto; mix-blend-mode: multiply; }   /* fond blanc du logo fondu dans le bandeau clair */

/* Bandeau sans visuels : panneau des dates, du lieu et du stand */
.heros-panneau {
  border-radius: var(--rayon); padding: 22px 22px 24px; background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30); box-shadow: 0 18px 40px rgba(2, 30, 40, 0.30);
}
.heros-panneau p { margin: 0; }
.panneau-titre { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sur-sombre); }
.panneau-dates { margin-top: 10px !important; font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--blanc); }
.panneau-lieu { margin-top: 10px !important; font-size: 16px; color: var(--blanc); }
.panneau-stand {
  display: inline-block; margin-top: 16px !important; padding: 8px 14px; border-radius: 999px; background: var(--blanc);
  color: var(--ids-nuit, #073B43); font-weight: 800; font-size: 16px;
}
.heros-seul .heros-texte { max-width: 46em; }

/* Une seule carte dans le corps (page de repli) */
.corps-seul { max-width: 640px; }

/* Apercu du DG : bandeau au-dessus de la page du visiteur */
.bandeau-apercu { margin: 0; padding: 10px 20px; background: #1F2933; color: #FFFFFF; font-weight: 700; text-align: center; font-size: 14px; }
.bandeau-apercu a { color: #FFFFFF; }

/* Apercu du DG : tableau des bascules */
.page-apercu { display: block; min-height: 0; background: #FFFFFF; color: #06151F; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; }
.apercu { max-width: 1180px; margin: 0 auto; padding: 20px; }
.apercu h1 { font-size: 24px; margin: 0 0 8px; }
.apercu h2 { font-size: 18px; margin: 24px 0 8px; }
.apercu table { border-collapse: collapse; width: 100%; }
.apercu th, .apercu td { border: 1px solid #D5DCE1; padding: 6px 8px; text-align: left; vertical-align: top; }
.apercu th { background: #F4F6F7; }
.apercu form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.apercu select, .apercu input, .apercu button { font: inherit; padding: 6px 8px; }

@media (min-width: 720px) {
  .heros-logo img { width: 300px; }
}
@media (min-width: 1024px) {
  .heros-grille.heros-seul { grid-template-columns: minmax(0, 1fr); }
  .heros-logo img { width: 340px; }
  .panneau-dates { font-size: 38px; }
  .heros-panneau { max-width: 460px; justify-self: end; width: 100%; }
}

/* Carrousel pour un autre nombre de visuels que 5 (adf.css couvre 5) : genere par construire_l2b1.py */
.diapos.n1 .diapo { animation: none; opacity: 1; }
.diapos.n1 + .points { display: none; }
.diapos.n2 .diapo { animation-name: porte-fondu-2; animation-duration: 10s; }
.diapos.n2 + .points span { animation-name: porte-point-2; animation-duration: 10s; }
.diapos.n2 .diapo:nth-child(1), .diapos.n2 + .points span:nth-child(1) { animation-delay: -1s; }
.diapos.n2 .diapo:nth-child(2), .diapos.n2 + .points span:nth-child(2) { animation-delay: 4s; }
@keyframes porte-fondu-2 { 0% { opacity: 0; } 10.000% { opacity: 1; } 50.000% { opacity: 1; } 60.000% { opacity: 0; } 100% { opacity: 0; } }
@keyframes porte-point-2 { 0% { opacity: 0.35; } 10.000% { opacity: 1; } 50.000% { opacity: 1; } 60.000% { opacity: 0.35; } 100% { opacity: 0.35; } }
.diapos.n3 .diapo { animation-name: porte-fondu-3; animation-duration: 15s; }
.diapos.n3 + .points span { animation-name: porte-point-3; animation-duration: 15s; }
.diapos.n3 .diapo:nth-child(1), .diapos.n3 + .points span:nth-child(1) { animation-delay: -1s; }
.diapos.n3 .diapo:nth-child(2), .diapos.n3 + .points span:nth-child(2) { animation-delay: 4s; }
.diapos.n3 .diapo:nth-child(3), .diapos.n3 + .points span:nth-child(3) { animation-delay: 9s; }
@keyframes porte-fondu-3 { 0% { opacity: 0; } 6.667% { opacity: 1; } 33.333% { opacity: 1; } 40.000% { opacity: 0; } 100% { opacity: 0; } }
@keyframes porte-point-3 { 0% { opacity: 0.35; } 6.667% { opacity: 1; } 33.333% { opacity: 1; } 40.000% { opacity: 0.35; } 100% { opacity: 0.35; } }
.diapos.n4 .diapo { animation-name: porte-fondu-4; animation-duration: 20s; }
.diapos.n4 + .points span { animation-name: porte-point-4; animation-duration: 20s; }
.diapos.n4 .diapo:nth-child(1), .diapos.n4 + .points span:nth-child(1) { animation-delay: -1s; }
.diapos.n4 .diapo:nth-child(2), .diapos.n4 + .points span:nth-child(2) { animation-delay: 4s; }
.diapos.n4 .diapo:nth-child(3), .diapos.n4 + .points span:nth-child(3) { animation-delay: 9s; }
.diapos.n4 .diapo:nth-child(4), .diapos.n4 + .points span:nth-child(4) { animation-delay: 14s; }
@keyframes porte-fondu-4 { 0% { opacity: 0; } 5.000% { opacity: 1; } 25.000% { opacity: 1; } 30.000% { opacity: 0; } 100% { opacity: 0; } }
@keyframes porte-point-4 { 0% { opacity: 0.35; } 5.000% { opacity: 1; } 25.000% { opacity: 1; } 30.000% { opacity: 0.35; } 100% { opacity: 0.35; } }
.diapos.n6 .diapo { animation-name: porte-fondu-6; animation-duration: 30s; }
.diapos.n6 + .points span { animation-name: porte-point-6; animation-duration: 30s; }
.diapos.n6 .diapo:nth-child(1), .diapos.n6 + .points span:nth-child(1) { animation-delay: -1s; }
.diapos.n6 .diapo:nth-child(2), .diapos.n6 + .points span:nth-child(2) { animation-delay: 4s; }
.diapos.n6 .diapo:nth-child(3), .diapos.n6 + .points span:nth-child(3) { animation-delay: 9s; }
.diapos.n6 .diapo:nth-child(4), .diapos.n6 + .points span:nth-child(4) { animation-delay: 14s; }
.diapos.n6 .diapo:nth-child(5), .diapos.n6 + .points span:nth-child(5) { animation-delay: 19s; }
.diapos.n6 .diapo:nth-child(6), .diapos.n6 + .points span:nth-child(6) { animation-delay: 24s; }
@keyframes porte-fondu-6 { 0% { opacity: 0; } 3.333% { opacity: 1; } 16.667% { opacity: 1; } 20.000% { opacity: 0; } 100% { opacity: 0; } }
@keyframes porte-point-6 { 0% { opacity: 0.35; } 3.333% { opacity: 1; } 16.667% { opacity: 1; } 20.000% { opacity: 0.35; } 100% { opacity: 0.35; } }
