/* Contact page - structure based on the approved mockup */
.contact-page { background: #fff; }
.contact-page .main-nav a.active::after { background: var(--yellow); }

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 56px;
  background:
    radial-gradient(circle at 5% 34%, rgba(31,174,236,.09), transparent 21%),
    radial-gradient(circle at 91% 18%, rgba(245,41,141,.09), transparent 23%),
    radial-gradient(circle at 84% 90%, rgba(255,198,47,.10), transparent 23%),
    #fff;
}

.contact-hero > .shell {
  width: min(calc(100% - 40px), clamp(1240px, 86vw, 1760px));
}
.contact-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(40px, 3.4vw, 72px);
  align-items: center;
}
.contact-hero-copy h1 {
  margin: 18px 0 20px;
  color: var(--navy);
  font-size: clamp(54px, 5.7vw, 78px);
  line-height: .96;
  letter-spacing: -.055em;
}
.contact-hero-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--pink);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-style: italic;
  font-weight: 850;
  letter-spacing: -.065em;
}
.contact-hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 0;
  bottom: -8px;
  height: 7px;
  border-radius: 60% 40% 70% 30%;
  background: var(--yellow);
  transform: rotate(-2deg);
}
.contact-hero-copy > p {
  max-width: 600px;
  margin: 0 0 23px;
  color: #47546d;
  font-size: 17px;
  line-height: 1.68;
}
.contact-points { display: grid; gap: 12px; }
.contact-points > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
}
.point-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 9px 18px rgba(30,48,90,.10);
}
.point-icon.pink { background: #f53088; }
.point-icon.orange { background: #ff981c; }
.point-icon.teal { background: #20bdb6; }
.contact-points p { margin: 0; display: grid; gap: 2px; }
.contact-points strong { color: var(--navy); font-size: 14px; }
.contact-points small { color: #68758d; font-size: 12px; line-height: 1.42; }

.contact-visual {
  position: relative;
  min-height: clamp(405px, 30vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 46% 54% 43% 57% / 42% 37% 63% 58%;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.75), transparent 22%),
    linear-gradient(135deg, #f7d7e8, #f9d8d1 48%, #e7daf3 100%);
  box-shadow: 0 25px 65px rgba(35,45,90,.10);
  isolation: isolate;
}

.contact-visual > img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: clamp(470px, 31vw, 650px);
  object-fit: contain;
}
.visual-blob { position: absolute; border-radius: 50%; opacity: .7; z-index: -1; }
.vb1 { width: 160px; height: 160px; right: -36px; top: -45px; background: #e3d6f1; }
.vb2 { width: 140px; height: 140px; right: 10px; bottom: -25px; background: #d8eef5; }
.visual-mug {
  position: absolute;
  left: 18%;
  top: 40%;
  width: 118px;
  height: 122px;
  border-radius: 13px 13px 22px 22px;
  background: #f8f4ee;
  box-shadow: 0 15px 26px rgba(65,46,45,.14), inset 0 -10px 0 rgba(0,0,0,.035);
}
.visual-mug::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 27px;
  width: 55px;
  height: 63px;
  border: 14px solid #f8f4ee;
  border-right: 0;
  border-radius: 35px 0 0 35px;
}
.visual-mug span { position: absolute; inset: 0; display: grid; place-items: center; color: #ff5a8e; font-size: 33px; }
.visual-notebook {
  position: absolute;
  right: 9%;
  bottom: 12%;
  width: 45%;
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 12px 12px 24px 12px;
  background: repeating-linear-gradient(#fffdf8 0 29px, #e9eef5 30px 31px);
  box-shadow: 0 17px 26px rgba(70,52,58,.15);
  transform: rotate(4deg);
  color: #8a91a2;
  font-size: 12px;
  text-align: center;
}
.visual-notebook::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -9px;
  width: 85%;
  height: 15px;
  background: repeating-linear-gradient(90deg, #8a8f98 0 3px, transparent 3px 15px);
  opacity: .6;
}
.visual-note {
  position: absolute;
  right: 7%;
  top: 12%;
  min-width: 170px;
  padding: 24px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 25px rgba(50,35,75,.12);
  transform: rotate(5deg);
  color: var(--navy);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}
.visual-note::before { content: ""; position: absolute; width: 11px; height: 38px; right: 24px; top: -16px; border: 3px solid #ff548c; border-radius: 10px; transform: rotate(8deg); }
.visual-plant { position: absolute; left: 44%; top: 35%; width: 85px; height: 112px; }
.visual-plant b { position: absolute; left: 17px; right: 17px; bottom: 0; height: 55px; border-radius: 7px 7px 18px 18px; background: #e8a6b0; box-shadow: 0 10px 18px rgba(79,42,50,.14); }
.visual-plant i { position: absolute; width: 25px; height: 62px; bottom: 43px; left: 30px; border-radius: 90% 10% 90% 10%; background: #5aa561; transform-origin: bottom center; }
.visual-plant i:nth-child(1) { transform: rotate(-42deg); }
.visual-plant i:nth-child(2) { transform: rotate(-18deg); height: 70px; }
.visual-plant i:nth-child(3) { transform: rotate(20deg); height: 68px; }
.visual-plant i:nth-child(4) { transform: rotate(43deg); height: 55px; }
.contact-doodle { position: absolute; z-index: 3; font-weight: 900; }
.cd1 { top: 56px; left: 2.7%; color: #1faeec; font-size: 30px; }
.cd2 { top: 78px; right: 4%; color: #ff4a9a; font-size: 30px; transform: rotate(10deg); }
.cd3 { bottom: 42px; left: 3.5%; color: #ff981c; font-size: 40px; }
.cd4 { bottom: 52px; right: 3%; color: #7136d7; font-size: 28px; }

.contact-main-section {
  padding: 12px 0 32px;
  background:
    radial-gradient(circle at 6% 22%, rgba(31,174,236,.05), transparent 18%),
    radial-gradient(circle at 94% 62%, rgba(245,41,141,.05), transparent 20%),
    #fff;
}
.contact-panel {
  display: grid;
  grid-template-columns: .37fr .63fr;
  overflow: hidden;
  border: 1px solid #e3e8f1;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20,42,85,.08);
}
.contact-info-column { padding: 34px 32px; border-right: 1px solid #edf0f5; }
.contact-form-column { padding: 34px 40px 28px; }
.panel-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 27px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.1;
}
.panel-heading h2::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 45px; height: 3px; border-radius: 10px; background: var(--pink); }
.info-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; margin: 0 0 23px; }
.info-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 18px; font-weight: 900; }
.info-icon.pink { color: #f5298d; border: 2px solid #f5298d; }
.info-icon.orange { color: #ff981c; border: 2px solid #ff981c; }
.info-icon.teal { color: #18aaa7; border: 2px solid #18aaa7; }
.info-item strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 13px; }
.info-item p { margin: 0; color: #55627a; font-size: 12px; line-height: 1.55; }
.info-visual {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
  padding: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9ef, #eef8fb);
}
.info-tree { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #ffcc3b 0 8%, #ff8d33 9% 18%, #ef488d 19% 30%, #6e4cd6 31% 43%, #20b7b2 44% 55%, #f4fbff 56%); color: transparent; }
.info-visual p { margin: 0; color: var(--navy); font-size: 12px; line-height: 1.45; }
.info-visual > span { position: absolute; left: 16px; bottom: 8px; color: #9ba3b3; font-size: 9px; }

.form-alert { display: grid; gap: 3px; margin: 0 0 18px; padding: 13px 15px; border-radius: 13px; font-size: 12px; }
.form-alert strong { font-size: 14px; }
.form-alert.success { color: #126254; background: #e8fbf4; border: 1px solid #bdebdc; }
.form-alert.error { color: #8a244d; background: #fff0f6; border: 1px solid #f6c8dc; }
.contact-form { display: grid; gap: 15px; }
.form-row { display: grid; gap: 6px; }
.form-row.two-columns { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.contact-form label > span { color: #35415b; font-size: 11px; font-weight: 750; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input,
.contact-form select { min-height: 42px; padding: 0 13px; }
.contact-form textarea { min-height: 128px; padding: 12px 13px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: #9c64e5; box-shadow: 0 0 0 4px rgba(125,53,223,.08); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #a0a8b8; }
.privacy-note { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 9px; background: #eef8ff; color: #526179; font-size: 10px; }
.privacy-note span { color: #159ee0; font-size: 15px; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; color: #667289; font-size: 10px; line-height: 1.5; }
.consent-row input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--pink); }
.form-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 2px; }
.form-submit-row .btn { min-width: 250px; justify-content: center; }
.form-submit-row small { color: #939bac; font-size: 9px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contact-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.shortcut-card {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid #e3e8f2;
  border-radius: 24px;
  color: inherit;
  background: #fff;
  box-shadow: 0 13px 32px rgba(18,38,78,.05);
}
.shortcut-card:hover { transform: translateY(-2px); }
.shortcut-card h2 { margin: 0 0 12px; color: var(--navy); font-size: 23px; }
.shortcut-card p { margin: 0 0 18px; color: #56627a; font-size: 12px; line-height: 1.55; }
.shortcut-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid #7d35df; border-radius: 999px; color: #6e2acb; font-size: 11px; font-weight: 900; }
.orange-outline { color: #db7200; border-color: #ff981c; }
.resource-shortcut { background: radial-gradient(circle at 84% 65%, rgba(23,199,197,.13), transparent 30%), #fff; }
.article-shortcut { background: radial-gradient(circle at 86% 44%, rgba(255,198,47,.22), transparent 34%), linear-gradient(120deg,#fff,#fff8e9); }
.shortcut-visual { min-height: 112px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; color: #8f99aa; background: linear-gradient(135deg,#eefbfb,#fff3dd 52%, #fdeef8); font-size: 10px; }
.shortcut-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shortcut-visual-book { padding: 0; }
.shortcut-visual-book img { max-width: 100%; max-height: 100%; }
.shortcut-bulb { display: grid; place-items: center; color: #f2a300; font-size: 70px; }

.contact-link-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 0;
  align-items: stretch;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #e6eaf1;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(25,42,78,.05);
}
.contact-link-strip > a { display: grid; grid-template-columns: 37px 1fr; gap: 9px; align-items: center; min-height: 74px; padding: 13px 16px; color: inherit; border-right: 1px solid #edf0f5; }
.contact-link-strip > a:last-child { border-right: 0; }
.strip-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.strip-icon.pink { color: #f5298d; }
.strip-icon.orange { color: #ff981c; }
.strip-icon.teal { color: #12aaa5; }
.strip-icon.purple { color: #7b42d8; }
.contact-link-strip strong { display: block; color: var(--navy); font-size: 11px; }
.contact-link-strip small { display: block; margin-top: 2px; color: #7c8596; font-size: 9px; line-height: 1.35; }
.contact-link-strip .strip-highlight { position: relative; grid-template-columns: 36px 1fr auto; margin: 7px; min-height: 60px; border: 0; border-radius: 16px; background: linear-gradient(110deg,#ffe167,#ffc948); }
.strip-highlight b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); }

@media (max-width: 1050px) {
  .contact-hero-grid { gap: 38px; }
  .contact-panel { grid-template-columns: .42fr .58fr; }
  .contact-link-strip { grid-template-columns: repeat(3,1fr); }
  .contact-link-strip .strip-highlight { grid-column: span 3; }
}

@media (max-width: 760px) {
  .contact-hero { padding: 40px 0 38px; }
  .contact-hero-grid { grid-template-columns: 1fr; }
  .contact-hero-copy h1 { font-size: clamp(46px, 14vw, 64px); }
  .contact-hero-copy > p { font-size: 15px; }
  .contact-visual { min-height: 320px; }
  .contact-doodle { display: none; }
  .contact-panel { grid-template-columns: 1fr; border-radius: 23px; }
  .contact-info-column { border-right: 0; border-bottom: 1px solid #edf0f5; padding: 26px 22px; }
  .contact-form-column { padding: 28px 22px; }
  .form-row.two-columns { grid-template-columns: 1fr; }
  .contact-shortcuts { grid-template-columns: 1fr; gap: 16px; }
  .contact-link-strip { grid-template-columns: 1fr 1fr; }
  .contact-link-strip .strip-highlight { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .contact-hero-copy h1 { font-size: 44px; }
  .contact-points > div { grid-template-columns: 42px 1fr; }
  .point-icon { width: 39px; height: 39px; }
  .contact-visual { min-height: 285px; border-radius: 32px; }
  .visual-mug { transform: scale(.8); transform-origin: left bottom; left: 15%; top: 42%; }
  .visual-plant { transform: scale(.8); transform-origin: center bottom; left: 46%; }
  .visual-note { min-width: 130px; padding: 17px 12px; font-size: 14px; }
  .visual-notebook { width: 51%; min-height: 105px; right: 7%; bottom: 8%; }
  .shortcut-card { grid-template-columns: 1fr; padding: 24px 22px; }
  .shortcut-visual, .shortcut-bulb { display: none; }
  .contact-link-strip { grid-template-columns: 1fr; }
  .contact-link-strip .strip-highlight { grid-column: auto; }
  .form-submit-row .btn { min-width: 0; width: 100%; }
}

@media (max-width: 1050px) {
  .contact-hero > .shell { width: min(calc(100% - 40px), var(--shell)); }
}

/* v4.66 - Titre hero fluide */
.contact-hero-copy h1{
  font-size:clamp(42px,4.5vw,78px);
}
.contact-hero-copy h1 em{
  white-space:nowrap;
}
@media(max-width:760px){
  .contact-hero-copy h1{font-size:clamp(38px,10vw,56px);}
}
