/* ============================================================
   STYLE.CSS — Site personnel de Nathalie Symons — v10
   ============================================================ */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */
:root {
  --color-bg: #FAF9F6;
  --color-bg-blueish: #E8EDF4;
  --color-bg-sage: #E4EBE4;
  --color-white: #FFFFFF;
  --color-text: #2E3D4F;
  --color-text-muted: #45606F;
  --color-sage: #8FA08F;
  --color-gold: #C9B37E;
  --color-gold-dark: #B09B64;
  --color-gold-warm: #C9A84C;
  --color-border: #D8D4CA;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  --container-max: 1240px;
  --container-pad: 2rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(46, 61, 79, .08);
  --shadow-md: 0 4px 20px rgba(46, 61, 79, .12);
  --shadow-lg: 0 8px 40px rgba(46, 61, 79, .15);
  --tr-fast: .18s ease;
  --tr-normal: .3s ease;
  --tr-slow: .5s ease;
  --nav-height: 70px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input,
textarea {
  font-family: var(--font-body);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================
   2. TYPOGRAPHIE
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

strong {
  color: var(--color-text);
  font-weight: 600;
}


/* ============================================================
   3. UTILITAIRES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: .8rem 2rem;
  border-radius: var(--radius-xl);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background var(--tr-normal), color var(--tr-normal), box-shadow var(--tr-normal), transform var(--tr-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(201, 179, 126, .3);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  box-shadow: 0 6px 24px rgba(201, 179, 126, .45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(201, 179, 126, .06);
}

.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin: 1.2rem 0 2.4rem;
  border-radius: 2px;
}

.section-divider--centered {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--color-text);
  font-weight: 500;
}

.section-title--centered {
  text-align: center;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.section-intro--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* ============================================================
   4. NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250, 249, 246, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--tr-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--tr-fast);
}

.nav-logo:hover {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
  background: rgba(201, 179, 126, .08);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--tr-fast);
}

.nav-burger:hover {
  background: rgba(201, 179, 126, .1);
}

.burger-line {
  display: block;
  width: 22px;
  height: 1.8px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--tr-normal), opacity var(--tr-fast);
  transform-origin: center;
}

.nav-burger.is-open .burger-line:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}

.nav-burger.is-open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.is-open .burger-line:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* ============================================================
   CORRECTION 3 — Menu mobile plein écran (iOS compatible)
   position: fixed, top:0, min-height: 100dvh, z-index: 9999
   background solide sans transparence
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100dvh;
  min-height: 100vh;
  background: #FAF9F6;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform .35s ease;
  box-shadow: -8px 0 40px rgba(46, 61, 79, .3);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--tr-fast);
}

.mobile-nav-link:hover {
  color: var(--color-gold);
}


/* ============================================================
   5. HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--container-pad) var(--space-xl);
  background: linear-gradient(135deg, var(--color-bg) 0%, #F5F2EC 50%, #EAEdEA 100%);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-photo-placeholder {
  width: 320px;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--color-border) 0%, #CEC9BF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(201, 179, 126, .12) 0%, rgba(143, 160, 143, .12) 100%);
}

.placeholder-initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 500;
  color: rgba(46, 61, 79, .4);
  letter-spacing: .1em;
  position: relative;
  z-index: 1;
}

.hero-photo {
  width: 320px;
  height: 380px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .75rem;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-sage);
  letter-spacing: .04em;
  margin-bottom: var(--space-sm);
}

.hero-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.deco-circle--1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
  opacity: .5;
}

.deco-circle--2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -80px;
  border-color: rgba(201, 179, 126, .2);
  opacity: .7;
}

.deco-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(201, 179, 126, .2), transparent);
  transform: translate(-50%, -50%);
}


/* ============================================================
   6. SECTIONS COMMUNES
   ============================================================ */
.section {
  padding: var(--space-xxl) 0;
}

.section--light {
  background-color: var(--color-bg);
}

.section--blueish {
  background-color: var(--color-bg-blueish);
}

.section--sage {
  background-color: var(--color-bg-sage);
}


/* ============================================================
   7. QUI SUIS-JE ?
   ============================================================ */
.bio-header {
  max-width: 720px;
  margin: 0 auto;
}

.bio-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-warm);
  margin-top: 0;
  margin-bottom: 2.8rem;
  line-height: 1.4;
}

.bio-wrapper {
  position: relative;
}

.bio-content {
  max-width: 720px;
  margin: 0 auto;
}

