/* ==========================================================================
   Pages secondaires « pro » : Mentions légales et Contact
   Chargée après site.css et pro.css.
   ========================================================================== */

/* Bouton Retour (pilule en verre, comme les champs de l'accueil) */
.retour2 {
  position: absolute; z-index: 5; left: 32px; top: 28px;
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; text-decoration: none; color: var(--blanc);
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease;
}
.retour2 svg { width: 18px; height: 18px; transition: transform .2s ease; }
.retour2:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); }
.retour2:hover svg { transform: translateX(-3px); }
.retour2--fixe { position: fixed; }

/* --------------------------------------------------------------------------
   Mentions légales
   -------------------------------------------------------------------------- */
.tete {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 96px 24px 72px; text-align: center; color: var(--blanc); background: var(--indigo-nuit);
}
.tete__fond { z-index: -1; }
.tete .accueil__illu { top: -260px; transform: translate3d(-50%, 0, 0); }
.tete__contenu { display: flex; flex-direction: column; align-items: center; }
.tete__logo { width: 300px; max-width: 72vw; height: auto; }
.tete__orn { height: 36px; width: auto; margin: 18px 0 20px; opacity: .9; }
.tete__titre { font-family: var(--sc); font-variant-caps: small-caps; font-weight: 600; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; letter-spacing: .3px; }
.tete__titre::after { content: ""; display: block; width: 48px; height: 2px; margin: 18px auto 0; border-radius: 2px; background: var(--or); }

