/* Contact : première version dans les couleurs de Mon Coach Perso. */
.contact-page { background: #fff9f2; color: #0b2f49; }
.contact-page .site-shell { width: 100%; max-width: none; }

.contact-hero { padding: 30px max(5.55%, calc((100% - 1240px) / 2)) 55px; }
.contact-hero-panel {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  height: 387px;
  overflow: hidden;
  border-radius: 23px;
  background: radial-gradient(ellipse at 29% 28%, #17516b 0%, #0d3d59 51%, #062d49 100%);
  box-shadow: 0 17px 40px rgba(7, 45, 65, .12);
}
.contact-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 36px clamp(30px, 4.5vw, 61px); color: white; }
.contact-hero-copy h1 { max-width: 570px; margin: 0 0 17px; font: 700 clamp(35px, 3.25vw, 44px)/1.13 Georgia, 'Times New Roman', serif; letter-spacing: -1.3px; }
.contact-hero-copy h1 em { color: #f3cd8e; font-style: normal; }
.contact-hero-copy p { max-width: 505px; margin: 0; color: #e7eef2; font-size: 16.5px; line-height: 1.65; }
.contact-hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 274px; margin-top: 23px; padding: 12px 22px; border: 1px solid #eac17e; border-radius: 999px; background: linear-gradient(100deg, #f5c776, #ffe1a3); color: #0b304a; font-size: 14.5px; font-weight: 800; text-decoration: none; box-shadow: 0 6px 13px rgba(0,0,0,.09); transition: transform .18s ease, background .18s ease; }
.contact-hero-link span { font-size: 25px; line-height: .75; }
.contact-hero-link:hover { background: #ffe4b3; transform: translateY(-2px); }
.contact-hero-link:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.contact-hero-photo { min-width: 0; position: relative; overflow: hidden; }
.contact-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 49%; }
.contact-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d3d59 0%, rgba(13, 61, 89, .34) 19%, transparent 52%); pointer-events: none; }

.contact-main { padding: 50px max(5.55%, calc((100% - 1240px) / 2)) 79px; background: #f7ede1; scroll-margin-top: 102px; }
.contact-main-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: start; gap: clamp(44px, 6vw, 98px); max-width: 1240px; margin: 0 auto; }
.contact-explain { padding: 37px 0 0; }
.contact-eyebrow, .contact-form-eyebrow { margin: 0 0 14px; color: #b77e36; font-size: 11.5px; font-weight: 850; letter-spacing: 2px; }
.contact-explain h2 { max-width: 490px; margin: 0 0 20px; font: 700 clamp(34px, 3.15vw, 43px)/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -1px; }
.contact-explain h2 em { color: #b77b35; font-style: normal; }
.contact-explain-lead { max-width: 475px; margin: 0; color: #53636e; font-size: 16px; line-height: 1.74; }
.contact-steps { margin: 42px 0 32px; }
.contact-step { position: relative; display: flex; align-items: flex-start; gap: 20px; padding-bottom: 27px; }
.contact-step:not(:last-child)::after { content: ''; position: absolute; top: 41px; bottom: 4px; left: 19px; width: 1px; background: #dbc2a1; }
.contact-step > span { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border-radius: 50%; border: 1px solid #e8c696; background: #fff8ef; color: #b77e36; font: 700 16px/1 Georgia, serif; }
.contact-step h3 { margin: 1px 0 6px; font-size: 17px; line-height: 1.35; color: #0c324c; }
.contact-step p { max-width: 350px; margin: 0; color: #52636c; font-size: 14px; line-height: 1.62; }
.contact-soft-note { display: flex; align-items: center; gap: 15px; max-width: 472px; padding: 18px 19px; border-left: 3px solid #c18b48; background: rgba(255, 250, 243, .65); border-radius: 0 12px 12px 0; }
.contact-soft-note svg { flex: none; width: 46px; height: 30px; color: #b48642; }
.contact-soft-note p { margin: 0; color: #415c6b; font: 700 15px/1.45 Georgia, serif; }

.contact-form-card { position: relative; padding: 37px clamp(24px, 3.1vw, 43px) 33px; border: 1px solid #e9d3b7; border-radius: 23px; background: #fffdfa; box-shadow: 0 17px 40px rgba(54, 49, 43, .085); overflow: hidden; }
.contact-form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #174963 0%, #d5a35e 65%, #f0cd91 100%); }
.contact-form-card h2 { margin: 0 0 12px; font: 700 clamp(34px, 2.8vw, 41px)/1.2 Georgia, serif; letter-spacing: -1px; color: #0c314c; }
.contact-form-card h2 em { color: #b77b35; font-style: normal; }
.contact-form-intro { max-width: 510px; margin: 0 0 27px; color: #5b6871; font-size: 15px; line-height: 1.65; }
.contact-form-card form { display: flex; flex-direction: column; gap: 18px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.contact-form-card label { display: flex; flex-direction: column; gap: 8px; color: #1d3e54; font-size: 13.5px; font-weight: 800; }
.contact-form-card label .contact-label-text { color: #1d3e54; }
.contact-form-card label .contact-label-text b { color: #b77b35; }
.contact-form-card label small { color: #7a8488; font-size: 12px; font-weight: 500; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea { display: block; width: 100%; min-width: 0; margin: 0; padding: 14px 15px; border: 1px solid #e7d7c2; border-radius: 11px; outline: none; background: #fffaf4; color: #17384f; font: 400 14px/1.5 Arial, Helvetica, sans-serif; transition: border-color .18s ease, box-shadow .18s ease; }
.contact-form-card select { min-height: 52px; appearance: auto; cursor: pointer; }
.contact-form-card textarea { min-height: 120px; resize: vertical; }
.contact-form-card input::placeholder, .contact-form-card textarea::placeholder { color: #879098; }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { border-color: #c28d48; box-shadow: 0 0 0 3px rgba(212, 163, 95, .15); }
.contact-submit { display: flex; align-items: center; justify-content: space-between; gap: 13px; width: 100%; min-height: 59px; margin-top: 7px; padding: 15px 23px; border: 1px solid #dca65f; border-radius: 999px; background: linear-gradient(110deg, #f5c777, #ffe1a3); color: #092e48; font: 800 15px/1.3 Arial, sans-serif; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.contact-submit svg { width: 24px; height: 24px; flex: none; }
.contact-submit span { font-size: 24px; line-height: .7; }
.contact-submit:hover { transform: translateY(-2px); background: #ffe5ad; }
.contact-submit:focus-visible { outline: 3px solid #0d4465; outline-offset: 3px; }
.contact-free-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: #4f6471; font-size: 12px; text-align: center; }
.contact-free-note span { color: #b77b35; font-size: 16px; }
.contact-prototype-note { margin: 0; padding-top: 13px; border-top: 1px solid #efe2d0; color: #737a7d; font-size: 11.5px; line-height: 1.5; }
.contact-form-state { margin: 0; padding: 13px 15px; border: 1px solid #e5bd81; border-radius: 10px; background: #fff4df; color: #5e471f; font-size: 13px; line-height: 1.5; }

.contact-reassurance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 39px max(5.55%, calc((100% - 1240px) / 2)); background: radial-gradient(ellipse at 50% -30%, #18506b 0%, #0d3b57 54%, #082f4b 100%); text-align: center; }
.contact-reassurance > div { min-width: 0; padding: 3px 26px; }
.contact-reassurance > div + div { border-left: 1px solid rgba(240, 197, 130, .3); }
.contact-reassurance-icon { display: block; height: 38px; margin-bottom: 8px; color: #f4ca84; font: 400 36px/1 Georgia, serif; }
.contact-reassurance strong { display: block; color: #fffaf3; font-size: 16px; line-height: 1.35; }
.contact-reassurance p { margin: 7px 0 0; color: #d8e6ed; font-size: 13px; line-height: 1.5; }

@media (max-width: 1000px) {
  .contact-main-grid { gap: 36px; grid-template-columns: .9fr 1.1fr; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-hero-panel { grid-template-columns: 1.08fr .92fr; }
}
@media (max-width: 740px) {
  .contact-hero { padding: 16px 16px 37px; }
  .contact-hero-panel { display: flex; flex-direction: column-reverse; height: auto; border-radius: 18px; }
  .contact-hero-photo { height: 215px; flex: 0 0 215px; }
  .contact-hero-photo img { object-position: 55% 44%; }
  .contact-hero-photo::after { background: linear-gradient(0deg, #0d3d59, transparent 52%); }
  .contact-hero-copy { padding: 30px 25px 34px; }
  .contact-hero-copy h1 { font-size: clamp(32px, 8vw, 39px); }
  .contact-hero-copy p { font-size: 15px; }
  .contact-hero-link { width: 100%; max-width: 350px; margin-top: 20px; }
  .contact-main { padding: 29px 17px 50px; scroll-margin-top: 95px; }
  .contact-main-grid { display: flex; flex-direction: column; gap: 32px; }
  .contact-explain { padding: 7px 6px 0; }
  .contact-explain h2 { font-size: 34px; }
  .contact-explain-lead { font-size: 15px; }
  .contact-steps { margin: 28px 0 25px; }
  .contact-form-card { width: 100%; border-radius: 18px; padding: 29px 20px 25px; }
  .contact-fields { grid-template-columns: 1fr; gap: 18px; }
  .contact-submit { padding-inline: 17px; font-size: 14px; }
  .contact-reassurance { padding: 17px 22px; grid-template-columns: 1fr; }
  .contact-reassurance > div { padding: 19px 6px; }
  .contact-reassurance > div + div { border-left: 0; border-top: 1px solid rgba(240, 197, 130, .3); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hero-link, .contact-submit, .contact-form-card input, .contact-form-card textarea, .contact-form-card select { transition: none; }
}