.bio-text {
  font-size: 1.03rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.bio-list {
  list-style: none;
  margin: var(--space-sm) 0 var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.bio-list li {
  font-size: 1.03rem;
  color: var(--color-text-muted);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.7;
}

.bio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
}

.bio-intertitre {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: var(--space-lg) 0 var(--space-sm);
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(201, 179, 126, .3);
  display: block;
}

.bio-illustration {
  position: absolute;
  right: 0;
  top: 20px;
  width: 140px;
  opacity: .13;
  pointer-events: none;
  user-select: none;
}


/* ============================================================
   8. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-border) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 1.4rem;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 2.5px solid var(--color-bg-blueish);
  box-shadow: 0 0 0 3px rgba(201, 179, 126, .2);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(201, 179, 126, .25);
}

.timeline-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr-normal), transform var(--tr-normal);
}

.timeline-item:hover .timeline-card {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-date {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .4rem;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: .25rem;
  font-family: var(--font-heading);
}

.timeline-company {
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-sage);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.timeline-desc {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   9. LÀ OÙ TOUT SE RELIE
   ============================================================ */
.crossroads-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: var(--space-lg);
}

.crossroads-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr-normal), transform var(--tr-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.crossroads-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.crossroads-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.crossroads-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.crossroads-card:hover .crossroads-img {
  transform: scale(1.04);
}

.crossroads-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-sage) 0%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sage);
}

.crossroads-body {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.crossroads-icon {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: center;
}

.crossroads-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .75rem;
}

.crossroads-text {
  font-size: .93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.crossroads-connector {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-sm);
  align-self: center;
}

.connector-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-border), var(--color-gold));
}

.connector-line:last-child {
  background: linear-gradient(90deg, var(--color-gold), var(--color-border));
}

.connector-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  opacity: .7;
  flex-shrink: 0;
}


/* ============================================================
   10. NUAGE DE MOTS
   ============================================================ */
.exploration-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg) var(--space-sm);
  position: relative;
  min-height: 220px;
  max-width: 900px;
  margin: 0 auto;
}

.cloud-word {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .75);
  border-radius: var(--radius-xl);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-text);
  transition: background var(--tr-normal), color var(--tr-normal), border-color var(--tr-normal), box-shadow var(--tr-normal), transform var(--tr-normal);
  line-height: 1.3;
  backdrop-filter: blur(4px);
  will-change: transform;
}

.cloud-word:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(201, 179, 126, .35);
  transform: scale(1.08) !important;
}

.cloud-word--major {
  font-size: 1.1rem;
  font-weight: 600;
  padding: .65rem 1.6rem;
  border-color: rgba(201, 179, 126, .4);
  box-shadow: var(--shadow-sm);
}

.cloud-word--medium {
  font-size: .95rem;
  font-weight: 500;
  padding: .55rem 1.2rem;
  color: var(--color-text-muted);
}

.cloud-word--minor {
  font-size: .82rem;
  font-weight: 400;
  padding: .45rem 1rem;
  color: var(--color-text-muted);
  opacity: .85;
}

.keyword-bubble {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.92);
  z-index: 1100;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  max-width: 420px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-normal), transform var(--tr-normal);
}

.keyword-bubble.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.bubble-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: background var(--tr-fast), color var(--tr-fast);
}

.bubble-close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.bubble-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  padding-right: 2rem;
}

.bubble-desc {
  font-size: .97rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.bubble-overlay {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(46, 61, 79, .2);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-normal);
}

.bubble-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}


/* ============================================================
   11. MES UNIVERS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.projects-grid--equal-height {
  align-items: stretch;
}

.project-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr-normal), transform var(--tr-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.project-image-wrapper {
  height: 220px;
  overflow: hidden;
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-blueish) 0%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(143, 160, 143, .3) 0%, rgba(201, 179, 126, .15) 100%);
}

.project-image-placeholder--ia::before {
  background: linear-gradient(135deg, rgba(46, 61, 79, .25) 0%, rgba(201, 179, 126, .2) 100%);
}

.placeholder-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(46, 61, 79, .45);
  position: relative;
  z-index: 1;
  letter-spacing: .05em;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.project-card:hover .project-image {
  transform: scale(1.04);
}

.project-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.project-text {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.project-objective {
  font-size: .93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: .75rem 1rem;
  background: rgba(143, 160, 143, .08);
  border-left: 2px solid var(--color-sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: .25rem;
}

.btn-project {
  font-size: .9rem;
  padding: .75rem 1.5rem;
  min-height: 48px;
  margin-top: .5rem;
  align-self: stretch;
  justify-content: center;
}

.btn-project--bottom {
  align-self: stretch;
  justify-content: center;
  margin-top: 0;
}

.project-spacer {
  flex: 1;
  min-height: 2rem;
}


/* ============================================================
   12. POP-UP IA — masqué par défaut, centré sur la page
   CORRECTION 1 : .is-open → opacity:1, pointer-events:all
   ============================================================ */
