/**
 * Calepin Outils : liste de valise personnalisée (raccourci [co_valise]).
 * Préfixe co- partout. Aucune couleur en dur hors des jetons ci-dessous.
 * Modèle validé le 11 novembre 2026 (canevas « Valise de maternité : modèles », onglet « Générateur »).
 * Polices Lato et Caveat : servies par le thème.
 */

.co-valise, .co-fiche {
	--co-encre:        #2C2C2A;
	--co-encre-2:      #5C5650;
	--co-encre-3:      #6B645C;
	--co-creme:        #FBF6F0;
	--co-sable:        #F5EDE3;
	--co-blanc:        #FFFFFF;
	--co-blanc-chaud:  #FFFDF9;
	--co-bord:         #ECE3D6;
	--co-bord-2:       #E6DED3;
	--co-bord-champ:   #D9CFC1;
	--co-filet:        #F1EAE0;
	--co-corail:       #D4553A;
	--co-corail-fonce: #B8442C;
	--co-corail-texte: #8F321F;
	--co-corail-pale:  #FBE3D5;
	--co-teal:         #2F6F68;
	--co-teal-texte:   #1F4F4A;
	--co-teal-pale:    #E4F1EF;
	--co-teal-clair:   #DCEDEA;
	--co-creme-chaude: #F5D9A8;
	--co-orange:       #E8833A;
	--co-jaune:        #E3A332;
	--co-hero-a:       #F7D3C3;
	--co-hero-b:       #FBE6D3;
	--co-hero-cercle:  rgba(212, 85, 58, .16);
	--co-squelette:    #EDE6DC;
	--co-squelette-2:  #F3D9C4;
	--co-ombre-bouton: 0 6px 18px rgba(184, 68, 44, .28);
	--co-ombre-carte:  0 10px 30px rgba(59, 42, 36, .08);
	--co-r-carte:      20px;
	--co-r-hero:       26px;
	--co-r-pilule:     999px;
	--co-pli:          .28s;
	--co-fiche-texte:  #45433F;
	--co-fiche-trait:  #B9AFA2;
	--co-fiche-filet:  #E3D9CC;
	--co-fiche-decor:  #FBF1E6;
	--co-fiche-note:   #8A5E10;
	--co-fiche-teal:   #4E9C93;
	--co-fiche-orange-bord: #C96A25;
	--co-fiche-jaune-bord:  #A87414;
}

.co-valise {
	box-sizing: border-box;
	max-width: 852px;
	margin: 0 auto;
	padding: 0 16px 64px;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	color: var(--co-encre);
}

/* Enveloppe GeneratePress neutralisée, comme sur les articles (fond crème du site, pas de cadre blanc). */
.co-valise-page #page.grid-container { max-width: none; padding: 0; }
.co-valise-page .site-content { padding: 0; display: block; }
.co-valise-page .site-main { margin: 0; }
.co-valise-page .inside-article { padding: 0; background: transparent; }
.co-valise-page .entry-content { margin: 0; }

.co-valise *, .co-valise *::before, .co-valise *::after { box-sizing: border-box; }
.co-valise p { margin: 0; }
.co-valise [hidden] { display: none !important; }
.co-valise a { color: var(--co-corail-fonce); }
.co-valise a:hover { color: var(--co-corail-texte); }
.co-valise :focus-visible { outline: 3px solid var(--co-corail); outline-offset: 2px; }
.co-valise h1:focus, .co-valise [tabindex="-1"]:focus { outline: none; }

/* Sans JavaScript : seuls le fil d'Ariane et le bloc <noscript> s'affichent. */
html:not(.co-js) .co-ecrans { display: none; }

.co-ecrans, .co-ecran, .co-form { display: flex; flex-direction: column; }
.co-ecran { gap: 22px; }
.co-liste { gap: 26px; }
.co-form { gap: 18px; margin: 0; }

/* ── Fil d'Ariane ─────────────────────────────────────────────────────────── */
.co-fil { margin: 20px 0 14px; }
.co-fil, .co-fil p, .co-fil a, .co-fil span { font-size: 13px; line-height: 1.5; color: var(--co-encre-2); }
.co-valise .co-fil a { color: var(--co-encre-2); text-decoration: none; }
.co-valise .co-fil a:hover { color: var(--co-corail-fonce); }

