/* Form language shared with Saint-Bo s’active: exact brand palette, icon tiles,
   52px controls, warm introduction, multicolour landmarks, orange CTA. */
.coeur-page { color: #58595B; }
.coeur-page [hidden] { display: none !important; }
.coeur-intro { background: linear-gradient(135deg, #fffaf7 0%, #fff 50%, #fef8ee 100%); border: 2px solid #fed7aa; border-radius: 1.5rem; padding: 2rem; margin: 0 auto 2.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; box-shadow: 0 8px 20px -4px rgba(241,90,41,.06); }
.coeur-intro > p { max-width: 42rem; }
.coeur-intro-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 1rem; color: var(--color-brand-orange); background: #ffedd5; }
.coeur-intro-points { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; margin-top: .5rem; padding-top: 1rem; border-top: 1px solid #fed7aa; font-size: .8125rem; font-weight: 700; }
.coeur-intro-points span { display: flex; align-items: center; gap: .5rem; }
.coeur-intro-points span::before { content: ''; width: 9px; height: 9px; background: var(--color-brand-orange); border-radius: 50%; }
.coeur-intro-points span:nth-child(2)::before { background: var(--color-brand-yellow); }
.coeur-intro-points span:nth-child(3)::before { background: var(--color-brand-green); }
.coeur-help { font-size: .9375rem; line-height: 1.65; color: #6b7280; }
.coeur-examples { margin-bottom: 2.5rem; }
.coeur-examples > .coeur-help { margin: .65rem 0 1.5rem; }
.coeur-example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem 2rem; }
.coeur-example { display: flex; align-items: flex-start; gap: .85rem; }
.coeur-example > svg { flex: 0 0 24px; margin-top: .15rem; color: var(--color-brand-orange); }
.coeur-example:nth-child(3n+2) > svg { color: var(--color-brand-blue); }
.coeur-example:nth-child(3n) > svg { color: var(--color-brand-green); }
.coeur-example h3 { font-weight: 800; font-size: .9375rem; margin-bottom: .25rem; color: #58595B; }
.coeur-example p { font-size: .875rem; line-height: 1.65; color: #6b7280; }
.coeur-example-reference { margin-top: 1.5rem; font-size: .8125rem; line-height: 1.65; padding-top: 1rem; border-top: 1px solid #f3f4f6; }
.coeur-example-reference a { text-decoration: underline; text-underline-offset: .2em; }
.coeur-steps { margin: 0 0 2.5rem; }
.coeur-step-bar { height: 10px; display: flex; overflow: hidden; border-radius: 999px; margin-bottom: 1rem; }
.coeur-step-bar span { flex: 1; background: var(--color-brand-orange); }
.coeur-step-bar span:nth-child(2) { background: var(--color-brand-yellow); }
.coeur-step-bar span:nth-child(3) { background: var(--color-brand-green); }
.coeur-step-bar span:nth-child(4) { background: var(--color-brand-blue); }
.coeur-steps ol { display: flex; justify-content: space-between; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.coeur-steps a { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; }
.coeur-steps a > span, .coeur-legend > span { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; color: white; background: var(--color-brand-orange); font-size: .875rem; font-weight: 800; }
.coeur-steps li:nth-child(2) a > span, #coeur-partie-2 > .coeur-legend > span { background: var(--color-brand-yellow); color: #58595B; }
.coeur-steps li:nth-child(3) a > span, #coeur-partie-3 > .coeur-legend > span { background: var(--color-brand-green); color: #2b2b2b; }
.coeur-section { min-width: 0; border: 0; padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid #f3f4f6; scroll-margin-top: 7rem; }
.coeur-legend { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: #58595B; }
.coeur-legend > span { font-family: var(--font-sans); }
.coeur-field { min-width: 0; margin-bottom: 1.5rem; padding: 0; border: 0; }
.coeur-page .form-label { display: flex; align-items: center; gap: .6rem; color: #58595B; font-weight: 800; font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.5; }
.coeur-label-icon { flex: 0 0 20px; color: var(--color-brand-orange); }
.coeur-required { color: var(--color-brand-orange); }
.coeur-field .coeur-help { margin-bottom: .65rem; }
.coeur-page :is(.form-input,.form-select,.form-textarea) { border: 2px solid #e5e7eb; border-radius: .75rem; padding: .875rem 1.25rem; min-height: 52px; background: white; color: #58595B; font-weight: 500; transition: border-color .2s,box-shadow .2s; }
.coeur-page :is(.form-input,.form-select,.form-textarea):focus { border-color: var(--color-brand-orange); box-shadow: 0 0 0 4px rgba(241,90,41,.1); }
.coeur-page .form-textarea { min-height: 180px; resize: vertical; }
.coeur-page :is(input,select,textarea,button,a):focus-visible { outline: 3px solid var(--color-brand-orange); outline-offset: 4px; }
.coeur-types { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; margin-top: 1rem; }
.coeur-domains { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin-top: 1rem; }
.coeur-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; min-width: 0; gap: .7rem; padding: 1rem .75rem; border: 2px solid #e5e7eb; border-radius: 1rem; background: white; cursor: pointer; text-align: center; transition: border-color .2s,box-shadow .2s,transform .2s,background .2s; }
.coeur-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.coeur-tile-check { position: absolute; right: .4rem; top: .4rem; display: grid; place-items: center; height: 20px; width: 20px; color: white; background: var(--color-brand-orange); font-size: .75rem; border-radius: 50%; opacity: 0; }
.coeur-tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: .75rem; background: #f9fafb; color: #6b7280; transition: color .2s,background .2s; }
.coeur-tile-label { font-size: .8125rem; font-weight: 700; line-height: 1.4; }
.coeur-tile:hover { border-color: var(--color-brand-orange); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.coeur-tile:hover .coeur-tile-icon { color: var(--color-brand-orange); background: #fff7ed; }
.coeur-tile:has(input:checked) { border-color: var(--color-brand-orange); background: #fff7ed; box-shadow: 0 4px 14px rgba(241,90,41,.18); transform: translateY(-2px); }
.coeur-tile:has(input:checked) .coeur-tile-icon { background: #ffedd5; color: var(--color-brand-orange); }
.coeur-tile:has(input:checked) .coeur-tile-check { opacity: 1; }
.coeur-tile:has(input:focus-visible) { outline: 3px solid var(--color-brand-orange); outline-offset: 4px; }
.coeur-choice { display: flex; align-items: flex-start; gap: .75rem; padding: 1.25rem; border: 2px solid #e5e7eb; border-radius: 1rem; cursor: pointer; line-height: 1.65; font-size: .9375rem; }
.coeur-choice:has(input:checked) { border-color: var(--color-brand-orange); background: #fff7ed; }
.coeur-choice input[type=checkbox] { appearance: auto; width: 1.15rem; height: 1.15rem; flex: 0 0 1.15rem; margin-top: .25rem; accent-color: var(--color-brand-orange); }
.coeur-consent { background: #f9fafb; }
.coeur-notice { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border: 1px solid #bbf7d0; border-radius: 1rem; background: #f0fdf4; color: #166534; font-size: .875rem; line-height: 1.7; }
.coeur-notice strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.coeur-notice-icon { flex: 0 0 24px; margin-top: .15rem; }
.coeur-page .coeur-field-error { color: #991b1b; font-size: .875rem; font-weight: 600; margin-top: .5rem; }
.coeur-page [aria-invalid=true],.coeur-tile:has([aria-invalid=true]) { border-color: #991b1b; }
.coeur-error-summary { padding: 1rem 1.25rem; border: 2px solid #b91c1c; border-radius: .75rem; background: #fef2f2; color: #991b1b; line-height: 1.6; }
.coeur-text-link { color: var(--color-brand-orange); text-decoration: underline; text-underline-offset: .2em; font-weight: 700; align-self: center; }
.coeur-page .btn-sb { background-color: var(--color-brand-orange); color: white; }
.coeur-page .btn-sb:hover { background-color: var(--color-brand-orange-hover); }
.coeur-page .btn-sb:disabled { opacity: .65; cursor: wait; }
.coeur-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media(max-width:767px) { .coeur-types { grid-template-columns: repeat(3,minmax(0,1fr)); } .coeur-domains { grid-template-columns: repeat(2,minmax(0,1fr)); } .coeur-steps a { font-size: .75rem; gap: .35rem; } .coeur-steps a > span { flex: 0 0 24px; width: 24px; height: 24px; } .coeur-intro { padding: 1.5rem 1.25rem; } }
@media(max-width:540px) { .coeur-types { grid-template-columns: repeat(2,minmax(0,1fr)); } .coeur-example-grid { grid-template-columns: 1fr; } .coeur-page [data-coeur-submit] { width: 100%; } .coeur-steps a { flex-direction: column; text-align: center; } .coeur-legend { font-size: 1.25rem; } .coeur-notice { padding: 1rem; gap: .75rem; } }
@media(prefers-reduced-motion:reduce) { .coeur-page *,.coeur-page *::before,.coeur-page *::after { transition:none!important; animation:none!important; } .coeur-tile:has(input:checked) { transform:none; } }
/* Shared uploader and consent markup also powers Saint-Bo s’active. */
.coeur-page .sb-photo-dropzone { position:relative; }
.coeur-page .sb-photo-dropzone:has(input:focus-visible),.coeur-page .sb-photo-dropzone.is-dragging { border-color:var(--color-brand-orange); outline:3px solid var(--color-brand-orange); outline-offset:4px; }
.coeur-page .sb-form-consent { display:flex; align-items:flex-start; gap:.875rem; margin-top:1rem; }
.coeur-page .sb-form-consent input[type=checkbox] { appearance:auto; width:20px; height:20px; flex:0 0 20px; margin-top:.25rem; accent-color:var(--color-brand-orange); }
