/* ════════════════════════════════════════════════════════════════════
   contact2026.css — Page Contact · CLAIR & ERGONOMIQUE (DA accueil)
   Prefix .co — encre + teal + gradient vert→cyan, Schibsted Grotesk + Manrope
   ════════════════════════════════════════════════════════════════════ */

.co {
  --co-bg: #F6F8FB; --co-soft-bg: #F1F5F9;
  --co-ink: #0E1B2A; --co-ink-2: #2a3a4d; --co-soft: #5b6b7d; --co-muted: #93a1b2;
  --co-line: #E4EAF0; --co-line-2: #EDF1F6;
  --co-accent: #0E7490; --co-accent-d: #0b5a70; --co-accent-soft: #e6f1f4;
  --co-maxw: 1200px; --co-ease: cubic-bezier(.4, 0, .2, 1);
  --co-sh: 0 14px 34px -22px rgba(14, 27, 42, .25);
  --co-sh-hover: 0 26px 50px -28px rgba(14, 27, 42, .32);
  position: relative; background: var(--co-bg); color: var(--co-ink);
  font-family: 'Manrope', system-ui, sans-serif; overflow-x: clip;
}
.co *, .co *::before, .co *::after { box-sizing: border-box; }
.co h1, .co h2, .co h3, .co h4 { margin: 0; font-family: 'Schibsted Grotesk', sans-serif; letter-spacing: -.02em; color: var(--co-ink); }
:where(.co p) { margin: 0; }
.co a { color: inherit; text-decoration: none; }
.co .ms, .co .material-symbols-rounded { line-height: 1; vertical-align: middle; }
.co-container { width: 100%; max-width: var(--co-maxw); margin: 0 auto; padding: 0 32px; }
.co-grad { background: linear-gradient(100deg, #10b981, #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Boutons ── */
.co-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 11px; cursor: pointer; border: 1px solid transparent; font-family: inherit; transition: transform .2s var(--co-ease), box-shadow .2s, background .2s, border-color .2s, color .2s, filter .2s; }
.co-btn .ms, .co-btn .material-symbols-rounded { font-size: 19px; }
.co-btn-primary { background: var(--co-accent); color: #fff; box-shadow: 0 12px 26px -14px rgba(14, 116, 144, .6); }
.co-btn-primary:hover { background: var(--co-accent-d); transform: translateY(-1px); }
.co-btn-ghost { background: #fff; color: var(--co-ink); border-color: var(--co-line); }
.co-btn-ghost:hover { border-color: var(--co-accent); color: var(--co-accent); }

/* ── Section / head ── */
.co-section { position: relative; padding: clamp(56px, 8vh, 100px) 0; }
.co-section--soft { background: var(--co-soft-bg); border-top: 1px solid var(--co-line-2); border-bottom: 1px solid var(--co-line-2); }
.co-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.co-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 'Manrope'; letter-spacing: .14em; text-transform: uppercase; color: var(--co-accent); }
.co-eyebrow .ms, .co-eyebrow .material-symbols-rounded { font-size: 16px; }
.co-h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin-top: 13px; font-weight: 700; }
.co-sub { font-size: 16px; line-height: 1.6; color: var(--co-soft); margin-top: 13px; }

/* ── En-tête compact ── */
.co-pagehead { position: relative; overflow: hidden; text-align: center; background: linear-gradient(180deg, #eef3f8 0%, var(--co-bg) 92%); padding: 112px 0 36px; }
.co-crumb { font-size: .84rem; color: var(--co-muted); margin-bottom: 18px; }
.co-crumb a:hover { color: var(--co-accent); }
.co-crumb .sep { margin: 0 8px; opacity: .5; }
.co-pagehead .co-eyebrow { justify-content: center; }
.co-pagehead h1 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); line-height: 1.12; margin: 13px auto 0; max-width: 760px; font-weight: 800; }
.co-pagehead__sub { margin: 14px auto 0; max-width: 560px; font-size: 1.02rem; line-height: 1.6; color: var(--co-soft); }

/* ── Grille info + formulaire ── */
.co-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }

/* colonne info */
.co-info > p { font-size: 1rem; line-height: 1.7; color: var(--co-soft); margin-top: 14px; }
.co-info__h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; font-weight: 700; margin-top: 12px; }
/* « Ce qui se passe ensuite » — mini-process vertical */
.co-steps { list-style: none; padding: 0; margin: 26px 0 0; position: relative; display: flex; flex-direction: column; }
.co-steps::before { content: ""; position: absolute; left: 18px; top: 19px; bottom: 19px; width: 2px; background: var(--co-line); z-index: 0; }
.co-step { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding-bottom: 20px; }
.co-step:last-child { padding-bottom: 0; }
.co-step__n { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Schibsted Grotesk'; font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, #10b981, #0891b2); box-shadow: 0 6px 14px -6px rgba(8, 145, 178, .6); }
.co-step__bd { padding-top: 6px; }
.co-step__bd strong { display: block; font-size: .98rem; font-weight: 700; }
.co-step__bd span { font-size: .89rem; line-height: 1.5; color: var(--co-soft); }
.co-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.co-card { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--co-line); box-shadow: var(--co-sh); transition: transform .2s var(--co-ease), border-color .2s; }
a.co-card:hover { transform: translateY(-2px); border-color: var(--co-accent); }
.co-card__ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--co-accent-soft); }
.co-card__ic .ms, .co-card__ic .material-symbols-rounded { color: var(--co-accent); font-size: 20px; }
.co-card__lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--co-muted); font-weight: 700; }
.co-card__val { display: block; font-size: .92rem; font-weight: 700; color: var(--co-ink); margin-top: 1px; }

