/*
Theme Name: Julien Pelissier Patrimoine
Theme URI: https://jp-patrimoine.fr
Author: Julien Pelissier
Author URI: https://jp-patrimoine.fr
Description: Thème WordPress pour Julien Pelissier - Conseil en Gestion de Patrimoine
Version: 2.8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: julien-pelissier
Tags: one-page, landing-page, portfolio
*/

/* =========================================================
   VARIABLES & RESET
   ========================================================= */
:root {
  --vert:        #c5a643;
  --vert-clair:  rgba(197, 166, 67, 0.12);
  --creme:       #f6f6e9;
  --creme-2:     #f0f0e3;
  --noir:        #060e39;
  --texte:       #1a1a1a;
  --texte-2:     #2a2a1a;
  --gris:        #4a4a4a;
  --gris-2:      #5a5a4a;
  --gris-3:      #7a7a6a;
  --gris-4:      #8a8a7a;
  --gris-5:      #9a9a8e;
  --gris-6:      #c0c0b0;
  --gris-pied:   #5a5a52;
  --blanc:       #ffffff;
  --rayon:       8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--creme);
  color: var(--texte);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHIE
   ========================================================= */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* =========================================================
   UTILITAIRES
   ========================================================= */
.conteneur {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.etiquette {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--vert);
}

.etiquette::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--vert);
  flex-shrink: 0;
}

.etiquette--centre {
  justify-content: center;
}

.etiquette--centre::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--vert);
  flex-shrink: 0;
}

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--rayon);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--vert {
  background: var(--vert);
  color: var(--blanc);
}

.btn--blanc {
  background: var(--blanc);
  color: var(--vert);
  font-weight: 700;
}

.btn--contour {
  background: transparent;
  color: var(--blanc);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn svg,
.btn img.icone-fleche {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* =========================================================
   EN-TÊTE / NAVIGATION
   ========================================================= */
.entete {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 14, 57, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__nom {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--blanc);
}

.logo__sous-titre {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--vert);
}

.logo__img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__liste {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__liste a,
.nav__liste button {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav__liste a:hover,
.nav__liste button:hover {
  color: var(--vert);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--noir);
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  pointer-events: none;
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--noir) 0%, transparent 60%);
  z-index: 1;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__interieur {
  display: flex;
  align-items: center;
  padding: 120px 40px;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 80px);
  width: 100%;
}

.hero__contenu {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__meta-ligne {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--vert);
  flex-shrink: 0;
}

.hero__meta-texte {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vert);
}

.hero__titre {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--creme);
  margin-bottom: 52px;
}

.hero__titre em {
  font-style: italic;
  color: var(--vert);
}

.hero__bas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.hero__description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gris-5);
  max-width: 440px;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero__scroll-ligne {
  width: 1px;
  height: 56px;
  background: var(--vert);
  opacity: 0.5;
}

.hero__scroll span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  writing-mode: vertical-rl;
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--noir);
  padding: 48px 40px;
}

.stats__grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.stats__item:last-child {
  border-right: none;
}

.stats__chiffre {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--vert);
  line-height: 1;
}

.stats__libelle {
  font-size: 12px;
  line-height: 1.4;
  color: var(--gris-4);
  letter-spacing: 0.5px;
  max-width: 140px;
}

/* =========================================================
   OBJECTIFS
   ========================================================= */
.objectifs {
  background: var(--creme);
  padding: 112px 40px 80px;
}

.objectifs__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(26,26,26,0.1);
  margin-bottom: 0;
}

.objectifs__count {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 700;
  color: rgba(26,26,26,0.06);
  line-height: 1;
}

.objectifs__liste {
  list-style: none;
  padding: 0;
  margin: 0 0 80px;
}

.objectifs__liste li {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26,26,26,0.08);
  transition: padding-left 0.3s ease;
  cursor: default;
}

.objectifs__liste li:hover {
  padding-left: 12px;
}

