/* ================================================================
   VALBERT LAMBOLEY – style.css
   Mobile-first · CSS3 · SPIP-compatible
   ================================================================

   01. Variables & Reset
   02. Typography
   03. Layout
   04. Navigation
   05. Hero
   06. Sections communes
   07. Services (4 cartes)
   08. Bénéfices (dark)
   09. Split acheter / vendre
   10. Méthode (étapes)
   11. Types de véhicules
   12. À propos
   13. Réalisations
   14. Formulaire de contact
   15. CTA final
   16. Footer
   17. SPIP overrides
   18. Utilitaires

================================================================ */


/* 01. Variables & Reset
---------------------------------------------------------------- */
:root {
  --font:        'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --dark:        #1a1a1a;
  --dark-2:      #242424;
  --dark-3:      #111111;
  --gold:        #c8a84b;
  --gold-2:      #d4b86a;
  --white:       #ffffff;
  --bg-light:    #f7f6f4;
  --bg-mid:      #eeecea;
  --text:        #2d2d2d;
  --text-soft:   #555555;
  --border:      #e2e0db;

  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;

  --max-w:       1100px;
  --transition:  .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.6rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }


/* 02. Typography
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}

h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.9rem, 3vw, 2.2rem); font-weight: 600; }
h4 { font-size: 1.8rem; font-weight: 600; }
p  { font-size: 1.6rem; line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.lead {
  font-size: 1.8rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-soft);
}

.section--dark .lead,
.section--dark-2 .lead { color: rgba(255,255,255,.7); }

.section--dark .eyebrow,
.section--dark-2 .eyebrow { color: var(--gold); }


/* 03. Layout
---------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.section         { padding: 8rem 2.4rem; }
.section--sm     { padding: 5rem 2.4rem; }
.section--dark   { background: var(--dark);   color: var(--white); }
.section--dark-2 { background: var(--dark-2); color: var(--white); }
.section--dark-3 { background: var(--dark-3); color: var(--white); }
.section--light  { background: var(--bg-light); }
.section--mid    { background: var(--bg-mid); }

.section-header { margin-bottom: 5.5rem; }
.section-header h2 { margin-bottom: 1.8rem; }
.section-header .lead { max-width: 620px; }
.section-header--center { text-align: center; }
.section-header--center .lead { margin: 0 auto; }

.section--dark   .section-header h2,
.section--dark-2 .section-header h2 { color: var(--white); }


/* 04. Navigation
---------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 2rem 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

.site-nav.scrolled {
  background: rgba(18,18,18,.97);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  padding: 1.2rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { color: var(--white); }

.nav-links {
  display: none;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { margin-left: 1rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--dark-3);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile-close {
  position: absolute;
  top: 2.4rem; right: 2.4rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
}
.nav-mobile a {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .btn { margin-top: 1.5rem; }

@media (min-width: 1024px) {
  .nav-links  { display: flex; }
  .nav-toggle { display: none; }
}


/* 05. Hero
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  padding: 14rem 2.4rem 9rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .22;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.hero-content h1 {
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

.hero-content .lead {
  margin-bottom: 1rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
}

.hero-reassurance {
  font-size: 1.25rem;
  color: rgba(255,255,255,.5);
  margin-top: 2.5rem;
  max-width: 520px;
  line-height: 1.65;
  font-style: italic;
}


/* 06. Boutons
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1.4rem 3.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  transform: translateY(-2px);
  color: var(--dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: #2f2f2f;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
  margin-top: 3.5rem;
}


/* 07. Services (4 cartes)
---------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.5rem 3rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
  transform: translateY(-3px);
}

.service-num {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: 2rem;
  font-feature-settings: "tnum";
}

.service-card h3  { font-size: 1.9rem; margin-bottom: 1.2rem; }
.service-card p   { color: var(--text-soft); font-size: 1.5rem; }

@media (min-width: 600px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }


/* 08. Bénéfices (dark)
---------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  max-width: 700px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.benefit-check {
  width: 2.4rem; height: 2.4rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .2rem;
}
.benefit-check::after {
  content: '';
  display: block;
  width: 6px; height: 11px;
  border: 2px solid var(--dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.benefit-item p {
  font-size: 1.55rem;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}


/* 09. Split Acheter / Vendre
---------------------------------------------------------------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.split-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  border-top: 3px solid var(--gold);
}

.split-card h3 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 2.2rem;
}
.split-card h3 span { color: var(--gold); }
.split-card p  { color: rgba(255,255,255,.75); margin-bottom: 3.5rem; }

@media (min-width: 768px) {
  .split-grid { grid-template-columns: 1fr 1fr; }
}


/* 10. Méthode (étapes)
---------------------------------------------------------------- */
.steps-list {
  max-width: 680px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 3rem;
  position: relative;
  padding-bottom: 4rem;
}
.step-item:last-child { padding-bottom: 0; }

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 2.15rem;
  top: 5rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.step-num {
  width: 4.4rem; height: 4.4rem;
  min-width: 4.4rem;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-body h3  { font-size: 1.8rem; margin-bottom: .8rem; }
.step-body p   { color: var(--text-soft); font-size: 1.5rem; }


/* 11. Types de véhicules
---------------------------------------------------------------- */
.vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.vehicle-tag {
  display: inline-flex;
  align-items: center;
  padding: .9rem 2.2rem;
  background: rgba(200,168,75,.1);
  border: 1px solid rgba(200,168,75,.35);
  border-radius: 100px;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: background var(--transition);
}
.vehicle-tag:hover { background: rgba(200,168,75,.18); }


/* 12. À propos
---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.about-content .eyebrow { margin-bottom: 1rem; }
.about-content h2 { margin-bottom: 2rem; }
.about-content p  { color: var(--text-soft); margin-bottom: 1.6rem; }
.about-content .btn-group { margin-top: 2rem; }

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 7rem; }
}


/* 13. Réalisations
---------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3.5rem;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.project-type {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.project-card h3 { font-size: 1.7rem; margin-bottom: 1.2rem; }
.project-card p  { color: var(--text-soft); font-size: 1.5rem; }

.projects-cta { text-align: center; }

@media (min-width: 768px)  { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }


/* 14. Formulaire de contact
---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2   { margin-bottom: 2rem; }
.contact-info p    { color: rgba(255,255,255,.72); margin-bottom: 2rem; font-size: 1.65rem; }
.contact-mention   { font-size: 1.2rem; color: rgba(255,255,255,.38); margin-top: 3rem; line-height: 1.55; }

.form-group  { margin-bottom: 2.2rem; }
.form-row    { display: grid; grid-template-columns: 1fr; gap: 0; }

.form-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .8rem;
}
.required { color: var(--gold); margin-left: .2rem; }

.form-control {
  display: block;
  width: 100%;
  padding: 1.35rem 1.8rem;
  font-size: 1.5rem;
  color: var(--white);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xs);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-control::placeholder { color: rgba(255,255,255,.28); }
.form-control:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8a84b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  padding-right: 4.5rem;
}
select.form-control option { background: #242424; color: var(--white); }

textarea.form-control  { resize: vertical; min-height: 13rem; }
.form-error            { color: #ff7070; font-size: 1.2rem; margin-top: .5rem; }
.form-submit           { margin-top: 3rem; }
.form-submit .btn      { width: 100%; justify-content: center; }

.contact-success {
  background: rgba(200,168,75,.1);
  border: 1px solid rgba(200,168,75,.35);
  border-radius: var(--radius-xs);
  padding: 2.5rem;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1.65;
  margin-bottom: 3rem;
}
.contact-form.form-sent .form-row,
.contact-form.form-sent .form-group,
.contact-form.form-sent .form-submit { display: none; }

/* Formidable – surcharge saisies.css
-------------------------------------------------------------- */
/* Champs techniques/internes cachés */
.formulaire_formidable .editer_auteurs_1,
.formulaire_formidable .image_loading { display: none !important; }

/* Reset wrappers */
.formulaire_formidable form { margin: 0; }
.formulaire_formidable .editer-groupe { margin: 0; padding: 0; }
.contact-form-wrapper { margin: 0; padding: 0; }

/* Champ individuel */
.formulaire_formidable .editer {
  margin-bottom: 2.2rem;
  padding: 0;
  background: none;
  border: none;
}

/* Label */
.formulaire_formidable .editer-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .8rem;
}
.formulaire_formidable .editer-label .obligatoire {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Texte d'aide sous le label */
.formulaire_formidable .explication {
  font-size: 1.15rem;
  color: rgba(255,255,255,.38);
  margin: -.4rem 0 .8rem;
  font-style: italic;
}

/* Inputs, select, textarea */
.formulaire_formidable input.text,
.formulaire_formidable input[type="email"],
.formulaire_formidable select,
.formulaire_formidable textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1.35rem 1.8rem;
  font-size: 1.5rem;
  font-family: var(--font);
  color: var(--white);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xs);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.formulaire_formidable input.text::placeholder,