/* ── En-tête ──────────────────────────────────────────────────────────────── */
.co-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px 24px;
	border-radius: var(--co-r-hero);
	background: linear-gradient(140deg, var(--co-hero-a), var(--co-hero-b));
}
.co-hero::after {
	content: "";
	position: absolute;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	border: 2px solid var(--co-hero-cercle);
	right: -120px;
	top: -140px;
	pointer-events: none;
}
.co-hero > * { position: relative; z-index: 1; }
.co-surtitre {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--co-teal-texte); /* Plus foncé que le modèle : contraste de 4,5 au moins sur le dégradé pêche. */
}
.co-surtitre::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--co-corail); }
.co-valise .co-titre {
	margin: 0;
	font-family: 'Caveat', cursive;
	font-size: clamp(38px, 6vw, 50px);
	line-height: 1.05;
	font-weight: 700;
	color: var(--co-encre);
	text-wrap: balance;
}
.co-chapo { font-size: 17px; line-height: 1.55; color: var(--co-encre-2); }
.co-chapo--liste { font-size: 16px; }
.co-chapo a { font-weight: 700; }
.co-valise .co-hero a { color: var(--co-corail-texte); } /* Contraste suffisant sur le dégradé pêche. */
.co-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.co-pastille {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: var(--co-r-pilule);
	background: var(--co-blanc);
	font-size: 13px;
	font-weight: 700;
}
.co-pastille--teal { background: var(--co-teal-pale); color: var(--co-teal); }
.co-hero__perso { font-size: 17px; font-weight: 700; }
.co-reference { font-size: 15.5px; font-weight: 700; line-height: 1.45; }

/* ── Cartes ───────────────────────────────────────────────────────────────── */
.co-carte {
	margin: 0;
	min-width: 0;
	padding: 20px 22px;
	border-radius: var(--co-r-carte);
	background: var(--co-blanc);
	border: 1px solid var(--co-bord);
}
.co-ico { flex: none; margin-top: 2px; color: var(--co-teal); }

.co-avant { display: flex; flex-direction: column; gap: 14px; }
.co-avant__ligne { display: flex; gap: 12px; align-items: flex-start; }
.co-avant__ligne p { font-size: 16px; line-height: 1.5; }
.co-avant__base { padding-top: 14px; border-top: 1px solid var(--co-filet); font-size: 15px; line-height: 1.5; color: var(--co-encre-2); }
.co-avant__base a { font-weight: 700; }

/* ── Messages ─────────────────────────────────────────────────────────────── */
.co-alerte {
	padding: 14px 18px;
	border-radius: 14px;
	background: var(--co-corail-pale);
	border: 1.5px solid var(--co-corail-fonce);
	font-size: 16px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--co-corail-texte);
}
.co-statut { padding: 14px 18px; border-radius: 14px; background: var(--co-teal-pale); font-size: 16px; line-height: 1.45; color: var(--co-teal-texte); }
.co-erreur { font-size: 15px; line-height: 1.45; font-weight: 700; color: var(--co-corail-texte); }
.co-aide { font-size: 14px; line-height: 1.45; color: var(--co-encre-2); }

/* ── Questions ────────────────────────────────────────────────────────────── */
.co-question { display: flex; flex-direction: column; gap: 12px; }
.co-question__titre {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--co-encre);
}
.co-question > .co-choix, .co-question > .co-cases, .co-question > select { clear: both; }
/* Safari : dans un fieldset en flex, la légende reste posée sur la bordure, même flottante. Les questions à choix
   restent donc en bloc, et l'écart vient des marges. */
fieldset.co-question { display: block; }
fieldset.co-question > .co-question__titre { margin-bottom: 12px; }
fieldset.co-question > .co-erreur { margin-top: 12px; }
.co-questions { display: flex; flex-direction: column; margin-bottom: -18px; }
.co-questions .co-question { margin-bottom: 18px; }
.co-choix { display: flex; flex-wrap: wrap; gap: 10px; }
.co-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 10px; }

.co-pill, .co-case {
	display: inline-flex;
	gap: 10px;
	margin: 0;
	border: 1.5px solid var(--co-bord-champ);
	background: var(--co-blanc);
	font-size: 16px;
	font-weight: 400;
	color: var(--co-encre);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.co-pill { align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--co-r-pilule); }