.ia-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 61, 79, .5);
  backdrop-filter: blur(3px);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.ia-popup-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.ia-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.92);
  z-index: 2200;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 460px;
  width: calc(100% - 3rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.ia-popup.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.ia-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: background var(--tr-fast), color var(--tr-fast);
  cursor: pointer;
  border: none;
  background: none;
}

.ia-popup-close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.ia-popup-emoji {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  line-height: 1;
}

.ia-popup-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.ia-popup-text {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: .75rem;
}

.ia-popup-btn {
  margin-top: 1.25rem;
  display: inline-flex;
}


/* ============================================================
   13. TÉMOIGNAGES
   ============================================================ */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.testimonials-track {
  display: flex;
  transition: transform var(--tr-slow);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial-quote-mark {
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: .18;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-quote {
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.65;
  text-align: center;
}

.testimonial-footer {
  text-align: center;
}

.testimonial-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-context {
  font-size: .82rem;
  color: var(--color-text-muted);
  margin-top: .2rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-fast);
}

.slider-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(201, 179, 126, .3);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background var(--tr-fast), transform var(--tr-fast);
  padding: 0;
}

.slider-dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
}


/* ============================================================
   14. CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.contact-subtitle--centered {
  text-align: center;
}

.contact-details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .93rem;
  color: var(--color-text-muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--tr-fast);
}

.contact-item:last-child {
  border-bottom: none;
}

a.contact-item:hover {
  color: var(--color-gold);
}

.contact-item--static,
.contact-item--phone {
  cursor: default;
}

.contact-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.phone-reveal-btn {
  font-size: .88rem;
  color: var(--color-gold);
  font-weight: 500;
  border: 1px solid rgba(201, 179, 126, .4);
  border-radius: var(--radius-xl);
  padding: .2rem .85rem;
  background: rgba(201, 179, 126, .06);
  transition: all var(--tr-fast);
  cursor: pointer;
}

.phone-reveal-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.phone-number {
  font-size: .93rem;
  color: var(--color-text-muted);
  transition: color var(--tr-fast);
}

.phone-number:hover {
  color: var(--color-gold);
}

.cv-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cv-text {
  font-size: .92rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.cv-btn {
  width: 100%;
  justify-content: center;
  font-size: .95rem;
}

.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper .contact-subtitle {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: .02em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 179, 126, .15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(69, 96, 111, .45);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  align-self: flex-start;
  padding: .85rem 2.2rem;
}

.form-rgpd {
  font-size: .92rem;
  font-style: italic;
  color: var(--color-sage);
  line-height: 1.6;
  margin-top: -.25rem;
}

.form-notice {
  font-size: .88rem;
  color: var(--color-sage);
  min-height: 1.2em;
}


/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-text);
  padding: var(--space-xl) 0;
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-bg);
  letter-spacing: .04em;
}

.footer-tagline {
  font-style: italic;
  color: rgba(250, 249, 246, .75);
  font-size: 1rem;
}

.footer-collab {
  font-size: .85rem;
  color: rgba(250, 249, 246, .55);
  max-width: 600px;
  line-height: 1.7;
  margin-top: .5rem;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(250, 249, 246, .35);
  margin-top: .5rem;
  letter-spacing: .03em;
}


/* ============================================================
   16. CHATBOT
   ============================================================ */
.chatbot-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.25rem;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 24px rgba(46, 61, 79, .3);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: all var(--tr-normal);
}

.chatbot-toggle:hover {
  background: var(--color-gold);
  box-shadow: 0 8px 28px rgba(201, 179, 126, .4);
  transform: translateY(-2px);
}

.chatbot-toggle-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.chatbot-window {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  width: 360px;
  max-height: 560px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.97);
  transform-origin: bottom right;
  transition: opacity var(--tr-normal), transform var(--tr-normal);
}

.chatbot-window.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-text);
  color: var(--color-bg);
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.chatbot-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-bg);
  font-family: var(--font-body);
  line-height: 1.2;
}

.chatbot-status {
  font-size: .75rem;
  color: rgba(250, 249, 246, .6);
  margin-top: .1rem;
}