.objectifs__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--vert);
  letter-spacing: 1px;
  flex-shrink: 0;
  width: 22px;
}

.objectifs__libelle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--texte);
  line-height: 1.2;
}

.objectifs__grille-liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.objectifs__bas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 0;
  border-top: none;
}

.objectifs__card {
  background: var(--blanc);
  border: 1.5px solid rgba(26,26,26,0.08);
  border-radius: 14px;
  padding: 36px;
}

.objectifs__label-section {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vert);
  margin: 0 0 32px;
}

.objectifs__etapes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.objectifs__etape {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.objectifs__etape-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--vert);
  flex-shrink: 0;
  width: 18px;
  padding-top: 3px;
}

.objectifs__etape strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--texte);
  margin-bottom: 4px;
}

.objectifs__etape p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gris-2);
  margin: 0;
}

.objectifs__solutions-grille {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.objectifs__solution {
  display: inline-block;
  background: var(--blanc);
  border: 1.5px solid rgba(26,26,26,0.12);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--texte);
}

.objectifs__solution--more {
  border-style: dashed;
  color: var(--gris-3);
}

/* =========================================================
   PROCESSUS / FONCTIONNEMENT
   ========================================================= */
.processus {
  background: var(--noir);
  padding: 112px 40px;
  position: relative;
  overflow: hidden;
}

.processus__fond-deco {
  position: absolute;
  top: -60px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 166, 67, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.processus__fond-deco--droite {
  left: auto;
  right: -80px;
  top: auto;
  bottom: -60px;
}

.processus__entete {
  text-align: center;
  margin-bottom: 80px;
}

.processus__titre {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.45px;
  color: var(--creme);
  margin-top: 20px;
}

.processus__sous-titre {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gris-5);
  max-width: 520px;
  margin: 16px auto 0;
}

/* Grille des étapes */
.processus__etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Ligne de connexion horizontale */
.processus__etapes::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: linear-gradient(to right, var(--vert), rgba(197, 166, 67, 0.2));
  z-index: 0;
}

.etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Numéro / Icône */
.etape__numero {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--noir);
  border: 1px solid rgba(197, 166, 67, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.etape:hover .etape__numero {
  border-color: var(--vert);
  background: rgba(197, 166, 67, 0.08);
}

.etape__numero-chiffre {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--vert);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.etape__numero svg {
  width: 22px;
  height: 22px;
  color: var(--vert);
  flex-shrink: 0;
}

/* Point actif sur la ligne */
.etape__numero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vert);
  opacity: 0;
}

/* Badge étape */
.etape__badge {
  position: absolute;
  top: -10px;
  right: -4px;
  background: var(--vert);
  color: var(--blanc);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etape__contenu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.etape__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--vert);
}

.etape__titre {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--creme);
  line-height: 1.3;
}

.etape__texte {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--gris-5);
}

.etape__detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(197, 166, 67, 0.7);
  letter-spacing: 0.3px;
}