.co-case { display: flex; align-items: flex-start; min-height: 46px; padding: 11px 14px; border-radius: 14px; border-color: var(--co-bord-2); line-height: 1.4; }
.co-pill.is-on, .co-case.is-on { border-color: var(--co-teal); background: var(--co-teal-pale); }
.co-pill.is-on { font-weight: 700; }
.co-pill:focus-within, .co-case:focus-within, .co-ligne:focus-within { outline: 3px solid var(--co-corail); outline-offset: 2px; }
.co-valise input[type="radio"], .co-valise input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--co-teal);
}
.co-valise .co-pill input:focus-visible, .co-valise .co-case input:focus-visible, .co-valise .co-ligne input:focus-visible { outline: none; }

.co-valise .co-champ {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--co-bord-champ);
	border-radius: 12px;
	background: var(--co-blanc);
	font: 16px 'Lato', Helvetica, Arial, sans-serif;
	color: var(--co-encre);
}
.co-valise .co-champ--court { max-width: 320px; }
/* Safari sur iPhone ignore la hauteur d'une liste déroulante à l'apparence native : apparence retirée, flèche dessinée. */
.co-valise select.co-champ {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--co-encre) 50%), linear-gradient(135deg, var(--co-encre) 50%, transparent 50%);
	background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

/* ── Sections qui se déplient ─────────────────────────────────────────────── */
.co-pli { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; }
.co-pli.is-ouvert { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
/* Les plis ne s'animent qu'une fois la page prête : au chargement, une section déjà ouverte s'affiche d'emblée. */
.co-valise[data-co-pret] .co-pli { transition: grid-template-rows var(--co-pli) ease, opacity .22s ease, visibility 0s linear var(--co-pli); }
.co-valise[data-co-pret] .co-pli.is-ouvert { transition: grid-template-rows var(--co-pli) ease, opacity .22s ease .06s, visibility 0s; }
.co-pli > div { overflow: hidden; min-height: 0; }

/* ── Personnaliser ma fiche ───────────────────────────────────────────────── */
.co-perso {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 22px;
	border-radius: var(--co-r-carte);
	background: var(--co-blanc-chaud);
	border: 1.5px dashed var(--co-bord-champ);
}
.co-valise .co-perso__titre { margin: 0; font-size: 18px; line-height: 1.35; }
.co-valise .co-perso__bouton {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--co-encre);
	cursor: pointer;
}
.co-valise .co-perso__bouton:focus-visible { outline: 3px solid var(--co-corail); outline-offset: 3px; border-radius: 8px; }
.co-perso__facultatif { font-weight: 400; color: var(--co-encre-2); }
.co-perso__signe { position: relative; flex: none; width: 18px; height: 18px; }
.co-perso__signe::before, .co-perso__signe::after {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 18px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--co-corail-fonce);
}
.co-valise[data-co-pret] .co-perso__signe::before, .co-valise[data-co-pret] .co-perso__signe::after { transition: transform var(--co-pli) ease; }
.co-perso__signe::after { transform: rotate(90deg); }
.co-perso__bouton[aria-expanded="true"] .co-perso__signe::after { transform: rotate(0deg); }
.co-perso__intro, .co-perso__contacts { font-size: 15px; line-height: 1.5; color: var(--co-encre-2); }
.co-apercu {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border-radius: 16px;
	background: linear-gradient(140deg, var(--co-hero-a), var(--co-hero-b));
}
.co-apercu__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--co-teal-texte); }
.co-apercu__titre { font-family: 'Caveat', cursive; font-size: 30px; line-height: 1.05; font-weight: 700; }
.co-apercu__ligne { font-size: 15.5px; font-weight: 700; }
.co-apercu__repere { font-size: 15px; line-height: 1.45; color: var(--co-encre-2); }
.co-perso__pli { margin-top: -14px; }
.co-perso__pli > div { display: flex; flex-direction: column; gap: 14px; padding: 14px 6px 0; margin: 0 -6px; }
.co-perso__champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px 18px; }
.co-champ-bloc { display: flex; flex-direction: column; gap: 6px; }
.co-champ-bloc label { font-size: 15px; font-weight: 700; color: var(--co-encre); }