.formulaire_formidable input[type="email"]::placeholder,
.formulaire_formidable textarea::placeholder {
  color: rgba(255,255,255,.28);
}
.formulaire_formidable input.text:focus,
.formulaire_formidable input[type="email"]:focus,
.formulaire_formidable select:focus,
.formulaire_formidable textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}

.formulaire_formidable select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8a84b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  padding-right: 4.5rem;
}
.formulaire_formidable select option { background: #242424; color: var(--white); }

.formulaire_formidable textarea {
  resize: vertical;
  min-height: 13rem;
}

/* Erreurs de validation */
.formulaire_formidable .erreur_saisie,
.formulaire_formidable p.explication_erreur {
  color: #ff7070;
  font-size: 1.2rem;
  margin-top: .5rem;
}
.formulaire_formidable .editer.erreur input,
.formulaire_formidable .editer.erreur select,
.formulaire_formidable .editer.erreur textarea {
  border-color: #ff7070;
}

/* Bouton envoyer */
.formulaire_formidable .boutons {
  margin-top: 3rem;
  margin-bottom: 0;
  padding: 0;
}
.formulaire_formidable button.submit_main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  width: 100%;
  padding: 1.4rem 3.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.formulaire_formidable button.submit_main:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Message de succès Formidable */
.formulaire_formidable .reponse_formulaire {
  background: rgba(200,168,75,.1);
  border: 1px solid rgba(200,168,75,.35);
  border-radius: var(--radius-xs);
  padding: 2.5rem;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .formulaire_formidable button.submit_main { width: auto; }
}


/* Bouton retour en haut
-------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 2.5rem;
  width: 4.8rem;
  height: 4.8rem;
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 50%;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover   { background: #d4b15e; }


.spip_erreur {
  background: rgba(255,80,80,.1);
  border: 1px solid rgba(255,80,80,.3);
  border-radius: var(--radius-xs);
  padding: 1.4rem 2rem;
  color: #ff7070;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-submit .btn { width: auto; }
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.5fr; }
}


/* 15. CTA final
---------------------------------------------------------------- */
.cta-section {
  text-align: center;
  padding: 8rem 2.4rem;
}
.cta-section h2   { max-width: 700px; margin: 0 auto 2rem; }
.cta-section p    { max-width: 580px; margin: 0 auto; font-size: 1.7rem; }
.cta-section .btn-group { justify-content: center; }


/* 16. Footer
---------------------------------------------------------------- */
.site-footer {
  background: var(--dark-3);
  color: rgba(255,255,255,.55);
  padding: 6rem 2.4rem 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto 4.5rem;
}

.footer-brand .nav-logo { display: inline-block; font-size: 2rem; margin-bottom: 1.6rem; }
.footer-brand p { font-size: 1.4rem; line-height: 1.75; max-width: 300px; }

.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
  font-weight: 600;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-nav a  { font-size: 1.4rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }

.footer-contact p   { font-size: 1.4rem; margin-bottom: .8rem; }
.footer-contact a   { font-size: 1.4rem; transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .footer-inner  { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}


/* 17. SPIP overrides
---------------------------------------------------------------- */
/* Barre d'admin SPIP – toujours cliquable au premier plan */
#spip-admin,
.spip-admin-float { z-index: 10000 !important; }

a.spip_in, a.spip_out {
  color: var(--gold) !important;
  border-bottom: 1px solid rgba(200,168,75,.35) !important;
  display: inline !important;
  padding: 0 !important;
  background: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  transition: color var(--transition) !important;
}
a.spip_in:hover, a.spip_out:hover { color: var(--gold-2) !important; }
a.lien-discret { border-bottom: none !important; }
.spip_documents img { max-width: 100%; height: auto; }


/* 18. Utilitaires & Reveal
---------------------------------------------------------------- */
.text-gold   { color: var(--gold); }
.text-center { text-align: center; }
.text-muted  { color: var(--text-soft); }
.mt-auto     { margin-top: auto; }

.reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Footer – réseaux sociaux
-------------------------------------------------------------- */
.footer-social {
  display: flex;
  gap: 1.6rem;
  margin-top: 2rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.45);
  font-size: 1.3rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-social-link:hover { color: var(--gold); }
.footer-social-link svg   { flex-shrink: 0; }

/* Footer bottom – liens légaux */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom nav a {
  font-size: 1.3rem;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom nav a:hover { color: var(--gold); }


/* Mentions légales
-------------------------------------------------------------- */
.mentions-layout {
  max-width: 76rem;
  margin: 0 auto;
  padding: 5rem 0 2rem;
}

.mentions-maj {
  font-size: 1.25rem;
  color: rgba(255,255,255,.38);
  font-style: italic;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mentions-section {
  margin-bottom: 4rem;
}
.mentions-section:last-child { margin-bottom: 0; }

.mentions-section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .03em;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mentions-section p {
  color: rgba(255,255,255,.68);
  font-size: 1.5rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.mentions-section p:last-child { margin-bottom: 0; }
.mentions-section strong { color: rgba(255,255,255,.88); }
.mentions-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.mentions-section a:hover { color: var(--gold-2); }

.mentions-bloc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,168,75,.2);
  border-radius: var(--radius-xs);
  padding: 2.4rem 2.8rem;
  margin: 1.6rem 0;
  font-size: 1.5rem;
  line-height: 1.9;
  color: rgba(255,255,255,.68);
}
.mentions-bloc strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.mentions-bloc p { margin: 0; color: rgba(255,255,255,.68); }
.mentions-bloc a { color: var(--gold); }


/* Page contact standalone */
.contact-page-header {
  padding-top: 14rem;
  padding-bottom: 4rem;
  background: var(--dark);
  color: var(--white);
}
.contact-page-header h1 { margin-bottom: 1.2rem; }
.contact-page-header p  { color: rgba(255,255,255,.65); font-size: 1.7rem; }