.etape__detail svg {
  width: 12px;
  height: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .processus__etapes {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }

  .processus__etapes::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .processus__etapes {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   À PROPOS
   ========================================================= */
.a-propos {
  background: var(--noir);
  padding: 112px 40px;
}

.a-propos__interieur {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.a-propos__image-conteneur {
  position: relative;
  height: 600px;
}

.a-propos__image {
  position: absolute;
  inset: 0;
  width: 480px;
  height: 100%;
  object-fit: cover;
}

.a-propos__cadre {
  display: none;
}

.a-propos__contenu {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.a-propos__titre {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.45px;
  color: var(--creme);
}

.a-propos__paragraphe {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gris-5);
}

.a-propos__liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.a-propos__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gris-6);
}

.a-propos__item svg {
  width: 16px;
  height: 16px;
  color: var(--vert);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   AVIS / LINKEDIN (section remplacée)
   ========================================================= */
.temoignages {
  background: var(--creme);
  padding: 112px 40px;
}

.temoignages__entete {
  text-align: center;
  margin-bottom: 56px;
}

.temoignages__titre {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.45px;
  color: var(--texte);
  margin-top: 20px;
}

.linkedin__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.linkedin-post {
  background: var(--creme);
  border: 1px solid rgba(26,26,26,0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.linkedin-post:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.linkedin-post__entete {
  display: flex;
  align-items: center;
  gap: 12px;
}

.linkedin-post__avatar {
  width: 44px;
  height: 44px;
  background: var(--vert);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--blanc);
  flex-shrink: 0;
}

.linkedin-post__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.linkedin-post__nom {
  font-weight: 600;
  font-size: 14px;
  color: var(--texte);
}

.linkedin-post__meta {
  font-size: 12px;
  color: var(--gris-3);
}

.linkedin-post__icone-linkedin {
  margin-left: auto;
  width: 20px;
  height: 20px;
  opacity: 0.4;
}

.linkedin-post__contenu {
  font-size: 14px;
  line-height: 1.7;
  color: var(--texte-2);
  flex: 1;
}

.linkedin-post__pied {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--gris-3);
  border-top: 1px solid rgba(26,26,26,0.06);
  padding-top: 16px;
}

.linkedin-post__lien {
  margin-left: auto;
  color: var(--vert);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.linkedin-post__lien:hover {
  opacity: 0.7;
}

/* Grille embeds natifs LinkedIn */
.linkedin__grille--embed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.linkedin-embed-conteneur {
  background: var(--blanc);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* L'iframe LinkedIn prend toute la largeur de sa colonne */
.linkedin-embed-conteneur iframe {
  width: 100% !important;
  min-height: 400px;
  border: none;
  display: block;
}

.linkedin-embed-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--gris-4);
  font-size: 14px;
  min-height: 200px;
}

@media (max-width: 900px) {
  .linkedin__grille--embed {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* =========================================================
   FORMULAIRE DE CONTACT
   ========================================================= */
.contact {
  background: var(--noir);
  padding: 112px 40px;
}

.contact__interieur {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__titre {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.45px;
  color: var(--creme);
}

.contact__texte {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gris-5);
}

.contact__coordonnees {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__coord-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__coord-etiquette {
  font-size: 11px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--vert);
  font-weight: 600;
}

.contact__coord-valeur {
  font-size: 14px;
  color: var(--gris-5);
}

.formulaire {
  background: var(--blanc);
  padding: 48px;
  border-radius: var(--rayon);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.formulaire__titre {
  font-size: 22px;
  font-weight: 600;
  color: var(--texte);
}

.formulaire__groupe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.formulaire__groupe--double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.formulaire__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--texte);
}

.formulaire__champ {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26,26,26,0.15);
  border-radius: var(--rayon);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--texte);
  background: var(--creme);
  transition: border-color 0.2s;
  outline: none;
}

.formulaire__champ:focus {
  border-color: var(--vert);
  background: var(--blanc);
}

.formulaire__champ::placeholder {
  color: var(--gris-4);
}

.formulaire__textarea {
  resize: vertical;
  min-height: 120px;
}

.formulaire__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.formulaire__mentions {
  font-size: 12px;
  color: var(--gris-4);
  line-height: 1.5;
}

.formulaire__message-succes,
.formulaire__message-erreur {
  padding: 12px 16px;
  border-radius: var(--rayon);
  font-size: 14px;
  display: none;
}

.formulaire__message-succes {
  background: rgba(197, 166, 67, 0.1);
  color: var(--vert);
  border: 1px solid rgba(197, 166, 67, 0.3);
}

.formulaire__message-erreur {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* =========================================================
   SECTION CTA
   ========================================================= */
.cta {
  background: var(--creme);
  padding: 80px 40px;
  overflow: hidden;
  position: relative;
}

.cta__fond-texte {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 320px;
  color: rgba(6,14,57,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta__grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta__liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta__liste li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--texte);
}

.cta__liste li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert);
  flex-shrink: 0;
}