/* ── Boutons ──────────────────────────────────────────────────────────────── */
.co-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.co-valise .co-bouton {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: var(--co-r-pilule);
	font: 700 16px/1.2 'Lato', Helvetica, Arial, sans-serif;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .2s ease;
}
.co-valise .co-bouton:hover { transform: translateY(-1px); }
.co-valise .co-bouton:focus-visible { outline: 3px solid var(--co-corail); outline-offset: 3px; }
.co-valise .co-bouton--principal, .co-valise .co-bouton--principal:hover { background: var(--co-corail-fonce); color: var(--co-blanc); box-shadow: var(--co-ombre-bouton); }
.co-valise .co-bouton--grand { min-height: 54px; width: 100%; max-width: 380px; padding: 0 28px; font-size: 18px; }
.co-valise .co-bouton--clair, .co-valise .co-bouton--clair:hover { background: var(--co-blanc); color: var(--co-teal); min-height: 50px; }
.co-valise .co-bouton--clair-corail, .co-valise .co-bouton--clair-corail:hover { background: var(--co-blanc); color: var(--co-corail-texte); font-size: 15px; }
.co-valise .co-bouton--sombre, .co-valise .co-bouton--sombre:hover { background: var(--co-encre); color: var(--co-blanc); font-size: 15px; }
.co-valise .co-bouton--contour, .co-valise .co-bouton--contour:hover { border: 1.5px solid var(--co-corail-fonce); color: var(--co-corail-fonce); font-size: 15px; min-height: 46px; }
.co-valise .co-bouton--jaune, .co-valise .co-bouton--jaune:hover { flex: none; background: var(--co-jaune); color: var(--co-encre); font-size: 15px; }
.co-valise .co-lien-bouton {
	all: unset;
	box-sizing: border-box;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
	font: 700 15px 'Lato', Helvetica, Arial, sans-serif;
	color: var(--co-encre-2);
	text-decoration: underline;
	cursor: pointer;
}
.co-valise .co-lien-bouton:hover { color: var(--co-corail-fonce); }
.co-valise .co-lien-bouton:focus-visible { outline: 3px solid var(--co-corail); outline-offset: 2px; border-radius: 6px; }
.co-lien { font-size: 15px; font-weight: 700; }
.co-envoi { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 6px; }

/* ── Demande de compte ────────────────────────────────────────────────────── */
.co-compte {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 24px;
	border-radius: 24px;
	background: var(--co-teal);
	color: var(--co-blanc);
}
.co-compte__statut { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--co-teal-clair); }
.co-compte__statut svg { flex: none; color: var(--co-creme-chaude); }
.co-valise .co-compte__titre { margin: 0; font-family: 'Caveat', cursive; font-size: clamp(36px, 6vw, 46px); line-height: 1.05; font-weight: 700; color: var(--co-creme-chaude); }
.co-compte__texte { font-size: 17px; line-height: 1.5; }
.co-compte__atouts { font-size: 14.5px; font-weight: 700; color: var(--co-teal-clair); }
.co-compte .co-actions { margin-top: 8px; }
.co-valise .co-compte__lien, .co-valise .co-compte__lien:hover { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--co-blanc); }
.co-valise .co-compte :focus-visible { outline-color: var(--co-creme-chaude); }
.co-compte__code { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--co-teal-clair); }

.co-squelette { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; height: 230px; padding-bottom: 0; }
.co-squelette::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--co-blanc)); }
.co-squelette__ligne { display: flex; align-items: center; gap: 12px; }
.co-squelette__rond { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--co-squelette-2); }
.co-squelette__case { flex: none; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--co-bord-champ); }
.co-squelette__barre { height: 12px; border-radius: 6px; background: var(--co-squelette); }
.co-squelette__barre--titre { width: 52%; height: 16px; border-radius: 8px; background: var(--co-bord-2); }
.co-libre { display: flex; flex-direction: column; gap: 12px; }
.co-libre p { font-size: 16px; line-height: 1.5; }

/* ── Liste ────────────────────────────────────────────────────────────────── */
.co-calendrier { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--co-blanc); }
.co-calendrier__repere { font-size: 17px; font-weight: 700; line-height: 1.4; }
.co-calendrier__texte { font-size: 14.5px; line-height: 1.5; color: var(--co-encre-2); }
.co-progres { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.co-progres p { font-size: 15px; font-weight: 700; }
.co-progres__fond { height: 8px; border-radius: 4px; background: var(--co-blanc); overflow: hidden; }
.co-progres__barre { height: 8px; width: 0; border-radius: 4px; background: var(--co-teal); transition: width .3s ease; }
.co-hero .co-actions { gap: 10px; margin-top: 4px; }

.co-confid { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--co-teal-pale); color: var(--co-teal-texte); }
.co-confid > div { display: flex; flex-direction: column; gap: 6px; }
.co-confid p { font-size: 15.5px; line-height: 1.5; }

