/* ==========================================================================
   Fresh Coco — page Contact
   ========================================================================== */

.contact-page { background: #f7fafe; }

/* ---------- En-tête : titre + formulaire en verre ---------- */
.c-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  padding: 140px clamp(20px, 6vw, 110px) 100px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: clamp(30px, 6vw, 100px);
  color: #fff;
  background: radial-gradient(70% 70% at 30% 35%, #6fb0ec 0%, #2a66b8 45%, #0a2f6b 100%);
}
.c-hero__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.c-hero__decor img { position: absolute; filter: drop-shadow(0 30px 40px rgba(5, 25, 60, .4)); animation: float-y 8s var(--ease-soft) infinite; }
.c-hero__can { height: min(46vh, 420px); left: 36%; bottom: -8%; rotate: 18deg; opacity: .9; }
.c-hero__coco-t { width: min(15vw, 210px); left: 30%; top: 13%; rotate: -20deg; opacity: .85; animation-delay: -2s; }
.c-hero__coco-b { width: min(13vw, 180px); left: 24%; bottom: -3%; rotate: 14deg; opacity: .8; animation-delay: -5s; }
.c-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; }
.c-hero__wave path { fill: #f7fafe; }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }

.c-hero__intro > * { animation: c-rise 1.1s var(--ease) both; }
.c-hero__intro > :nth-child(2) { animation-delay: .1s; }
.c-hero__intro > :nth-child(3) { animation-delay: .2s; }
.c-hero__intro > :nth-child(4) { animation-delay: .3s; }
@keyframes c-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.c-kicker { margin: 0 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #cfe6ff; }
.c-title { margin: 0 0 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 8vw, 128px); line-height: .9; letter-spacing: -.045em; text-shadow: 0 14px 50px rgba(5, 25, 60, .4); }
.c-title em { font-style: italic; color: #d7ecff; }
.c-lead { margin: 0 0 34px; max-width: 440px; font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.c-quick { display: flex; flex-wrap: wrap; gap: 12px; }
.c-quick a {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, transform .4s var(--ease);
}
.c-quick a:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.c-quick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* formulaire */
.c-form {
  position: relative; padding: clamp(26px, 3vw, 40px); border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 40px 80px -40px rgba(5, 25, 60, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  animation: c-rise 1.2s var(--ease) .25s both;
}
.c-form h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.c-form > p { margin: 0 0 22px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.c-field { display: grid; gap: 7px; margin-bottom: 14px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-field label, .c-topics legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.c-field input, .c-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 16px; font: 500 15.5px var(--sans); color: #fff;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.c-field textarea { min-height: 130px; resize: vertical; }
.c-field input::placeholder, .c-field textarea::placeholder { color: rgba(255, 255, 255, .55); }
.c-field input:focus, .c-field textarea:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.c-topics { border: 0; padding: 0; margin: 0 0 14px; }
.c-topics legend { margin-bottom: 9px; }
.c-topics div { display: flex; flex-wrap: wrap; gap: 8px; }
.c-topics label { position: relative; cursor: pointer; }
.c-topics input { position: absolute; opacity: 0; pointer-events: none; }
.c-topics span {
  display: block; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06);
  transition: background .3s, color .3s, border-color .3s;
}
.c-topics label:hover span { border-color: #fff; }
.c-topics input:checked + span { background: #fff; color: #0b3f8f; border-color: #fff; }
.c-topics input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.c-submit {
  width: 100%; margin-top: 6px; display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  padding: 17px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: #0b3f8f; font: 700 16px var(--sans);
  box-shadow: 0 20px 40px -18px rgba(5, 25, 60, .6);
  transition: transform .5s var(--ease);
}
.c-submit svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.c-submit:hover { transform: translateY(-2px); }
.c-submit:hover svg { transform: translate(3px, -3px); }
.c-form__done {
  position: absolute; inset: 0; border-radius: inherit; display: grid; place-content: center; justify-items: center; gap: 12px;
  padding: 30px; text-align: center; background: rgba(10, 47, 107, .55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none; transition: opacity .6s var(--ease);
}
.c-form.is-sent .c-form__done { opacity: 1; pointer-events: auto; }
.c-form__done strong { font-family: var(--serif); font-weight: 500; font-size: 34px; }
.c-form__done p { margin: 0; max-width: 300px; color: rgba(255, 255, 255, .85); }
.c-form__done button { margin-top: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); background: none; color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.c-form__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b3f8f; }
.c-form__check svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.c-form.is-sent .c-form__check svg { animation: c-draw .6s var(--ease) .2s forwards; }
@keyframes c-draw { to { stroke-dashoffset: 0; } }

/* ---------- Cartes : par où nous joindre ---------- */
.c-ways { padding: clamp(80px, 9vw, 130px) clamp(16px, 4vw, 60px); }
.c-ways__head { max-width: 1240px; margin: 0 auto 46px; }
.c-h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; color: #0a2f6b; }
.c-h2 em { font-style: italic; color: #2f6fc6; }
.c-label { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #2f6fc6; }
.c-ways__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-way {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 320px;
  padding: 32px 30px; border-radius: 30px; text-decoration: none;
  background: linear-gradient(160deg, #ffffff, #eef5fd); color: #0a2f6b; border: 1px solid #fff;
  box-shadow: 0 30px 60px -40px rgba(20, 60, 120, .45);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.c-way:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(20, 60, 120, .55); }
.c-way--blue { background: linear-gradient(160deg, #3f86d6, #0d3c86); color: #fff; border: 0; }
.c-way__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, #2f6fc6, #0b3f8f); box-shadow: 0 14px 30px -14px rgba(11, 63, 143, .7); }
.c-way--blue .c-way__icon { background: rgba(255, 255, 255, .18); box-shadow: none; }
.c-way__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-way h3 { margin: 28px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.c-way p { margin: 0; line-height: 1.6; opacity: .85; }
.c-way__go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.c-way__go svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.c-way:hover .c-way__go svg { transform: translateX(5px); }
.c-way__can { position: absolute; right: -30px; bottom: -40px; height: 70%; rotate: 16deg; opacity: .95; filter: drop-shadow(0 20px 24px rgba(5, 25, 60, .35)); transition: transform .8s var(--ease); }
.c-way:hover .c-way__can { transform: translate(-8px, -10px) rotate(-6deg); }

/* ---------- Questions fréquentes ---------- */
.c-faq { padding: 0 clamp(16px, 4vw, 60px) clamp(100px, 11vw, 160px); }
.c-faq__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.c-faq__intro p { margin: 18px 0 0; color: var(--ink-soft); line-height: 1.6; max-width: 320px; }
.c-faq__list { border-top: 1px solid rgba(10, 47, 107, .14); }
.c-faq details { border-bottom: 1px solid rgba(10, 47, 107, .14); }
.c-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 26px); color: #0a2f6b; letter-spacing: -.01em;
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary i { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #e6f0fb; transition: background .3s, transform .5s var(--ease); }
.c-faq summary i::before, .c-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #0b3f8f; transition: transform .5s var(--ease); }
.c-faq summary i::after { transform: rotate(90deg); }
.c-faq details[open] summary i { background: #0b3f8f; transform: rotate(180deg); }
.c-faq details[open] summary i::before, .c-faq details[open] summary i::after { background: #fff; }
.c-faq details[open] summary i::after { transform: rotate(0deg); }
.c-faq details p { margin: 0; padding: 0 60px 26px 4px; color: var(--ink-soft); line-height: 1.65; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .c-hero { grid-template-columns: 1fr; padding-top: 120px; }
  .c-hero__can { left: auto; right: -30px; bottom: auto; top: 90px; height: 240px; opacity: .45; }
  .c-hero__coco-b { display: none; }
  .c-ways__grid { grid-template-columns: 1fr; }
  .c-faq__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .c-row { grid-template-columns: 1fr; }
  .c-hero__coco-t { width: 120px; left: auto; right: 10px; top: auto; bottom: 40px; opacity: .5; }
}
