.nctd {
--nctd-c: #2e9e5b;
--nctd-ink: #237a46;
--nctd-texte: #1d1d1b;
--nctd-gris: #6b6b6b;
--nctd-trait: #e6e6e6;
--nctd-champ: #cfcfcf;
--nctd-bulle: #f4f4f4;
--nctd-hauteur: min(720px, calc(100vh - 40px));
position: relative;
display: flex;
flex-direction: column;
width: 100%;
height: var(--nctd-hauteur);
overflow: hidden;
background: #fff;
border: 1px solid var(--nctd-trait);
border-top: 3px solid var(--nctd-c);
border-radius: 0;
color: var(--nctd-texte);
font-family: "Archivo", Archivo, sans-serif;
font-size: 14.5px;
line-height: 1.5;
box-sizing: border-box;
}
.nctd--test { --nctd-c: #c62b1f; --nctd-ink: #c62b1f; }
.nctd--actu { --nctd-c: #2c7be5; --nctd-ink: #1a5fbf; }
.nctd--immersion { --nctd-c: #e8b31a; --nctd-ink: #a87700; }
.nctd *, .nctd *::before, .nctd *::after { box-sizing: inherit; } .nctd-cadre { container-type: inline-size; width: 100%; }
.elementor-widget:has(.nctd-cadre) { width: 100%; max-width: 100%; }
@container (min-width: 700px) {
.nctd { height: auto; max-height: var(--nctd-hauteur); }
.nctd-fil { min-height: 160px; }
.nctd-corps { max-width: min(85%, 680px); }
.nctd-vide { margin: auto; }
}
.nctd [hidden] { display: none !important; }
.nctd button { font: inherit; cursor: pointer; } .nctd-entete { padding: 16px 18px 12px; border-bottom: 1px solid #ececec; }
.nctd.nctd .nctd-titre {
margin: 0;
padding: 0;
border: 0;
background: none;
color: var(--nctd-texte);
font-family: "Archivo", Archivo, sans-serif;
font-size: 22px;
font-weight: 900;
line-height: 1.15;
letter-spacing: -.4px;
text-transform: none;
}
.nctd.nctd .nctd-accroche { margin: 6px 0 0; color: #444; font-size: 14.5px; line-height: 1.45; }
.nctd.nctd .nctd-compteur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 8px 0 0; color: var(--nctd-gris); font-size: 12.5px; }
.nctd-stats strong { color: var(--nctd-ink); font-weight: 900; } .nctd-fil {
flex: 1;
display: flex;
flex-direction: column;
gap: 16px;
padding: 16px 18px;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
scrollbar-color: #d6d6d6 transparent;
}
.nctd-fil:focus { outline: none; }
.nctd-msg { display: flex; align-items: flex-start; gap: 10px; }
.nctd-msg.is-nct { flex-direction: row-reverse; }
.nctd-corps { display: flex; flex-direction: column; min-width: 0; max-width: 86%; }
.nctd-msg.is-nct .nctd-corps { align-items: flex-end; }
.nctd-msg.is-nouveau { animation: nctd-arrivee .25s ease-out; } .nctd .nctd-avatar {
flex-shrink: 0;
display: inline-grid;
place-items: center;
width: 30px;
height: 30px;
margin-top: 20px;
border-radius: 0;
background: #e9e9e9;
color: #444;
font-size: 11px;
font-weight: 800;
user-select: none;
}
.nctd .nctd-avatar--nct { background: #1d1d1b; color: #fff; font-size: 9.5px; font-weight: 900; font-style: italic; }
.nctd-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 0 0 4px; color: #777; font-size: 11.5px; line-height: 1.3; }
.nctd-meta strong { color: var(--nctd-texte); font-size: 13px; font-weight: 800; }
.nctd-badge { color: var(--nctd-texte); font-size: 10.5px; font-weight: 900; letter-spacing: .06em; }
.nctd-possede { color: var(--nctd-ink); font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.nctd-note { color: var(--nctd-texte); font-size: 12px; font-weight: 900; }
.nctd-question { color: #555; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.nctd-bulle { padding: 10px 13px; background: var(--nctd-bulle); border-radius: 0; overflow-wrap: anywhere; }
.nctd-msg.is-temoignage:not(.is-nct) .nctd-bulle { box-shadow: inset 3px 0 0 var(--nctd-c); }
.nctd-msg.is-nct .nctd-bulle { background: #1d1d1b; color: #fff; }
.nctd-texte p { margin: 0 0 .6em; font-size: 14.5px; line-height: 1.5; }
.nctd-texte p:last-child { margin-bottom: 0; }
.nctd-citation {
display: block;
margin: 0 0 6px;
padding: 0 0 0 8px;
border-left: 2px solid currentColor;
color: inherit !important;
font-size: 12.5px;
line-height: 1.35;
text-decoration: none !important;
opacity: .75;
}
.nctd-citation strong { display: block; font-size: 12px; }
.nctd-msg.is-flash .nctd-bulle { outline: 2px solid var(--nctd-c); outline-offset: 2px; }
.nctd-actions { display: flex; gap: 14px; margin: 4px 0 0; }
.nctd-attente { font-size: 12px; color: var(--nctd-gris); }
.nctd-msg.is-attente .nctd-bulle { background: #fafafa; border: 1px dashed var(--nctd-champ); }
.nctd-vide { margin: auto 0; color: var(--nctd-gris); font-size: 13.5px; text-align: center; } .nctd-saisie { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid #ececec; }
.nctd-reponse {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 0 0 0 8px;
border-left: 2px solid var(--nctd-texte);
color: var(--nctd-gris);
font-size: 12.5px;
}
.nctd-reponse strong { color: var(--nctd-texte); } .nctd-avis { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nctd-avis[hidden] { display: none !important; }
.nctd-choix, .nctd-notes label { position: relative; margin: 0; cursor: pointer; }
.nctd-choix input, .nctd-notes input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.nctd-choix span {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 11px;
border: 1px solid var(--nctd-champ);
border-radius: 0;
background: #fff;
color: var(--nctd-texte);
font-size: 12.5px;
font-weight: 800;
line-height: 1.2;
transition: border-color .15s, background .15s, color .15s;
}
.nctd-choix:hover span { border-color: var(--nctd-texte); }
.nctd-choix input:checked + span { border-color: var(--nctd-texte); background: var(--nctd-texte); color: #fff; }
.nctd-choix input:focus-visible + span, .nctd-notes input:focus-visible + span { outline: 2px solid var(--nctd-c); outline-offset: 2px; }
.nctd-notes { display: flex; flex-basis: 100%; flex-wrap: wrap; align-items: center; gap: 4px; }
.nctd-notes__lib { margin-right: 4px; color: var(--nctd-gris); font-size: 12px; font-weight: 700; }
.nctd-notes label span {
display: inline-grid;
place-items: center;
width: 26px;
height: 26px;
border: 1px solid var(--nctd-champ);
border-radius: 0;
background: #fff;
color: var(--nctd-texte);
font-size: 12px;
font-weight: 800;
transition: background .15s, color .15s, border-color .15s;
}
.nctd-notes label:hover span { border-color: var(--nctd-texte); }
.nctd-notes input:checked + span { border-color: var(--nctd-texte); background: var(--nctd-texte); color: #fff; } .nctd-demande {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px 10px;
padding: 10px 12px;
background: #f5f5f5;
}
.nctd-demande__q { color: var(--nctd-texte); font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.nctd.nctd .nctd-demande__btn {
flex-shrink: 0;
padding: 6px 12px;
border: 1px solid var(--nctd-texte);
border-radius: 0;
background: #fff;
color: var(--nctd-texte);
font-size: 12.5px;
font-weight: 800;
line-height: 1.2;
transition: background .15s, color .15s;
}
.nctd.nctd .nctd-demande__btn:hover,
.nctd.nctd .nctd-demande__btn[aria-pressed="true"] { background: var(--nctd-texte); color: #fff; }
.nctd.nctd .nctd-demande__btn[aria-pressed="true"] { cursor: default; }
.nctd.nctd .nctd-demande__btn[aria-pressed="true"]::before { content: "✓ "; } .nctd-choix--photo span svg { flex-shrink: 0; }
.nctd-choix--photo input { top: 0; left: 0; }
.nctd-apercu { display: flex; flex-basis: 100%; align-items: center; gap: 10px; color: var(--nctd-gris); font-size: 12px; line-height: 1.3; }
.nctd-apercu img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 0; object-fit: cover; }
.nctd-apercu span { flex: 1; }
.nctd.nctd .nctd-apercu__retirer { flex-shrink: 0; padding: 0 4px; border: 0; border-radius: 0; background: none; color: var(--nctd-gris); font-size: 20px; line-height: 1; }
.nctd-saisie.is-envoi .nctd-envoyer { animation: nctd-pulse 1s ease-in-out infinite; }
@keyframes nctd-pulse { 50% { opacity: .5; } }
.nctd-photo { display: block; margin-top: 8px; line-height: 0; }
.nctd .nctd-photo img { display: block; width: 100% !important; max-width: 320px; height: auto !important; max-height: 360px; object-fit: cover; border-radius: 0 !important; }
.nctd-msg.is-nct .nctd-photo { margin-left: auto; }
.nctd-identite { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nctd-moi { margin: 0; color: var(--nctd-gris); font-size: 12px; }
.nctd-zone { display: flex; align-items: flex-end; gap: 8px; }
.nctd-erreur { margin: 0; color: #b3261e; font-size: 13px; }
.nctd-ferme { margin: 0; padding: 14px 18px; border-top: 1px solid #ececec; color: var(--nctd-gris); font-size: 13px; text-align: center; }
.nctd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@keyframes nctd-arrivee { from { opacity: 0; transform: translateY(6px); } } .nctd.nctd :is(button, input, textarea) {
text-transform: none !important;
letter-spacing: normal !important;
font-family: inherit;
box-shadow: none;
}
.nctd.nctd :is(input, textarea)::placeholder { text-transform: none !important; color: #8a8a8a; opacity: 1; }
.nctd.nctd .nctd-actions button,
.nctd.nctd .nctd-reponse__annuler,
.nctd.nctd .nctd-moi__modifier {
padding: 0;
border: 0;
border-radius: 0;
background: none;
line-height: 1.4;
}
.nctd.nctd .nctd-actions button { color: #777; font-size: 12px; font-weight: 700; }
.nctd.nctd .nctd-actions button:hover,
.nctd.nctd .nctd-actions button:focus { background: none; color: var(--nctd-texte); }
.nctd.nctd .nctd-utile[aria-pressed="true"] { color: var(--nctd-ink); }
.nctd.nctd .nctd-reponse__annuler { padding: 0 4px; color: var(--nctd-gris); font-size: 18px; line-height: 1; }
.nctd.nctd .nctd-moi__modifier { color: var(--nctd-texte); font-size: 12px; text-decoration: underline; }
.nctd.nctd .nctd-envoyer {
flex-shrink: 0;
display: grid;
place-items: center;
width: 44px;
height: 44px;
padding: 0;
border: 0;
border-radius: 0 !important;
background: #1d1d1b !important;
color: #fff !important;
line-height: 1;
transition: background .2s, opacity .15s;
}
.nctd.nctd .nctd-envoyer:hover:not(:disabled),
.nctd.nctd .nctd-envoyer:focus:not(:disabled) { background: var(--nctd-c) !important; }
.nctd.nctd .nctd-envoyer:disabled { opacity: .3; cursor: default; }
.nctd.nctd .nctd-zone textarea {
flex: 1;
width: 100%;
min-height: 44px;
max-height: 140px;
margin: 0;
padding: 11px 13px;
border: 1px solid var(--nctd-champ);
border-radius: 0;
background: #fff;
color: var(--nctd-texte);
font-size: 15px;
line-height: 1.4;
resize: none;
outline: none;
}
.nctd.nctd .nctd-identite input {
width: 100%;
margin: 0;
padding: 9px 12px;
border: 1px solid var(--nctd-champ);
border-radius: 0;
background: #fff;
color: var(--nctd-texte);
font-size: 14px;
outline: none;
}
.nctd.nctd .nctd-zone textarea:focus,
.nctd.nctd .nctd-identite input:focus { border-color: var(--nctd-texte); background: #fff; outline: none; } .nctd-jaime {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px 16px;
margin: 26px 0 30px;
padding: 14px 18px;
background: #f5f5f5;
font-family: "Archivo", Archivo, sans-serif;
clear: both;
}
.nctd-jaime .nctd-jaime__q { margin: 0 !important; color: #1d1d1b; font-size: 16px !important; font-weight: 800; line-height: 1.3; }
.nctd-jaime .nctd-jaime__btn {
display: inline-flex;
align-items: center;
gap: 8px;
margin: 0;
padding: 10px 16px !important;
border: 1px solid #1d1d1b !important;
border-radius: 0 !important;
background: #fff !important;
color: #1d1d1b !important;
font-family: "Archivo", Archivo, sans-serif;
font-size: 15px;
font-weight: 800;
line-height: 1;
letter-spacing: 0 !important;
text-transform: none !important;
box-shadow: none !important;
cursor: pointer;
transition: background .2s, color .2s, border-color .2s;
}
.nctd-jaime .nctd-jaime__btn svg { fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.nctd-jaime .nctd-jaime__btn:hover { border-color: #c62b1f !important; color: #c62b1f !important; }
.nctd-jaime .nctd-jaime__btn[aria-pressed="true"] { border-color: #c62b1f !important; background: #c62b1f !important; color: #fff !important; }
.nctd-jaime .nctd-jaime__btn[aria-pressed="true"] svg { fill: currentColor; transform: scale(1.15); }
.nctd-jaime__nb { padding-left: 8px; border-left: 1px solid currentColor; font-weight: 900; } @media (max-width: 1024px) {
.nctd { --nctd-hauteur: 620px; }
}
@media (max-width: 480px) {
.nctd-notes label span { width: 23px; height: 23px; font-size: 11px; }
.nctd-notes { gap: 3px; flex-wrap: nowrap; }
.nctd-notes__lib { margin-right: 2px; font-size: 11.5px; white-space: nowrap; }
.nctd { --nctd-hauteur: 560px; }
.nctd-entete { padding: 14px 14px 10px; }
.nctd.nctd .nctd-titre { font-size: 20px; }
.nctd-fil { padding: 14px 12px; }
.nctd-corps { max-width: 88%; }
.nctd-identite { grid-template-columns: 1fr; }
.nctd-jaime { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
.nctd *, .nctd-jaime * { animation: none !important; transition: none !important; }
}