.co-section { display: flex; flex-direction: column; gap: 14px; }
.co-valise .co-section__titre { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--co-encre); }
.co-section__entete { display: flex; flex-direction: column; gap: 4px; }
.co-section__sous { font-size: 15px; color: var(--co-encre-2); }
.co-num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 25px/1 'Caveat', cursive; }
.co-num--salle { background: var(--co-orange); color: var(--co-encre); }
.co-num--maman { background: var(--co-teal); color: var(--co-blanc); }
.co-num--bebe { background: var(--co-jaune); color: var(--co-encre); }
.co-num--papiers-sortie { background: var(--co-corail-fonce); color: var(--co-blanc); }
.co-valise .co-manuscrit { font: 700 22px/1.2 'Caveat', cursive; color: var(--co-teal); }

.co-groupe { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; border-radius: 18px; }
.co-valise .co-groupe__titre { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--co-corail-texte); }
.co-lignes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); column-gap: 28px; }
.co-ligne {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	padding: 11px 4px;
	border-bottom: 1px solid var(--co-filet);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--co-encre);
	cursor: pointer;
}
.co-ligne span { transition: color .15s ease; }
.co-ligne.is-on span { color: var(--co-encre-3); text-decoration: line-through; }
.co-note { font-size: 14.5px; line-height: 1.5; color: var(--co-encre-2); }
.co-mention { padding: 12px 14px; border-radius: 12px; background: var(--co-teal-pale); font-size: 15px; line-height: 1.45; color: var(--co-teal-texte); }

.co-fournis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 12px; }
/* En bloc et non en flex, pour la même raison que les questions (légende sur la bordure dans Safari). */
.co-fourni { display: block; padding: 16px 18px; border-radius: 18px; }
.co-fourni__produit { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--co-encre); }
.co-fourni > .co-fourni__chiffres ~ * { margin-top: 10px; }
.co-fourni__chiffres { clear: both; font-size: 14.5px; line-height: 1.5; color: var(--co-encre-2); }
.co-fourni__chiffres strong { color: var(--co-encre); }
.co-fourni__avant { padding: 10px 12px; border-radius: 12px; background: var(--co-corail-pale); font-size: 15px; line-height: 1.45; font-weight: 700; color: var(--co-corail-texte); }
.co-fourni__choix { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.co-fourni__choix > span { flex: 1 1 100%; }

.co-laisser { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--co-sable); }
.co-valise .co-laisser h2 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 700; color: var(--co-encre); }
.co-valise .co-laisser ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.45; }

.co-fin { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.co-fin__erreur { text-align: center; }
.co-valise .co-bouton[disabled] { opacity: .7; cursor: progress; }
.co-valise .co-bouton svg { flex: none; }
.co-valise .co-fin .co-bouton { max-width: 100%; padding: 10px 24px; }
.co-valise .co-fin .co-bouton svg { flex: none; }
.co-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; padding-top: 4px; border-top: 1px solid var(--co-bord-2); }
.co-pied p { font-size: 14.5px; color: var(--co-encre-2); }

.co-prenoms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 24px;
	border-radius: 24px;
	background: var(--co-blanc);
	border: 1px solid var(--co-bord);
	box-shadow: var(--co-ombre-carte);
}
.co-prenoms > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.co-prenoms__titre { font-family: 'Caveat', cursive; font-size: 30px; line-height: 1.05; font-weight: 700; }
.co-prenoms__texte { font-size: 16px; line-height: 1.5; color: var(--co-encre-2); }

.co-sansjs { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: 24px; }
.co-sansjs p { font-size: 16px; line-height: 1.55; }
.co-valise .co-sansjs .co-titre { font-size: 38px; }

