/* ===== KUSTOM3D – CONTACT ===== */
.k3c { --red: #C62828; --ink: #1C1C1E; --cream: #F6F4F1; --muted: #6B6863; font-family: "Barlow", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.45; }
.k3c *, .k3c *::before, .k3c *::after { box-sizing: border-box; }
.k3c a { text-decoration: none !important; }
.k3c p { margin: 0; }
.k3c [hidden] { display: none !important; }
.k3c-wrap { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.k3c-h2 { margin: 0 0 18px !important; font-family: "Barlow Condensed", sans-serif !important; font-weight: 800 !important; font-size: 28px !important; line-height: 1 !important; text-transform: uppercase !important; letter-spacing: 0 !important; color: inherit !important; }
.k3c-h2.sm { font-size: 24px !important; margin-bottom: 10px !important; }
.k3c-h2.big { font-size: 40px !important; margin: 18px 0 0 !important; }
.k3c-h2.center { text-align: center; font-size: 44px !important; margin-bottom: 22px !important; }

/* En-tête */
.k3c-hero { position: relative; background-color: var(--ink); color: #FFFFFF; background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.k3c-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C260,100 520,0 760,40 C1000,80 1220,90 1440,30 L1440,90 L0,90 Z' fill='%23F6F4F1'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.k3c-hero-in { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 130px; }
.k3c-ariane { display: block; font-size: 14px; color: #A3A09B; }
.k3c-ariane a { color: #A3A09B !important; }
.k3c-ariane b { color: #FFFFFF; font-weight: 500; }
.k3c .k3c-h1 { margin: 14px 0 0 !important; font-family: "Barlow Condensed", sans-serif !important; font-weight: 800 !important; font-size: 76px !important; line-height: .93 !important; text-transform: uppercase !important; letter-spacing: 0 !important; color: #FFFFFF !important; }
.k3c-h1 span { color: #E04848; }
.k3c-lead { margin-top: 16px !important; max-width: 640px; font-size: 18px; line-height: 1.6; color: #C9C6C1; }
.k3c-quick { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.k3c-quick > * { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: #FFFFFF !important; font-weight: 600; font-size: 15px; }
.k3c-quick i { width: 34px; height: 34px; border-radius: 50%; background: var(--red) no-repeat center / 16px; flex: none; }
.i-tel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2'/%3E%3C/svg%3E") !important; }
.i-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") !important; }
.i-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 00-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") !important; }

/* Mise en page */
.k3c-main { position: relative; z-index: 2; margin-top: -70px; padding-bottom: 60px; display: flex; gap: 26px; align-items: flex-start; }
.k3c-main.no-hero { margin-top: 30px; }
.k3c-form-col { flex: 1 1 760px; min-width: 0; }
.k3c-aside { flex: 0 0 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }

/* Carte formulaire */
.k3c-form, .k3c-done { background: #FFFFFF; border-radius: 28px; padding: 34px; box-shadow: 0 24px 50px rgba(28,28,30,.08); }
.k3c-form { display: flex; flex-direction: column; gap: 30px; margin: 0 !important; }
.k3c-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k3c-progress { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.k3c-progress li { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin: 0 !important; padding: 0 14px 0 6px; border-radius: 999px; background: #F1EDE8; color: #4A4743; font-size: 13px; font-weight: 700; list-style: none !important; }
.k3c-progress b { width: 24px; height: 24px; border-radius: 50%; background: #9A948C; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.k3c-progress li.ok { background: #E7F6EC; color: #1E5B32; }
.k3c-progress li.ok b { background: #1E7B3A; }
.k3c-step { margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0; }
.k3c-step-h { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.k3c-step-h i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 17px; }
.k3c-step-h em { font-family: "Barlow", sans-serif; font-style: normal; text-transform: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.k3c-step-p { margin: 8px 0 16px 46px !important; font-size: 15px; line-height: 1.5; color: #5E5B57; }

/* Types de projet */
.k3c-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.k3c-type { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; margin: 0 !important; padding: 14px 10px; border: 2px solid #ECE7E0; border-radius: 18px; background: #FFFFFF; cursor: pointer; text-align: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.k3c-type:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.k3c-type input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.k3c-ico { width: 40px; height: 40px; border-radius: 12px; background: #F1EDE8; color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 15px; }
.k3c-tl { font-weight: 700; font-size: 14.5px; line-height: 1.2; color: var(--ink); }
.k3c-type:has(input:checked) { border-color: var(--red); background: #FBE9E7; }
.k3c-type:has(input:checked) .k3c-ico { background: var(--red); color: #FFFFFF; }
.k3c-type:has(input:focus-visible) { outline: 3px solid rgba(198,40,40,.35); outline-offset: 2px; }
.k3c-help { margin-top: 14px; border-radius: 18px; background: #FFF6E8; border: 1px solid #F3D7A8; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.k3c-help > span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #F5A623; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.k3c-help p { font-size: 14.5px; line-height: 1.55; color: #6b4e1f; }
.k3c-help strong { color: #8a5a12; }
.k3c-grp { margin-top: 16px; }
.k3c-boxlink { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 18px; background: var(--ink); color: #FFFFFF !important; padding: 18px 22px; }
.k3c-boxlink strong { display: block; font-size: 16px; }
.k3c-boxlink small { font-size: 14px; color: #C9C6C1; }
.k3c-boxlink b { flex: none; background: var(--red); padding: 11px 18px; border-radius: 999px; font-size: 14px; }

/* Champs */
.k3c-grid { display: grid; gap: 14px; margin-top: 14px; }
.k3c-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k3c-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k3c-grid.c1 { grid-template-columns: 1fr; }
.k3c-grp.k3c-grid { margin-top: 16px; }
.k3c-lbl { display: flex !important; flex-direction: column; gap: 6px; margin: 0 !important; font-size: 14px !important; font-weight: 600 !important; color: var(--ink) !important; }
.k3c-lbl small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.k3c-lbl small.k3c-count { text-align: right; }
.k3c .k3c-fld { width: 100% !important; max-width: none; height: 50px; margin: 0 !important; padding: 0 16px; border: 1px solid #DCD7D0 !important; border-radius: 14px !important; background: #FAF8F6 !important; box-shadow: none !important; font: 400 16px "Barlow", sans-serif !important; color: var(--ink) !important; }
.k3c select.k3c-fld { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #FAF8F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1C1E' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px !important; }
.k3c textarea.k3c-fld { height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.5 !important; }
.k3c .k3c-fld:focus { outline: none; border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(198,40,40,.15) !important; background-color: #FFFFFF !important; }
.k3c .k3c-fld.bad { border-color: #E0A030 !important; }

/* Fichiers */
.k3c-drop { position: relative; display: flex !important; align-items: center; gap: 16px; margin: 0 !important; border: 2px dashed #CFC9C1; border-radius: 20px; padding: 20px; cursor: pointer; background: #FAF8F6; }
.k3c-drop:hover, .k3c-drop.over { border-color: var(--red); background: #FFF8F7; }
.k3c-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.k3c-drop-ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #FBE9E7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C62828' stroke-width='2'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5'/%3E%3Cpath d='M4 16v3a1 1 0 001 1h14a1 1 0 001-1v-3'/%3E%3C/svg%3E") no-repeat center / 24px; }
.k3c-drop strong { display: block; font-size: 16px; }
.k3c-drop small { font-size: 13.5px; color: var(--muted); }
.k3c-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 !important; padding: 0 !important; list-style: none !important; }
.k3c-files li { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin: 0 !important; padding: 0 14px; border-radius: 999px; background: #F1EDE8; font-size: 13.5px; font-weight: 600; list-style: none !important; }
.k3c-files li::before { content: "✓"; color: #1E7B3A; font-weight: 800; }
.k3c-files li.bad { background: #FDECEC; color: #8E1B1B; }
.k3c-files li.bad::before { content: "!"; color: #C62828; }

/* Préférence */
.k3c-pref { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.k3c-pref label { position: relative; margin: 0 !important; cursor: pointer; }
.k3c-pref input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k3c-pref span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #DCD7D0; background: #FFFFFF; font-weight: 700; font-size: 14px; }
.k3c-pref input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.k3c-pref input:focus-visible + span { outline: 3px solid rgba(198,40,40,.35); }

/* Envoi */
.k3c-send { border-top: 1px solid #EEEAE4; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.k3c-consent { display: flex !important; gap: 10px; align-items: flex-start; margin: 0 !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5; color: #4A4743 !important; cursor: pointer; }
.k3c-consent input { flex: none; margin: 2px 0 0 !important; width: 18px; height: 18px; accent-color: var(--red); }
.k3c-consent a { color: var(--red) !important; font-weight: 600; }
.k3c-send-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--muted); }
.k3c .k3c-submit { display: inline-flex !important; align-items: center; gap: 10px; height: 58px; min-height: 0; margin: 0 !important; padding: 0 32px !important; border: 0 !important; border-radius: 999px !important; background: var(--red) !important; color: #FFFFFF !important; font: 700 17px "Barlow", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important; }
.k3c .k3c-submit::after { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain; }
.k3c .k3c-submit:hover { background: #A61F1F !important; }
.k3c .k3c-submit.off { background: #CFC9C1 !important; cursor: not-allowed; }
.k3c .k3c-submit.busy { opacity: .75; cursor: progress; }
.k3c-hint { font-size: 13px; color: #B45309; text-align: right; }
.k3c-hint:empty { display: none; }
.k3c-err { padding: 12px 14px; border-radius: 14px; background: #FDECEC; color: #8E1B1B; font-size: 14px; font-weight: 600; }

/* Confirmation */
.k3c-check { display: flex; width: 64px; height: 64px; border-radius: 50%; background: #E7F6EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7B3A' stroke-width='2.6'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / 30px; }
.k3c-done p { margin-top: 12px !important; max-width: 560px; font-size: 16px; line-height: 1.6; color: #5E5B57; }
.k3c-btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.k3c-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #FFFFFF !important; font-weight: 700; font-size: 15px; }
.k3c-btn.ghost { background: #FFFFFF; border: 1px solid #DCD7D0; color: var(--ink) !important; }

/* Colonne d'infos */
.k3c-how { background-color: var(--ink); color: #FFFFFF; border-radius: 28px; padding: 28px; background-image: radial-gradient(rgba(255,255,255,.12) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.k3c-how ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.k3c-how li { display: flex; gap: 14px; margin: 0 !important; padding: 0 0 18px; list-style: none !important; }
.k3c-how li:last-child { padding-bottom: 0; }
.k3c-how i { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #3A3A3E; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-style: normal; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 17px; }
.k3c-how li:first-child i { background: var(--red); }
.k3c-how span { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.5; color: #C9C6C1; }
.k3c-how strong { font-size: 16px; color: #FFFFFF; }
.k3c-card { background: #FFFFFF; border-radius: 28px; padding: 26px; }
.k3c-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #EEEAE4; font-size: 15px; color: var(--ink) !important; }
.k3c-row:last-child { border-bottom: 0; }
.k3c-row span { color: var(--muted); flex: none; }
.k3c-row strong { text-align: right; word-break: break-word; }
.k3c-pro { background: #FBE9E7; border-radius: 22px; padding: 20px 22px; font-size: 14.5px; line-height: 1.55; color: #6B1F1F; }
.k3c-pro strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.k3c-pro a { color: var(--red) !important; font-weight: 700; }

/* FAQ */
.k3c-faq { max-width: 920px; padding-top: 30px; padding-bottom: 100px; }
.k3c-faq details { background: #FFFFFF; border-radius: 18px; padding: 0 22px; margin: 0 0 10px; }
.k3c-faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 17px; }
.k3c-faq summary::-webkit-details-marker { display: none; }
.k3c-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F1EDE8; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; transition: transform .2s ease; }
.k3c-faq details[open] summary::after { transform: rotate(45deg); }
.k3c-faq details p { padding: 0 0 18px; font-size: 15px; line-height: 1.6; color: #5E5B57; }

/* Tablette et mobile */
@media (max-width: 980px) {
  .k3c-main { flex-direction: column; }
  .k3c-form-col, .k3c-aside { width: 100%; flex: auto; position: static; }
}
@media (max-width: 760px) {
  .k3c-wrap { padding-left: 16px; padding-right: 16px; }
  .k3c .k3c-h1 { font-size: 46px !important; }
  .k3c-form, .k3c-done { padding: 22px 18px; }
  .k3c-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k3c-grid.c2, .k3c-grid.c3 { grid-template-columns: 1fr; }
  .k3c-step-p { margin-left: 0 !important; }
  .k3c .k3c-submit { width: 100%; justify-content: center; }
  .k3c-boxlink { flex-direction: column; align-items: flex-start; }
  .k3c-h2.center { font-size: 34px !important; }
}
.k3c-help strong { margin-right: 4px; }
.k3c-step-h { flex-wrap: wrap; }
@media (max-width: 760px) { .k3c-step-h em { flex-basis: 100%; padding-left: 46px; margin-top: -6px; } }
