/* ==========================================================================
   Vic vous prépare — Outils
   Styles du formulaire de contact et de la page 404.
   Encres : palette saturée « max ». Fonds : charte V1.
   ========================================================================== */

.vvp-form,
.vvp-404{
  --vvp-sauge:#42846D; --vvp-fonce:#215140; --vvp-encre:#152D23;
  --vvp-terra:#B25017; --vvp-terra-2:#963F0C;
  --vvp-peche:#EC9F67; --vvp-peche-f:#DC8140; --vvp-gris:#556550;
  --vvp-ivoire:#F4F2E1; --vvp-creme:#FAF4E8; --vvp-antique:#F0E3D3;
  --vvp-poudre:#EBD3C4; --vvp-beige:#E0E2CE; --vvp-ash:#CCD2BB; --vvp-blanc:#fff;
  --display:"Cormorant Garamond",Georgia,serif;
  --corps:"Montserrat","Helvetica Neue",Arial,sans-serif;
  --signature:"Parisienne",cursive;
}
.vvp-form *,
.vvp-404 *{box-sizing:border-box}
.vvp-form svg,
.vvp-404 svg{display:block}

.vvp-form :where(a,button,input,textarea,select):focus-visible,
.vvp-404 :where(a,button,input):focus-visible{
  outline:2px solid var(--vvp-terra);outline-offset:3px;border-radius:10px;
}

/* ── Bouton commun ──────────────────────────────────────────────── */
.vvp-envoi,
.vvp-404-cta{
  position:relative;overflow:hidden;border:none;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  color:#fff;font:600 15px/1 var(--corps);letter-spacing:.02em;
  padding:17px 30px;border-radius:100px;text-decoration:none;
  background:linear-gradient(118deg,var(--vvp-terra) 0%,var(--vvp-peche-f) 55%,var(--vvp-terra) 100%);
  background-size:210% 100%;background-position:0 0;
  box-shadow:0 6px 18px -4px rgba(150,63,12,.42), inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .25s ease, box-shadow .3s ease, background-position .7s ease;
}
.vvp-envoi span,.vvp-envoi svg,
.vvp-404-cta span,.vvp-404-cta svg{position:relative;z-index:1}
.vvp-envoi svg,.vvp-404-cta svg{
  width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.3;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease;
}
.vvp-envoi::before,.vvp-404-cta::before{
  content:"";position:absolute;top:0;left:-120%;width:55%;height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-20deg);transition:left .7s ease;z-index:0;
}
.vvp-envoi:hover,.vvp-404-cta:hover{
  transform:translateY(-2px);background-position:100% 0;
  box-shadow:0 14px 30px -8px rgba(150,63,12,.55);
}
.vvp-envoi:hover::before,.vvp-404-cta:hover::before{left:140%}
.vvp-envoi:hover svg,.vvp-404-cta:hover svg{transform:translateX(3px)}
.vvp-envoi:active,.vvp-404-cta:active{transform:translateY(0)}

/* ══════════════════════════════════════════════════════════════════
   FORMULAIRE
   ══════════════════════════════════════════════════════════════════ */
.vvp-form{font:300 16px/1.7 var(--corps);color:var(--vvp-encre)}

