/* =====================================================================
   ARTECH Recrutement · thème « Clair »
   Mêmes composants que « Nuit », sur fond blanc et lavande comme le site
   artech-group.fr : ombres de cartes en couches, bande nuit pour les chiffres.
   Chargé après nuit.css, uniquement quand <html class="clair">.
   ===================================================================== */
html.clair {
  --ink: #14171f;
  --texte: #232833;
  --doux: #4d5568;
  --discret: #6b7488;
  --ligne: #e6e8ef;
  --ligne-forte: #dde1e9;
  --lavande: #f6f3fb;
  --grad-btn: linear-gradient(90deg, #4f4996, #c92d7c);
  --grad-txt: linear-gradient(135deg, #4d90cb 0%, #4f4996 38%, #9d549e 66%, #e0378e 100%);
  --ombre-btn: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 1px rgba(3, 3, 4, .1), 0 2px 4px rgba(3, 3, 4, .1), 0 8px 20px -6px rgba(79, 73, 150, .45);
  --ombre-btn-hover: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 1px rgba(3, 3, 4, .1), 0 4px 8px rgba(3, 3, 4, .1), 0 14px 30px -8px rgba(201, 45, 124, .5);
  --ombre-carte: 0 1px 1px rgba(20, 23, 31, .04), 0 6px 16px -4px rgba(26, 20, 64, .12), 0 24px 48px -16px rgba(26, 20, 64, .18);
  --ombre-douce: 0 1px 2px rgba(20, 23, 31, .05), 0 4px 12px -4px rgba(26, 20, 64, .08);
  background: #fff;
  color-scheme: light;
}
html.clair body { color: var(--texte); }
html.clair h1, html.clair h2, html.clair h3, html.clair h4 { color: var(--ink); }
html.clair a { color: var(--indigo); }
html.clair ::selection { background: rgba(79, 73, 150, .2); color: var(--ink); }

/* Fond : blanc uni, sans halos ni quadrillage */
html.clair .ciel { background: #fff; }
html.clair .ciel i, html.clair .ciel::before, html.clair .ciel::after { display: none; }
html.clair .heros::after, html.clair .appel::before, html.clair .offre::after { display: none; }
html.clair .offre::before { box-shadow: none; }

/* Boutons */
html.clair .btn { color: #fff; }
html.clair .btn.secondaire, html.clair .btn.neutre { color: var(--texte); background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--ligne-forte), 0 1px 1px rgba(3, 3, 4, .08), 0 2px 4px rgba(3, 3, 4, .06), 0 6px 14px -4px rgba(3, 3, 4, .14); }
html.clair .btn.secondaire:hover, html.clair .btn.neutre:hover { background: #fff; box-shadow: inset 0 0 0 1px #c9cfdb, 0 2px 4px rgba(3, 3, 4, .08), 0 12px 24px -10px rgba(26, 20, 64, .25); }
html.clair .btn:focus-visible, html.clair .bouton-micro:focus-visible { outline-color: rgba(79, 73, 150, .4); }

/* En-tête */
html.clair .entete { background: rgba(255, 255, 255, .78); border-bottom-color: #eef0f4; }
html.clair .marque { color: var(--ink); }
html.clair .marque small { color: var(--discret); box-shadow: inset 0 0 0 1px var(--ligne); }
html.clair .segment { background: #f3f1f9; box-shadow: inset 0 0 0 1px #ebe8f3; }
html.clair .segment a { color: var(--doux); }
html.clair .segment a:hover { color: var(--ink); }
html.clair .segment a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(20, 23, 31, .08), 0 2px 6px -2px rgba(26, 20, 64, .12); }

/* Héros */
html.clair .heros::after { background: radial-gradient(ellipse at center, rgba(167, 155, 255, .18), transparent 65%); }
html.clair .pilule { background: #fff; color: var(--doux); box-shadow: inset 0 0 0 1px var(--ligne), 0 6px 18px -10px rgba(26, 20, 64, .3); }
html.clair .heros h1 { text-shadow: none; }
html.clair .heros .lead, html.clair .sous { color: var(--doux); }
html.clair .confiance { color: var(--discret); }
html.clair .confiance li::before { background: var(--rose); box-shadow: 0 0 0 3px rgba(224, 55, 142, .15); }
html.clair .oeil { color: var(--rose); }

/* Cartes : blanc plein et ombre en couches à la place du verre */
html.clair .verre { background: #fff; box-shadow: inset 0 0 0 1px #eef0f4, var(--ombre-douce); backdrop-filter: none; -webkit-backdrop-filter: none; }
html.clair .carte:hover { box-shadow: inset 0 0 0 1px #e4e1f3, var(--ombre-carte); }
html.clair .carte p, html.clair .avantage p, html.clair .projection p, html.clair .texte-long p, html.clair .parcours p { color: var(--doux); }
html.clair .ic { color: #fff; background: var(--grad-btn); box-shadow: var(--ombre-btn); }

/* Projection */
html.clair .projection { box-shadow: inset 0 0 0 1px #ece9f6, var(--ombre-carte); background: linear-gradient(180deg, #fbfaff, #fff); }
html.clair .projection small, html.clair .ligne span { color: var(--discret); }
html.clair .projection .avertissement, html.clair .legende { color: var(--discret); }
html.clair .ligne b { color: var(--ink); }
html.clair .jauge { background: #eef0f4; }
html.clair .jauge i { background: linear-gradient(90deg, #4d90cb, #4f4996, #e0378e); box-shadow: none; }

/* Offres */
html.clair .offre { box-shadow: inset 0 0 0 1px #eef0f4, var(--ombre-carte); }
html.clair .offre::after { opacity: .12; }
html.clair .offre:hover::after { opacity: .2; }
html.clair .offre .etiquette { color: var(--discret); }
html.clair .offre p { color: var(--doux); }
html.clair .offre li { color: var(--texte); }
html.clair .a-violet { --accent: #9d549e; }

/* Bande de chiffres : bleu nuit, comme sur le site */
html.clair .chiffres { background: radial-gradient(ellipse 60% 90% at 90% 10%, rgba(224, 55, 142, .28), transparent 60%), radial-gradient(ellipse 50% 80% at 5% 95%, rgba(77, 144, 203, .25), transparent 60%), #1a1440; box-shadow: var(--ombre-carte); }
html.clair .chiffres div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1); }
html.clair .chiffres b { background: linear-gradient(120deg, #7cb4ff 0%, #a79bff 40%, #d68bd8 68%, #ff5fae 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.clair .chiffres span { color: #c3c6dc; }
@media (max-width: 760px) {
  html.clair .chiffres div:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
  html.clair .chiffres div:nth-child(4) { box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .1); }
}

/* Listes */
html.clair .coches li { background: #fff; color: var(--texte); box-shadow: inset 0 0 0 1px #eef0f4, var(--ombre-douce); }
html.clair .coches li::before { box-shadow: var(--ombre-btn); }

/* Parcours */
html.clair .parcours::before { background: linear-gradient(180deg, #4d90cb, #4f4996 50%, #e0378e); box-shadow: none; }
html.clair .parcours li::before { background: #fff; box-shadow: 0 0 0 2px var(--indigo), 0 4px 10px -2px rgba(79, 73, 150, .4); }
html.clair .parcours small { color: var(--rose); }

/* FAQ */
html.clair .faq details { background: #fff; box-shadow: inset 0 0 0 1px #eef0f4, var(--ombre-douce); }
html.clair .faq details[open] { background: #fff; box-shadow: inset 0 0 0 1px #e4e1f3, var(--ombre-carte); }
html.clair .faq summary { color: var(--ink); }
html.clair .faq summary::after { border-color: var(--indigo); }
html.clair .faq details > div { color: var(--doux); }

/* Appel final */
html.clair .appel { background: linear-gradient(180deg, #fbfaff, #fff); }
html.clair .appel::before { background: radial-gradient(closest-side, rgba(224, 55, 142, .14), transparent); }
html.clair .appel p { color: var(--doux); }

/* Formulaire */
html.clair .formulaire { box-shadow: inset 0 0 0 1px #eef0f4, var(--ombre-carte); }
html.clair .progression li { color: var(--discret); }
html.clair .progression li::before { background: #eef0f4; }
html.clair .progression li.fait { color: var(--doux); }
html.clair .progression li.fait::before { background: linear-gradient(90deg, #4d90cb, #4f4996); }
html.clair .progression li.actif { color: var(--ink); }
html.clair .progression li.actif::before { box-shadow: 0 2px 8px -2px rgba(201, 45, 124, .5); }
html.clair .etape-form > .intro { color: var(--doux); }
html.clair .champ > label, html.clair .champ > legend { color: var(--ink); }
html.clair .champ .aide { color: var(--discret); }
html.clair .champ .facultatif { color: var(--discret); }
html.clair .champ input[type="text"], html.clair .champ input[type="email"], html.clair .champ input[type="tel"], html.clair .champ input[type="url"], html.clair .champ input[type="number"], html.clair .champ input[type="date"], html.clair .champ textarea {
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ligne-forte), inset 0 1px 2px rgba(20, 23, 31, .04);
}
html.clair .champ input::placeholder, html.clair .champ textarea::placeholder { color: #9aa0b3; }
html.clair .champ input:hover, html.clair .champ textarea:hover { box-shadow: inset 0 0 0 1px #c9cfdb; }
html.clair .champ input:focus, html.clair .champ textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--indigo), 0 0 0 4px rgba(79, 73, 150, .14); }
html.clair .champ input[type="file"] { color: var(--doux); background: #fbfbfd; border-color: #cfd4df; }
html.clair .champ input[type="file"]::file-selector-button { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ligne-forte), var(--ombre-douce); }

/* Choix : même sélection franche, version claire */
html.clair .choix span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ligne-forte), 0 1px 2px rgba(20, 23, 31, .05); }
html.clair .choix span::before { box-shadow: inset 0 0 0 1.5px #b9bfcc; }
html.clair .choix label:hover span { background: #faf9ff; box-shadow: inset 0 0 0 1px #b9b4e0, 0 2px 6px -2px rgba(79, 73, 150, .2); }
html.clair .choix:has(input:checked) span { opacity: .55; }
html.clair .choix:has(input:checked) label:hover span { opacity: .9; }
html.clair .choix input:checked + span { opacity: 1; color: #fff; background: var(--grad-btn); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 22px -8px rgba(201, 45, 124, .6), 0 2px 4px rgba(3, 3, 4, .1); }
html.clair .choix input:checked + span::before { background-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
html.clair .choix input:focus-visible + span { outline-color: rgba(79, 73, 150, .45); }

/* Erreurs */
html.clair .erreur-champ { color: #b8235f; }
html.clair .erreur-champ::before { background: #fde3ee; }
html.clair .champ.invalide input, html.clair .champ.invalide textarea, html.clair .champ.invalide .choix span, html.clair .champ.invalide.enregistreur { box-shadow: inset 0 0 0 1.5px #e0378e; }
html.clair .message.erreur { background: #fdeef5; color: #8a1d55; box-shadow: inset 0 0 0 1px #f6c4dc; }
html.clair .compteur { color: var(--discret); }

html.clair .navigation { background: #fbfbfd; box-shadow: inset 0 1px 0 #eef0f4; }
html.clair .consentement { color: var(--texte); }
html.clair .pitch { background: var(--lavande); color: var(--texte); box-shadow: none; }
html.clair .enregistreur { background: #fbfaff; box-shadow: inset 0 0 0 1px #ece9f6; }
html.clair .chrono { color: var(--ink); }
html.clair .enregistreur .note { color: var(--doux); }
html.clair .enregistreur audio { color-scheme: light; }
html.clair .repli { color: var(--discret); }
html.clair .repli label { color: var(--indigo); }
html.clair .bouton-micro { box-shadow: var(--ombre-btn), 0 0 0 8px rgba(79, 73, 150, .08); }

/* Fins, mobile, pages de texte, pied */
html.clair .panneau-fin p { color: var(--doux); }
html.clair .cta-mobile { background: rgba(255, 255, 255, .9); border-top-color: #eef0f4; }
html.clair .pied { color: var(--discret); }
html.clair .pied .c { box-shadow: inset 0 1px 0 #eef0f4; }
html.clair .pied a { color: var(--doux); }
html.clair .pied a:hover { color: var(--ink); }

/* Sélecteur de thème : garde ses couleurs sombres */
html.clair .comparateur a { color: #d0d2e6; }
html.clair .comparateur a[aria-current="true"] { color: #fff; }

/* En-tête et page « Postuler » en thème clair */
html.clair .retour { color: var(--doux); }
html.clair .retour:hover { color: var(--ink); }
@media (max-width: 560px) {
  html.clair .page-postuler .progression { background: rgba(255, 255, 255, .94); box-shadow: inset 0 -1px 0 #eef0f4; }
  html.clair .page-postuler .navigation { background: rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #eef0f4, 0 -8px 24px -16px rgba(26, 20, 64, .25); }
}

@media (max-width: 560px) { html.clair .progression::after { color: var(--ink); } }

/* Mobile : formulaire et écran de fin sans cadre, pleine largeur */
@media (max-width: 560px) {
  html.clair .page-postuler .formulaire { background: transparent; box-shadow: none; }
}
html.clair .suite li { background: #fff; box-shadow: inset 0 0 0 1px #eef0f4, var(--ombre-douce); }
html.clair .suite b { color: var(--ink); }
html.clair .suite span { color: var(--doux); }