/* ── Formulaire ── */
.co-form { background: #fff; border: 1px solid var(--co-line); border-radius: 20px; box-shadow: var(--co-sh-hover); padding: clamp(22px, 3vw, 32px); position: relative; }
.co-form__head h2 { font-size: 1.4rem; font-weight: 800; }
.co-form__head p { font-size: .9rem; color: var(--co-soft); margin-top: 5px; }
.co-form form { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { display: flex; flex-direction: column; gap: 7px; }
.co-label { font-size: .85rem; font-weight: 600; color: var(--co-ink-2); }
.co-label .req { color: var(--co-accent); }
.co-input, .co-select, .co-textarea { width: 100%; font-family: inherit; font-size: .95rem; color: var(--co-ink); background: #fff; border: 1px solid var(--co-line); border-radius: 11px; padding: 12px 14px; transition: border-color .18s, box-shadow .18s; }
.co-input::placeholder, .co-textarea::placeholder { color: var(--co-muted); }
.co-input:focus, .co-select:focus, .co-textarea:focus { outline: none; border-color: var(--co-accent); box-shadow: 0 0 0 3px rgba(14, 116, 144, .14); }
.co-textarea { resize: vertical; min-height: 112px; }
.co-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2393a1b2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.co-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 15px; padding: 15px; border-radius: 12px; border: 0; cursor: pointer; color: #fff; font-family: inherit; background: linear-gradient(100deg, #10b981, #0891b2); box-shadow: 0 14px 28px -14px rgba(8, 145, 178, .6); transition: filter .2s, transform .2s, opacity .2s; margin-top: 4px; }
.co-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.co-submit:disabled { cursor: default; transform: none; opacity: .9; filter: saturate(.9); }
.co-submit .ms, .co-submit .material-symbols-rounded { font-size: 19px; }
.co-submit-default { display: inline-flex; align-items: center; gap: 9px; }
.co-submit-loading { display: none; align-items: center; gap: 9px; }
.co-submit.is-loading .co-submit-default { display: none; }
.co-submit.is-loading .co-submit-loading { display: inline-flex; }
.co-spinner { width: 17px; height: 17px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: co-spin .7s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-form__foot { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--co-muted); margin-top: 2px; }
.co-form__foot .ms, .co-form__foot .material-symbols-rounded { font-size: 16px; color: var(--co-accent); }

/* ── Animations du formulaire ── */
/* focus : le champ se soulève légèrement + label en teal */
.co-input, .co-select, .co-textarea { transition: border-color .18s, box-shadow .18s, transform .18s var(--co-ease); }
.co-input:focus, .co-select:focus, .co-textarea:focus { transform: translateY(-2px); }
.co-field:focus-within .co-label { color: var(--co-accent); }
/* entrée en cascade des champs au chargement */
@keyframes co-fieldin { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
.co-form form > * { animation: co-fieldin .55s var(--co-ease) both; }
.co-form form > *:nth-child(3) { animation-delay: .05s; }
.co-form form > *:nth-child(4) { animation-delay: .12s; }
.co-form form > *:nth-child(5) { animation-delay: .19s; }
.co-form form > *:nth-child(6) { animation-delay: .26s; }
.co-form form > *:nth-child(7) { animation-delay: .33s; }
/* balayage lumineux du bouton au survol */
.co-submit { position: relative; overflow: hidden; isolation: isolate; }
.co-submit-default, .co-submit-loading { position: relative; z-index: 1; }
.co-submit::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent); transform: skewX(-18deg); pointer-events: none; }
.co-submit:hover::after { animation: co-shine .85s var(--co-ease); }
@keyframes co-shine { from { left: -70%; } to { left: 145%; } }

/* focus : bordure dégradée animée (faisceau) sur input + textarea */
@property --co-ang { syntax: "<angle>"; inherits: false; initial-value: 100deg; }
.co-input:focus, .co-textarea:focus {
  border-color: transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(var(--co-ang), #10b981, #0891b2);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, .10);
  animation: co-beam 3.5s linear infinite;
}
@keyframes co-beam { to { --co-ang: 460deg; } }
/* select : halo teal (conserve le chevron) */
.co-select:focus { border-color: var(--co-accent); box-shadow: 0 0 0 4px rgba(14, 116, 144, .12), 0 10px 22px -12px rgba(14, 116, 144, .4); }

/* bouton : morph en coche verte au succès */
.co-submit-done { display: none; align-items: center; justify-content: center; gap: 9px; }
.co-submit.is-done { background: linear-gradient(100deg, #10b981, #0a8f5b); box-shadow: 0 14px 28px -14px rgba(16, 185, 129, .7); }
.co-submit.is-done::after { display: none; }
.co-submit.is-done .co-submit-default, .co-submit.is-done .co-submit-loading { display: none; }
.co-submit.is-done .co-submit-done { display: inline-flex; }
.co-submit.is-done .co-check { animation: co-checkpop .45s var(--co-ease) both; }
@keyframes co-checkpop { 0% { transform: scale(0) rotate(-25deg); opacity: 0; } 55% { transform: scale(1.25) rotate(0); opacity: 1; } 100% { transform: scale(1); } }

/* ── Zone d'intervention ── */
.co-zone { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.co-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--co-line); box-shadow: var(--co-sh); min-height: 320px; }
.co-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }
.co-zonecard { background: #fff; border: 1px solid var(--co-line); border-radius: 18px; box-shadow: var(--co-sh); padding: 26px; display: flex; flex-direction: column; }
.co-zonecard h3 { font-size: 1.3rem; font-weight: 700; }
.co-zonecard__region { font-size: .82rem; font-weight: 700; color: var(--co-accent); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.co-zonecard p { margin-top: 12px; font-size: .94rem; line-height: 1.6; color: var(--co-soft); }
.co-zonelist { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 11px; }
.co-zonelist li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--co-ink-2); }
.co-zonelist .ms, .co-zonelist .material-symbols-rounded { color: var(--co-accent); font-size: 19px; flex: none; }

/* ── FAQ ── */
.co-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.co-faq__item { background: #fff; border: 1px solid var(--co-line); border-radius: 14px; box-shadow: var(--co-sh); overflow: hidden; }
.co-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 700; font-size: 1rem; color: var(--co-ink); }
.co-faq__item summary::-webkit-details-marker { display: none; }
.co-faq__item summary .ms, .co-faq__item summary .material-symbols-rounded { color: var(--co-accent); transition: transform .25s var(--co-ease); flex: none; }
.co-faq__item[open] summary .ms, .co-faq__item[open] summary .material-symbols-rounded { transform: rotate(180deg); }
.co-faq__a { padding: 0 20px 18px; }
.co-faq__a p { font-size: .94rem; line-height: 1.65; color: var(--co-soft); }

/* ── CTA + recrutement ── */
.co-cta { position: relative; overflow: hidden; border-radius: 20px; padding: 52px 44px; text-align: center; background: var(--co-ink); }
.co-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(680px 300px at 50% -20%, rgba(14, 116, 144, .4), transparent 70%); }
.co-cta h2 { position: relative; font-size: clamp(24px, 3.4vw, 38px); color: #fff; }
.co-cta p { position: relative; margin: 13px auto 0; max-width: 560px; color: #b6c4d2; line-height: 1.6; }
.co-cta__row { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.co-cta .co-btn-primary { background: #fff; color: var(--co-ink); box-shadow: none; }
.co-cta .co-btn-primary:hover { background: #eaf2f4; }
.co-cta .co-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.co-cta .co-btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.co-recruit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; background: #fff; border: 1px solid var(--co-line); border-radius: 16px; box-shadow: var(--co-sh); padding: 22px 26px; }
.co-recruit h3 { font-size: 1.1rem; font-weight: 700; }
.co-recruit p { font-size: .92rem; color: var(--co-soft); margin-top: 4px; max-width: 60ch; }

/* ── Modal (confirmation / erreur) ── */
.co-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 27, 42, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s var(--co-ease), visibility .25s; }
.co-modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.co-modal__card { width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 38px 32px 30px; text-align: center; box-shadow: 0 50px 100px -30px rgba(14, 27, 42, .55); transform: translateY(16px) scale(.97); transition: transform .32s var(--co-ease); }
.co-modal[aria-hidden="false"] .co-modal__card { transform: none; }
.co-modal__check { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #e7f7ef; display: flex; align-items: center; justify-content: center; color: #0a8f5b; }
.co-modal__check .ms, .co-modal__check .material-symbols-rounded { font-size: 44px; font-variation-settings: 'wght' 600; }
.co-modal[aria-hidden="false"] .co-modal__check { animation: co-pop .45s var(--co-ease) both; }
.co-modal--error .co-modal__check { background: #fdecec; color: #dc2626; }
.co-modal__card h3 { font-size: 1.45rem; font-weight: 800; }
.co-modal__card p { margin-top: 10px; color: var(--co-soft); line-height: 1.6; font-size: .98rem; }
.co-modal__btn { margin-top: 24px; width: 100%; }
@keyframes co-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* ── reveal ── */
.co-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--co-ease), transform .6s var(--co-ease); }
.co-reveal.is-visible { opacity: 1; transform: none; }
.co-reveal.d1 { transition-delay: .06s; } .co-reveal.d2 { transition-delay: .12s; }

/* ── responsive ── */
@media (max-width: 940px) {
  .co-grid { grid-template-columns: 1fr; gap: 30px; }
  .co-zone { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .co-container { padding: 0 18px; }
  .co-row { grid-template-columns: 1fr; }
  .co-cards { grid-template-columns: 1fr; }
  .co-cta { padding: 40px 22px; }
  .co-recruit { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .co-reveal { opacity: 1 !important; transform: none !important; }
  .co-spinner { animation-duration: 1.2s; }
  .co-modal[aria-hidden="false"] .co-modal__check { animation: none; }
  .co-form form > * { animation: none; }
  .co-input:focus, .co-select:focus, .co-textarea:focus { transform: none; }
  .co-input:focus, .co-textarea:focus { animation: none; }
  .co-submit:hover::after { animation: none; }
  .co-submit.is-done .co-check { animation: none; }
}