.vvp-avis{
  border-radius:16px;padding:18px 22px;margin:0 0 24px;
  font-size:14.8px;line-height:1.6;
}
.vvp-avis strong{display:inline;font-weight:700}
.vvp-avis--ok{background:#E4EDE5;border:1px solid #A8C4AC;color:#1B4A32}
.vvp-avis--erreur{background:#F7E7DD;border:1px solid #DFB79B;color:#7C3A0E}

.vvp-duo{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.vvp-champ{margin:0 0 18px}
.vvp-champ label{
  display:block;margin-bottom:8px;
  font:600 10.5px/1 var(--corps);letter-spacing:.16em;text-transform:uppercase;
  color:var(--vvp-gris);
}
.vvp-oblig{color:var(--vvp-terra)}

.vvp-form input[type="text"],
.vvp-form input[type="email"],
.vvp-form input[type="tel"],
.vvp-form select,
.vvp-form textarea{
  width:100%;font:300 15.5px/1.5 var(--corps);color:var(--vvp-encre);
  background:var(--vvp-ivoire);border:1px solid var(--vvp-ash);border-radius:14px;
  padding:15px 16px;
  transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance:none;appearance:none;
}
.vvp-form select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23556550' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:12px;
  padding-right:42px;cursor:pointer;
}
.vvp-form textarea{resize:vertical;min-height:130px}
.vvp-form input::placeholder,
.vvp-form textarea::placeholder{color:#8B9A88}
.vvp-form input:hover,
.vvp-form select:hover,
.vvp-form textarea:hover{border-color:var(--vvp-sauge)}
.vvp-form input:focus,
.vvp-form select:focus,
.vvp-form textarea:focus{
  outline:none;border-color:var(--vvp-terra);background:var(--vvp-blanc);
  box-shadow:0 0 0 3px rgba(178,80,23,.13);
}

/* champ leurre : invisible pour les humains, rempli par les robots */
.vvp-leurre{
  position:absolute !important;width:1px;height:1px;overflow:hidden;
  clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap;
}

.vvp-envoi{margin-top:8px;width:100%}
.vvp-mention{
  margin:18px 0 0;font-size:12.5px;line-height:1.6;color:var(--vvp-gris);
}

@media (max-width:640px){
  .vvp-duo{grid-template-columns:1fr;gap:0}
}

/* ══════════════════════════════════════════════════════════════════
   PAGE 404
   ══════════════════════════════════════════════════════════════════ */
.vvp-404{
  position:relative;overflow:hidden;
  padding:110px 24px 120px;
  background:
    radial-gradient(900px 460px at 76% -12%, rgba(66,132,109,.10), transparent 62%),
    linear-gradient(180deg, var(--vvp-creme) 0%, var(--vvp-ivoire) 100%);
  color:var(--vvp-encre);font:300 16px/1.7 var(--corps);
  -webkit-font-smoothing:antialiased;
  text-align:center;
}
.vvp-404-halo{
  position:absolute;left:-8vw;bottom:-16%;width:clamp(300px,24vw,520px);aspect-ratio:1;
  border-radius:50%;filter:blur(74px);pointer-events:none;
  background:radial-gradient(circle, rgba(235,211,196,.9), transparent 70%);
}
.vvp-404-wrap{position:relative;z-index:1;max-width:720px;margin:0 auto}

.vvp-404-chiffre{
  display:block;font-family:var(--display);font-weight:700;
  font-size:clamp(6rem,17vw,11rem);line-height:.8;letter-spacing:-.04em;
  color:var(--vvp-sauge);opacity:.16;margin-bottom:-.14em;
  user-select:none;
}
.vvp-404-sur{
  display:inline-flex;align-items:center;gap:9px;
  font:600 11.5px/1 var(--corps);letter-spacing:.16em;text-transform:uppercase;
  color:var(--vvp-terra-2);background:var(--vvp-blanc);
  border:1px solid var(--vvp-ash);padding:8px 16px 8px 12px;border-radius:100px;
}
.vvp-404-sur::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--vvp-terra)}

.vvp-404 h1{
  font-family:var(--display);font-weight:700;
  font-size:clamp(2rem,4.4vw,3.2rem);line-height:1;letter-spacing:-.016em;
  color:var(--vvp-fonce);margin:22px 0 0;
}
.vvp-404-filet{width:46px;height:2px;background:var(--vvp-terra);margin:22px auto 0}
.vvp-404-texte{margin:22px auto 0;max-width:52ch;font-size:1.04rem;opacity:.9}

/* recherche */
.vvp-404-recherche{
  display:flex;gap:8px;max-width:440px;margin:34px auto 0;
  background:var(--vvp-blanc);border:1px solid var(--vvp-ash);
  border-radius:100px;padding:7px 7px 7px 20px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.vvp-404-recherche:focus-within{border-color:var(--vvp-terra);box-shadow:0 0 0 3px rgba(178,80,23,.13)}
.vvp-404-recherche input{
  flex:1 1 auto;min-width:0;border:none;background:none;outline:none;
  font:300 15px/1 var(--corps);color:var(--vvp-encre);
}
.vvp-404-recherche input::placeholder{color:#8B9A88}
.vvp-404-recherche button{
  flex:0 0 auto;width:46px;height:46px;border:none;border-radius:50%;cursor:pointer;
  background:var(--vvp-fonce);display:flex;align-items:center;justify-content:center;
  transition:background-color .25s ease, transform .25s ease;
}
.vvp-404-recherche button:hover{background:var(--vvp-terra);transform:scale(1.05)}
.vvp-404-recherche button svg{
  width:18px;height:18px;stroke:var(--vvp-creme);fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

/* actions */
.vvp-404-actions{
  display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:34px;
}
.vvp-404-tel{
  font:600 15px/1 var(--corps);color:var(--vvp-sauge);text-decoration:none;
  padding:8px 2px;border-bottom:2px solid transparent;
  transition:border-color .25s ease, color .25s ease;
}
.vvp-404-tel:hover{border-color:var(--vvp-terra);color:var(--vvp-terra)}

/* liens suggérés */
.vvp-404-liens{
  list-style:none;margin:56px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:left;
}
.vvp-404-liens a{
  display:block;text-decoration:none;height:100%;
  background:var(--vvp-blanc);border:1px solid var(--vvp-ash);border-radius:18px;
  padding:22px 24px;
  transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.vvp-404-liens a:hover{
  border-color:var(--vvp-sauge);transform:translateY(-2px);
  box-shadow:0 18px 38px -28px rgba(21,45,35,.6);
}
.vvp-404-liens .k{
  display:block;font-family:var(--display);font-size:1.24rem;font-weight:700;
  color:var(--vvp-fonce);line-height:1.2;
}
.vvp-404-liens .v{display:block;margin-top:6px;font-size:13.5px;color:var(--vvp-gris);line-height:1.5}

@media (max-width:760px){
  .vvp-404{padding:76px 18px 88px}
  .vvp-404-liens{grid-template-columns:1fr;gap:12px}
  .vvp-404-actions{flex-direction:column;align-items:stretch;gap:16px}
  .vvp-404-cta{width:100%}
  .vvp-404-tel{text-align:center}
}

@media (prefers-reduced-motion:reduce){
  .vvp-form *,.vvp-404 *{transition:none !important;animation:none !important}
}