.chatbot-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(250, 249, 246, .7);
  transition: background var(--tr-fast), color var(--tr-fast);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--color-bg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.chat-message {
  max-width: 85%;
  padding: .65rem .95rem;
  border-radius: var(--radius-md);
  font-size: .88rem;
  line-height: 1.6;
  animation: messageIn .25s ease-out;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-message--bot {
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message--user {
  background: var(--color-text);
  color: var(--color-bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .5rem var(--space-sm);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  flex-shrink: 0;
  max-height: 130px;
  overflow-y: auto;
}

.quicklink-btn {
  font-size: .75rem;
  padding: .35rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  color: var(--color-text-muted);
  background: var(--color-white);
  transition: all var(--tr-fast);
  cursor: pointer;
  white-space: nowrap;
}

.quicklink-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem var(--space-sm);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.chatbot-input {
  flex: 1;
  padding: .55rem .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-size: .88rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--tr-fast);
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.chatbot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.chatbot-send:hover {
  background: var(--color-gold-dark);
  transform: scale(1.1);
}


/* ============================================================
   17. ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-item:nth-child(1) { transition-delay: .1s; }
.reveal-item:nth-child(2) { transition-delay: .2s; }
.reveal-item:nth-child(3) { transition-delay: .3s; }
.reveal-item:nth-child(4) { transition-delay: .4s; }
.reveal-item:nth-child(5) { transition-delay: .5s; }

@keyframes floatWord {
  0%, 100% { transform: translateY(0) rotate(var(--word-rotation, 0deg)); }
  50%       { transform: translateY(-4px) rotate(var(--word-rotation, 0deg)); }
}

.cloud-word { animation: floatWord 5.5s ease-in-out infinite; }
.cloud-word:nth-child(odd)  { animation-duration: 5.2s; animation-delay: 0s; }
.cloud-word:nth-child(even) { animation-duration: 6.3s; animation-delay: .6s; }
.cloud-word:nth-child(3n)   { animation-duration: 4.8s; animation-delay: 1.1s; }
.cloud-word:nth-child(5n)   { animation-duration: 6.8s; animation-delay: .3s; }


/* ============================================================
   18. RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --container-pad: 1.5rem;
    --space-xxl: 4.5rem;
  }

  .bio-illustration { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .hero-image-wrapper { order: -1; }

  .hero-photo-placeholder,
  .hero-photo { width: 240px; height: 280px; }

  .hero-buttons { justify-content: center; }
  .hero-content { max-width: 100%; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .crossroads-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .crossroads-connector {
    flex-direction: column;
    padding: 0;
    align-self: auto;
  }

  .connector-line {
    width: 1.5px;
    height: 20px;
    background: linear-gradient(180deg, var(--color-border), var(--color-gold));
  }

  .connector-line:last-child {
    background: linear-gradient(180deg, var(--color-gold), var(--color-border));
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .bio-header { max-width: 100%; }
}


/* ============================================================
   19. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.2rem;
    --space-xl: 2.5rem;
    --space-xxl: 3.5rem;
    --nav-height: 60px;
  }

  .section { padding: var(--space-xl) 0; }
  .bio-illustration { display: none; }

  .hero-section {
    padding: calc(var(--nav-height) + 2rem) var(--container-pad) 3rem;
    min-height: auto;
  }

  .hero-photo-placeholder,
  .hero-photo { width: 180px; height: 220px; }

  .hero-name { font-size: 2rem; }
  .hero-tagline { font-size: 1.1rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .timeline { padding-left: 1.8rem; }
  .timeline-card { padding: var(--space-sm) var(--space-md); }

  .exploration-cloud { gap: .6rem; padding: var(--space-md) 0; }
  .cloud-word--major  { font-size: .98rem; padding: .55rem 1.2rem; }
  .cloud-word--medium { font-size: .88rem; padding: .45rem 1rem; }
  .cloud-word--minor  { font-size: .78rem; padding: .38rem .85rem; }

  .form-row { grid-template-columns: 1fr; }

  .chatbot-wrapper { bottom: 1.2rem; right: 1.2rem; }

  .chatbot-window {
    width: calc(100vw - 2.4rem);
    right: 0;
    max-height: 480px;
  }

  .chatbot-toggle-label { display: none; }

  .chatbot-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .testimonial-card { padding: var(--space-lg) var(--space-md); }
  .contact-details { padding: var(--space-md); }
  .contact-form-wrapper { padding: var(--space-md); }
  .crossroads-card-image { height: 130px; }
  .ia-popup { padding: 2rem 1.5rem 1.5rem; }
}


/* ============================================================
   20. RESPONSIVE — PETIT MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --container-pad: 1rem; }

  .hero-name { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .testimonial-quote p { font-size: 1rem; }

  .chatbot-window {
    width: calc(100vw - 2rem);
    right: 0;
  }

  .crossroads-body { padding: var(--space-md); }
  .project-content { padding: var(--space-md); }
  .timeline-card { padding: var(--space-sm); }

  .btn-project {
    align-self: stretch;
    justify-content: center;
  }
}