.cta__calendly {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--blanc);
}

.cta__sur-titre {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.24px;
  text-transform: uppercase;
  color: var(--vert);
}

.cta__titre {
  font-size: clamp(36px, 4vw, 51px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--texte);
}

.cta__texte {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gris-2);
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied {
  background: var(--creme);
  padding: 80px 40px 0;
}

.pied__grille {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.pied__logo-nom {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--texte);
}

.pied__logo-sous {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--vert);
  margin-top: 2px;
}

.pied__description {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gris-2);
  margin-top: 24px;
}

.pied__reseaux {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.pied__reseau-lien {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(26,26,26,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.pied__reseau-lien:hover {
  border-color: var(--vert);
  background: rgba(197, 166, 67, 0.1);
}

.pied__reseau-lien svg {
  width: 16px;
  height: 16px;
  color: var(--gris-2);
}

.pied__col-titre {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--texte);
  margin-bottom: 20px;
}

.pied__liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pied__liste li a,
.pied__liste li button {
  font-size: 13.5px;
  color: var(--gris-2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}

.pied__liste li a:hover,
.pied__liste li button:hover {
  color: var(--vert);
}

.pied__contact-etiquette {
  font-size: 11px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--vert);
  font-weight: 600;
  margin-bottom: 4px;
}

.pied__contact-valeur {
  font-size: 13.5px;
  color: var(--gris-2);
}

.pied__contact-item {
  margin-bottom: 16px;
}

.pied__bas {
  border-top: 1px solid rgba(26,26,26,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pied__copyright {
  font-size: 12.5px;
  color: var(--gris-3);
}

.pied__liens-bas {
  display: flex;
  gap: 24px;
}

.pied__liens-bas a {
  font-size: 12.5px;
  color: var(--gris-3);
  transition: color 0.2s;
}

.pied__liens-bas a:hover {
  color: var(--texte);
}


/* =========================================================
   NOTIFICATIONS AJAX
   ========================================================= */
.notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  border-radius: var(--rayon);
  font-size: 14px;
  font-weight: 500;
  z-index: 9998;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  max-width: 360px;
}

.notification.visible {
  transform: translateY(0);
  opacity: 1;
}

.notification--succes {
  background: var(--vert);
  color: var(--blanc);
}

.notification--erreur {
  background: #dc3545;
  color: var(--blanc);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* ---------------------------------------------------------
   TABLETTE (≤ 1024px)
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__photo {
    width: 55%;
  }

  .stats__grille {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .objectifs__grille-liste {
    grid-template-columns: 1fr;
  }

  .objectifs__bas {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .a-propos__interieur {
    grid-template-columns: 1fr;
  }

  .a-propos__image-conteneur {
    height: 360px;
  }

  .linkedin__grille {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__interieur {
    grid-template-columns: 1fr;
  }

  .cta__grille {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .cta__liste li {
    justify-content: center;
  }

  .pied__grille {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------------------------------------------------
   MOBILE (≤ 640px)
--------------------------------------------------------- */
@media (max-width: 640px) {

  /* --- Global : marges latérales uniformes --- */
  .conteneur {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* --- Boutons : taille réduite --- */
  .btn {
    font-size: 11px;
    padding: 13px 20px;
    letter-spacing: 0.8px;
    gap: 8px;
  }

  /* --- En-tête --- */
  .entete__nav {
    display: none;
  }

  .entete__interieur {
    padding: 0 16px;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 80px;
  }

  .hero__photo {
    width: 100%;
    opacity: 0.25;
  }

  .hero__photo::before {
    background: linear-gradient(to bottom, var(--noir) 0%, transparent 40%, var(--noir) 100%);
  }

  .hero__interieur {
    padding: 64px 16px 80px;
  }

  .hero__titre {
    font-size: clamp(26px, 7vw, 40px);
  }

  .hero__scroll {
    display: none;
  }

  /* --- Stats --- */
  .stats {
    padding: 32px 16px;
  }

  .stats__grille {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stats__item {
    padding: 16px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .stats__item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .stats__chiffre {
    font-size: 24px;
  }

  .stats__libelle {
    font-size: 11px;
  }

  /* --- Objectifs --- */
  .objectifs {
    padding: 60px 0;
  }

  .objectifs__libelle {
    font-size: clamp(15px, 4vw, 18px);
  }

  .objectifs__grille-liste,
  .objectifs__bas {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .objectifs__card {
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 16px;
  }

  /* --- Processus --- */
  .processus {
    padding: 60px 0;
  }

  .processus__titre {
    font-size: 26px;
  }

  .processus__etapes {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 16px;
  }

  .processus__etapes::before {
    display: none;
  }

  .etape {
    padding: 0;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .etape__numero {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .etape__numero svg {
    width: 18px;
    height: 18px;
  }

  .etape__badge {
    width: 20px;
    height: 20px;
    font-size: 10px;
    top: -8px;
    right: -6px;
  }

  /* --- À propos --- */
  .a-propos {
    padding: 60px 0;
  }

  .a-propos__image-conteneur {
    height: auto;
  }

  .a-propos__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .a-propos__cadre {
    display: none;
  }

  .a-propos__titre {
    font-size: 26px;
  }

  /* --- Publications LinkedIn --- */
  .temoignages {
    padding: 60px 0;
  }

  .temoignages__titre {
    font-size: 26px;
  }

  .linkedin__grille {
    grid-template-columns: 1fr;
  }

  .linkedin__grille--embed {
    grid-template-columns: 1fr;
  }

  .linkedin-embed-conteneur iframe {
    min-height: 320px;
  }

  /* --- CTA --- */
  .cta {
    padding: 56px 0;
  }

  .cta__fond-texte {
    display: none;
  }

  .cta__titre {
    font-size: 26px;
  }

  /* --- Contact --- */
  .contact {
    padding: 60px 0;
  }

  .contact__titre {
    font-size: 26px;
  }

  .formulaire {
    padding: 28px 16px;
    gap: 20px;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid rgba(26,26,26,0.08);
  }

  .formulaire__groupe {
    gap: 6px;
  }

  .formulaire__groupe--double {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .formulaire__champ {
    padding: 14px 14px;
    font-size: 16px; /* évite le zoom auto sur iOS */
  }

  .formulaire__label {
    font-size: 11px;
  }

  .formulaire__textarea {
    min-height: 100px;
  }

  .formulaire__mentions {
    font-size: 11px;
  }

  /* --- Pied de page --- */
  .pied {
    padding: 48px 0 0;
  }

  .pied__grille {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .pied__bas {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 16px;
  }

  .pied__liens-bas {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }


  /* --- Notification toast --- */
  .notification {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 100%;
  }
}

/* =========================================================
   PAGES LÉGALES (page.php)
   ========================================================= */
.page-legale {
  background: var(--blanc);
}

.page-legale__main {
  padding: 80px 0 100px;
  min-height: 60vh;
}

.page-legale__interieur {
  max-width: 800px;
  margin: 0 auto;
}

.page-legale__titre {
  font-family: var(--police-titre);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--bleu-nuit);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--or);
}

.page-legale__contenu {
  font-family: var(--police-corps);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gris-fonce);
}

.page-legale__contenu h2 {
  font-family: var(--police-titre);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  margin-top: 48px;
  margin-bottom: 16px;
}

.page-legale__contenu h3 {
  font-family: var(--police-titre);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-legale__contenu p {
  margin-bottom: 16px;
}

.page-legale__contenu ul,
.page-legale__contenu ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-legale__contenu li {
  margin-bottom: 8px;
}

.page-legale__contenu a {
  color: var(--vert);
  text-decoration: underline;
}

.page-legale__contenu a:hover {
  color: var(--bleu-nuit);
}

@media (max-width: 640px) {
  .page-legale__main {
    padding: 48px 0 64px;
  }
}