/* ── Enregistrement dans l'espace parent (modèle validé le 11 novembre 2026) ─ */
.co-enr__avant { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border-radius: 24px; background: var(--co-blanc); border: 1px solid var(--co-bord); box-shadow: var(--co-ombre-carte); }
.co-enr__apres { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border-radius: 24px; background: var(--co-teal); color: var(--co-blanc); }
.co-valise .co-enr__titre { margin: 0; font-family: 'Caveat', cursive; font-size: 30px; line-height: 1.05; font-weight: 700; color: var(--co-encre); }
.co-valise .co-enr__apres .co-enr__titre { color: var(--co-creme-chaude); }
.co-enr__avant > p, .co-enr__apres > p { font-size: 16px; line-height: 1.5; }
.co-enr__oui, .co-enr__non { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.co-enr__oui { background: var(--co-teal-pale); color: var(--co-teal-texte); }
.co-enr__non { background: var(--co-sable); }
.co-valise .co-enr__non ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.co-enr__case { font-size: 15.5px; line-height: 1.45; }
.co-valise .co-enr__case--option { border-style: dashed; }
.co-enr__newsletter { font-size: 15px; line-height: 1.5; color: var(--co-teal-clair); }
.co-enr__avant .co-bouton--grand { align-self: center; }
.co-enr__apres .co-compte__statut { font-size: 14px; }
.co-valise .co-enr__supprimer { all: unset; box-sizing: border-box; min-height: 44px; display: inline-flex; align-items: center; font: 700 15px 'Lato', Helvetica, Arial, sans-serif; color: var(--co-blanc); text-decoration: underline; cursor: pointer; }
.co-valise .co-enr__apres :focus-visible { outline-color: var(--co-creme-chaude); }
.co-enr__echec { font-size: 15px; font-weight: 700; color: var(--co-creme-chaude); }
/* Newsletter proposée après l'enregistrement, tant que le compte n'est pas inscrit. */
.co-enr__plus { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 14px; border-top: 1px solid var(--co-fiche-teal); }
.co-enr__plus[hidden] { display: none; }
.co-valise .co-enr__apres .co-case:focus-within { outline-color: var(--co-creme-chaude); }

/* ── Onglet « Valise » et carte d'accueil de l'espace parent ───────────────── */
.co-valise.co-espace { max-width: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.co-espace__tete { display: flex; flex-direction: column; gap: 6px; }
.co-valise .co-espace__titre { margin: 0; font-family: 'Caveat', cursive; font-size: clamp(38px, 5vw, 46px); line-height: 1; font-weight: 700; color: var(--co-encre); }
.co-espace__titre span { color: var(--cd-accent, var(--co-corail-fonce)); }
.co-espace__date { font-size: 14px; color: var(--co-encre-2); }
.co-espace__resume { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 28px; background: var(--co-blanc); box-shadow: var(--co-ombre-carte); }
.co-espace .co-progres__fond { background: var(--co-sable); }
.co-espace__vide { font-size: 15px; line-height: 1.6; color: var(--co-encre-2); }
.co-espace__vide strong { color: var(--co-encre); }
.co-valise .co-espace__supprimer { color: var(--cd-danger, var(--co-corail-texte)); }
.co-espace__confirmer { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--co-corail-pale); }
.co-espace__confirmer p { font-size: 16px; font-weight: 700; color: var(--co-corail-texte); }
.co-valise.co-espace--carte { gap: 8px; }
.co-espace__compte { font-size: 15px; color: var(--co-encre-2); }
.co-espace__compte span { font: 700 40px/1 'Caveat', cursive; color: var(--cd-accent, var(--co-corail-fonce)); }
.co-valise .co-espace__bouton { align-self: flex-start; min-height: 44px; margin-top: 6px; font-size: 14px; }

/* ── Reprise sur un autre appareil : seules les questions de santé sont reposées ─ */
.co-valise:not(.co-reprise) [data-co-reprise-seul] { display: none !important; }
.co-valise.co-reprise [data-co-reprise-masque],
.co-valise.co-reprise [data-co-question][data-co-sensible="0"],
.co-valise.co-reprise .co-case[data-co-sensible="0"] { display: none !important; }

/* ── Animations (modèle validé le 11 novembre 2026) ───────────────────────── */
@keyframes co-entree { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes co-ecran { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.co-erreur, .co-alerte, .co-statut { animation: co-entree .22s ease-out both; }
.co-ecran.is-anime { animation: co-ecran .3s cubic-bezier(.2, .8, .2, 1) both; }
.co-ecran.is-anime .co-apparait { animation: co-ecran .35s cubic-bezier(.2, .8, .2, 1) both; }
.co-ecran.is-anime .co-d1 { animation-delay: .05s; }
.co-ecran.is-anime .co-d2 { animation-delay: .12s; }
.co-ecran.is-anime .co-d3 { animation-delay: .19s; }
.co-ecran.is-anime .co-d4 { animation-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
	.co-erreur, .co-alerte, .co-statut, .co-ecran.is-anime, .co-ecran.is-anime .co-apparait { animation: none; }
	.co-valise[data-co-pret] .co-pli, .co-valise[data-co-pret] .co-pli.is-ouvert, .co-ligne span, .co-progres__barre, .co-pill, .co-case, .co-valise[data-co-pret] .co-perso__signe::before, .co-valise[data-co-pret] .co-perso__signe::after, .co-valise .co-bouton { transition: none; }
}

/* ── Fiche imprimée (gabarit A4 validé le 9 novembre 2026, sans décomptes par ligne) ─────────
   Invisible à l'écran. À l'impression, quand la liste est affichée, elle remplace toute la page. */
.co-fiche { display: none; }

@page { size: A4; margin: 40px 44px 44px; }

@media print {
	html { margin: 0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	body.co-fiche-active { margin: 0 !important; padding: 0 !important; background: var(--co-blanc, #FFFFFF) !important; }
	body.co-fiche-active > *:not(.co-fiche) { display: none !important; }
	body.co-fiche-active > .co-fiche { display: block; }

	.co-fiche { position: relative; font: 400 13.5px/1.3 'Lato', Helvetica, Arial, sans-serif; color: var(--co-encre); }
	.co-fiche *, .co-fiche *::before, .co-fiche *::after { box-sizing: border-box; }
	.co-fiche p { margin: 0; }
	.co-fiche [hidden] { display: none !important; }
	.co-fiche img { max-width: none; }

	/* En-tête */
	.co-fiche__decor { position: absolute; top: -40px; right: -44px; width: 260px; height: 190px; border-radius: 0 0 0 150px; background: var(--co-fiche-decor); z-index: -1; }
	.co-fiche__tete { display: flex; gap: 22px; align-items: center; margin-bottom: 12px; }
	.co-fiche__logo { width: 112px; height: auto; flex: none; }
	.co-fiche__surtitre { font: 700 27px/1 'Caveat', cursive; color: var(--co-corail); }
	.co-fiche .co-fiche__titre { margin-top: 2px; font-size: 33px; line-height: 1.08; font-weight: 700; }
	.co-fiche .co-fiche__bebe { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--co-fiche-texte); }
	.co-fiche .co-fiche__sous { margin-top: 6px; max-width: 470px; font-size: 13px; line-height: 1.45; color: var(--co-fiche-texte); }
	.co-fiche__reference { display: flex; gap: 14px; align-items: center; padding: 10px 16px; margin-bottom: 10px; border-radius: 16px; background: var(--co-sable); }
	.co-fiche__reference img { width: 30px; height: auto; flex: none; }
	.co-fiche__reference p { font-size: 13.5px; line-height: 1.4; font-weight: 700; }
	.co-fiche__champs { display: flex; gap: 22px; margin-bottom: 10px; font-size: 13px; color: var(--co-encre-2); }
	.co-fiche__champs p { display: flex; align-items: flex-end; gap: 8px; flex: 1; }
	.co-fiche__champs .co-fiche__terme { flex: 0 0 250px; }
	.co-fiche__trait { flex: 1; min-height: 16px; border-bottom: 1.5px dotted var(--co-fiche-trait); }
	.co-fiche__champs .co-fiche__trait { padding: 0 6px 1px; font: 700 21px/1 'Caveat', cursive; color: var(--co-encre); }
	.co-fiche__calendrier { display: flex; flex-direction: column; gap: 2px; padding: 9px 14px; margin-bottom: 16px; border: 1.5px dashed var(--co-bord-champ); border-radius: 14px; }
	.co-fiche__calendrier p { font-size: 12px; line-height: 1.4; color: var(--co-encre-2); }
	.co-fiche__calendrier .co-fiche__repere { font-size: 14px; font-weight: 700; color: var(--co-encre); }

	/* Deux colonnes écrites dans le gabarit ; un groupe ne se coupe pas d'une page à l'autre. */
	.co-fiche__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 26px; align-items: start; }
	.co-fiche__page { break-after: page; }
	.co-fiche__sec { margin: 0 0 18px; }
	.co-fiche__h2 { break-after: avoid; }
	.co-fiche__grp, .co-fiche__verif, .co-fiche__laisser, .co-fiche__contacts, .co-fiche__encadre { break-inside: avoid; }
	.co-fiche .co-fiche__h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 17px; line-height: 1.2; font-weight: 700; }
	.co-fiche__num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; }
	.co-fiche .co-fiche__h3 { margin: 7px 0 2px; font-size: 13.5px; font-weight: 700; color: var(--co-fiche-texte); }
	.co-fiche .co-fiche__encadre { margin-bottom: 4px; font: 700 20px/1.1 'Caveat', cursive; color: var(--co-corail-fonce); }
	.co-fiche .co-fiche__ligne { display: flex; align-items: baseline; gap: 9px; padding: 3px 0; /* 4 px sur le PDF public : ici, la liste la plus longue doit tenir sur deux pages. */ border-bottom: 1px dashed var(--co-bord-2); }
	.co-fiche__ligne > span:last-child { flex: 1; }
	.co-fiche__case { position: relative; flex: none; display: inline-block; width: 12px; height: 12px; border: 1.6px solid var(--co-encre); border-radius: 4px; transform: translateY(1px); }
	.co-fiche__case.is-on::after { content: ""; position: absolute; left: 2.5px; top: -1px; width: 4px; height: 8px; border: solid var(--co-encre); border-width: 0 2px 2px 0; transform: rotate(45deg); }
	.co-fiche .co-fiche__note { margin-top: 6px; font-size: 12px; font-style: italic; color: var(--co-encre-2); }
	.co-fiche .co-fiche__note--manuscrit { font: 700 19px/1.15 'Caveat', cursive; color: var(--co-fiche-note); }

	/* Couleur de chaque partie : pastille du numéro et bord des cases. */
	.co-fiche__sec--salle .co-fiche__num { background: var(--co-orange); color: var(--co-blanc); }
	.co-fiche__sec--salle .co-fiche__case { border-color: var(--co-fiche-orange-bord); }
	.co-fiche__sec--maman .co-fiche__num { background: var(--co-fiche-teal); color: var(--co-blanc); }
	.co-fiche__sec--maman .co-fiche__case { border-color: var(--co-teal); }
	.co-fiche__sec--bebe .co-fiche__num { background: var(--co-jaune); color: var(--co-encre); }
	.co-fiche__sec--bebe .co-fiche__case { border-color: var(--co-fiche-jaune-bord); }
	.co-fiche__sec--papiers-sortie .co-fiche__num { background: var(--co-corail); color: var(--co-blanc); }
	.co-fiche__sec--papiers-sortie .co-fiche__case { border-color: var(--co-corail-fonce); }

	/* Fourni par ma maternité ? */
	.co-fiche .co-fiche__verif { position: relative; margin-top: 26px; padding: 16px 16px 10px; border-radius: 18px; background: var(--co-sable); }
	.co-fiche__verif .co-fiche__h2 { margin-bottom: 2px; }
	.co-fiche__ballon { position: absolute; top: -18px; right: 14px; width: 34px; height: auto; }
	.co-fiche .co-fiche__verif-sous { margin-bottom: 8px; font: 700 18px/1.2 'Caveat', cursive; color: var(--co-corail-fonce); }
	.co-fiche table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 12.5px; }
	.co-fiche th { padding: 0 4px 5px 0; border: 0; background: none; text-align: left; font-size: 12px; font-weight: 700; color: var(--co-encre-2); }
	.co-fiche td { padding: 6px 4px 6px 0; border: 0; border-top: 1px solid var(--co-fiche-filet); background: none; vertical-align: top; }
	.co-fiche td small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--co-corail-fonce); }
	.co-fiche__nb { white-space: nowrap; }
	.co-fiche td .co-fiche__case { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; transform: none; }
	.co-fiche td .co-fiche__case--non { margin-left: 8px; }

	.co-fiche__laisser { padding: 12px 16px; border: 1.5px dashed var(--co-bord-champ); border-radius: 16px; }
	.co-fiche__laisser p { padding: 1px 0; }
	.co-fiche .co-fiche__laisser-titre { margin-bottom: 4px; font: 700 22px/1.2 'Caveat', cursive; color: var(--co-fiche-texte); }
	.co-fiche__contacts { display: flex; flex-direction: column; gap: 13px; padding: 14px 16px 16px; border-radius: 16px; background: var(--co-creme); }
	.co-fiche .co-fiche__contacts-titre { font-size: 15px; font-weight: 700; }
	.co-fiche .co-fiche__contact { display: flex; gap: 8px; align-items: flex-end; font-size: 12.5px; color: var(--co-encre-2); }
	.co-fiche__contact span:first-child { white-space: nowrap; }
	.co-fiche .co-fiche__pied { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--co-bord); font-size: 12px; color: var(--co-encre-2); }
	.co-fiche__pied strong { color: var(--co-encre); }
}