.legal2 { padding: 72px 24px 112px; background: var(--blanc); }
.legal2__col { max-width: 720px; margin: 0 auto; }
.legal2__bloc { scroll-margin-top: 24px; padding: 32px 0; border-top: 1px solid var(--trait); font-size: 17px; line-height: 1.7; color: var(--texte-doux); }
.legal2__bloc:first-child { padding-top: 0; border-top: 0; }
.legal2__bloc h2 { margin-bottom: 12px; font-family: var(--sc); font-variant-caps: small-caps; font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--indigo); }
.legal2__bloc p + p { margin-top: 12px; }
.legal2__bloc strong { color: var(--indigo); font-weight: 700; }
.legal2__bloc a { color: var(--indigo); font-weight: 600; text-decoration-color: rgba(214, 160, 40, .8); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal2__bloc a:hover { text-decoration-color: var(--indigo); }
.a-completer { padding: 1px 5px; border-radius: 4px; color: #6b4a00; background: rgba(251, 208, 113, .45); }

/* --------------------------------------------------------------------------
   Contact : mêmes éléments fixes (Retour, logo + ornement, pied de page) — affinés
   -------------------------------------------------------------------------- */
body.pro { font-size: 19px; }
.page--contact .contact__entete { top: 72px; }
.contact2__intro { width: 100%; max-width: 720px; text-align: center; }
.contact2__accroche { font-size: 24px; line-height: 1.45; font-style: italic; font-weight: 600; }
.contact2__intro p + p { margin-top: 20px; font-size: 18px; line-height: 1.7; opacity: .88; text-wrap: pretty; }
.contact2__intro a { color: var(--or); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact2__intro strong { color: var(--blanc); }

.contact2__form {
  width: 100%; max-width: 720px; margin-top: 24px; padding: 36px 40px 32px; gap: 20px;
  border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
}
.contact2__titre { font-family: var(--sc); font-variant-caps: small-caps; font-weight: 600; font-size: 30px; line-height: 1.1; }
.contact2__titre::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 14px; border-radius: 2px; background: var(--or); }
.champ2 { display: flex; flex-direction: column; gap: 8px; }
.champ2 label { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.contact2__form .contact__champ {
  height: 52px; padding: 0 18px; font-size: 17px; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.contact2__form textarea.contact__champ { height: 180px; padding: 14px 18px; line-height: 1.6; }
.contact2__form .contact__champ:hover { border-color: rgba(255, 255, 255, .35); }
.contact2__form .contact__champ:focus { border-color: var(--or); background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 4px rgba(251, 208, 113, .18); }
.champ2--erreur .contact__champ { border-color: #ff9d8a; box-shadow: 0 0 0 4px rgba(255, 157, 138, .18); }
.contact2__bas { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 4px; }
.contact2__bas .contact__retour { flex: 1; text-align: left; font-size: 15px; color: #ffd2c8; }
.contact2__bas .contact__retour:empty { display: block; }
.contact2__form .contact__envoyer { align-self: auto; }

/* Pied de page des pages secondaires, aligné sur celui de l'accueil */
.pied--compact { min-height: 76px; background: rgba(22, 21, 72, .82); border-top: 1px solid rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pied--compact .pied__nav { gap: 6px 28px; font-size: 14px; font-weight: 600; letter-spacing: .6px; }
.pied--compact .pied__nav a { opacity: .85; text-decoration: none; transition: opacity .2s ease; }
.pied--compact .pied__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pied--compact .pied__logo { width: 120px; height: auto; margin-right: 0; }

/* --------------------------------------------------------------------------
   Tablette
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .retour2 { left: 16px; top: 16px; height: 36px; font-size: 12px; }
  .retour2--fixe { position: absolute; }
  .tete { padding: 76px 20px 52px; }
  .tete__logo { width: 230px; }
  .tete__orn { height: 28px; margin: 14px 0 16px; }
  .tete__titre { font-size: 32px; }
  .legal2 { padding: 44px 20px 72px; }
  .legal2__bloc { padding: 28px 0; font-size: 18px; line-height: 1.65; }
  .legal2__bloc h2 { font-size: 23px; }

  .page--contact .contact__entete { top: 64px; }
  .contact2__accroche { font-size: 21px; }
  .contact2__intro { text-align: left; }
  .contact2__intro p + p { font-size: 18px; line-height: 1.65; }
  .contact2__form { padding: 24px 18px 22px; border-radius: 16px; gap: 16px; }
  .contact2__titre { font-size: 26px; }
  .champ2 label { font-size: 14px; }
  .contact2__form .contact__champ { height: 52px; font-size: 18px; }
  .contact2__form textarea.contact__champ { height: 160px; }
  .contact2__bas { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .contact2__bas .contact__retour { text-align: center; }
  .contact2__form .contact__envoyer { width: 100%; }
  .pied--compact .pied__logo { width: 110px; }
}

/* --------------------------------------------------------------------------
   Confirmation d'envoi
   -------------------------------------------------------------------------- */
.conf2__contenu { justify-content: center; gap: 0; padding: 112px 24px 96px; }
.conf2__logo { width: 300px; max-width: 72vw; height: auto; }
.conf2__orn { height: 40px; width: auto; margin: 20px 0 28px; opacity: .9; }
.conf2__titre { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.conf2__titre::after { content: ""; display: block; width: 48px; height: 2px; margin: 20px auto 0; border-radius: 2px; background: var(--or); }
.conf2__texte { margin-top: 28px; font-style: italic; }
.conf2__texte p { font-size: min(22px, 2.6vw); line-height: 1.65; opacity: .95; }
.conf2__texte p + p { margin-top: 24px; opacity: .85; }
.conf2__texte strong { font-weight: 700; }
.conf2__texte a { color: var(--or); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* deux lignes exactement en tablette et desktop */
.conf2__texte .ligne { display: block; white-space: nowrap; }
.conf2__texte .ligne .g { display: inline; }
.conf2__discord { margin-top: 36px; height: 50px; font-size: 15px; border-radius: 12px; }
.conf2__discord svg { width: 20px; height: 20px; }
.page--confirmation .pied--compact { position: relative; }

@media (max-width: 767px) {
  .conf2__contenu { padding: 88px 20px 64px; }
  .conf2__logo { width: 230px; }
  .conf2__orn { height: 28px; margin: 16px 0 20px; }
  .conf2__titre { font-size: 26px; }
  .conf2__texte p { font-size: 19px; line-height: 1.6; }
  .conf2__texte .ligne { display: inline; white-space: normal; }
  .conf2__texte .ligne .g { display: inline; }
  .conf2__texte p { text-wrap: pretty; }
}

/* Fondu sous l'en-tête de la page Contact : appliqué à chaque bloc (texte, formulaire, pied de page)
   et non plus à toute la zone qui défile. Un masque sur un parent coupe l'effet « verre dépoli »
   (backdrop-filter) de ses enfants ; posé sur le bloc lui-même, l'effet reste visible au défilement.
   --f-debut / --f-fin : limites du fondu, mesurées depuis le haut de l'écran ; --haut : position du bloc. */
.page--contact { --f-debut: 262px; --f-fin: 330px; }
.contact__defile.defile { -webkit-mask-image: none; mask-image: none; }
.contact__defile.defile .fondu {
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--f-debut) - var(--haut, 0px)), #000 calc(var(--f-fin) - var(--haut, 0px)));
          mask-image: linear-gradient(to bottom, transparent calc(var(--f-debut) - var(--haut, 0px)), #000 calc(var(--f-fin) - var(--haut, 0px)));
}
@media (max-width: 767px) { .page--contact { --f-debut: 204px; --f-fin: 256px; } }
