/* =============================================
   RESET & BASE
   Neutralise les marges/paddings par défaut
   du navigateur et définit box-sizing global
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* =============================================
   VARIABLES CSS
   Palette de Célia + tokens de design :
   violet, jaune, bleu, fond crème, typographies
   ============================================= */
:root {
  --violet:     #a98abf;
  --violet-dark:#8a6ba0;
  --violet-light:#d4b8e3;
  --jaune:      #f9b233;
  --jaune-pale: #fefdef;
  --bleu:       #aecfec;
  --bleu-light: #d6eaf8;
  --blanc:      #ffffff;
  --texte:      #3a2d45;
  --texte-soft: #6b5878;
  --border:     rgba(169, 138, 191, 0.25);
  --shadow:     0 8px 40px rgba(169, 138, 191, 0.18);
  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  32px;
  --radius-xl:  48px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;
}

/* =============================================
   TYPOGRAPHIE GLOBALE
   Playfair Display pour les titres (élégant),
   DM Sans pour le corps (lisibilité)
   ============================================= */
body {
  font-family: var(--font-body);
  background: var(--jaune-pale);
  color: var(--texte);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { font-size: 1rem; line-height: 1.75; }

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

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

/* =============================================
   HEADER & NAVIGATION
   Fixe en haut, fond blanc givré, logo et nav
   ============================================= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(254, 253, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(169,138,191,0.12);
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.5px;
  cursor: pointer;
}
.logo span { color: var(--jaune); }

/* Navigation desktop */
nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--texte-soft);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  transition: all 0.22s ease;
  white-space: nowrap;
}

nav a:hover {
  color: var(--violet);
  background: rgba(169,138,191,0.1);
}

nav a.active {
  color: var(--violet);
  background: rgba(169,138,191,0.12);
}

nav a.nav-cta {
  background: var(--violet);
  color: white;
  padding: 7px 18px;
}

nav a.nav-cta:hover {
  background: var(--violet-dark);
  transform: translateY(-1px);
}

/* Hamburger mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO / HOME
   Grande section d'accueil avec présentation
   ============================================= */
.hero {
  min-height: 100vh;
  padding: 110px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-text { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(174, 207, 236, 0.3);
  border: 1px solid var(--bleu);
  color: #4a7fa5;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--jaune);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-text h1 {
  color: var(--texte);
  margin-bottom: 8px;
}

.hero-text h1 .accent { color: var(--violet); }

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--violet-light);
  margin-bottom: 24px;
  font-style: italic;
}

.hero-text p {
  color: var(--texte-soft);
  max-width: 520px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--violet);
  color: white;
  box-shadow: 0 4px 20px rgba(169,138,191,0.35);
}
.btn-primary:hover {
  background: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(169,138,191,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet);
}
.btn-secondary:hover {
  background: rgba(169,138,191,0.08);
  transform: translateY(-2px);
}

.btn-jaune {
  background: var(--jaune);
  color: white;
  box-shadow: 0 4px 20px rgba(249,178,51,0.3);
}
.btn-jaune:hover {
  background: #e8a020;
  transform: translateY(-2px);
}

/* Carte profil hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  max-width: 320px;
  position: relative;
  z-index: 2;
}

.profile-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-light), var(--bleu));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(169,138,191,0.3);
}

.profile-card h3 {
  color: var(--texte);
  margin-bottom: 4px;
}

.profile-card .role {
  color: var(--violet);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.tag {
  background: var(--jaune-pale);
  border: 1px solid var(--border);
  color: var(--texte-soft);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 500;
}

.tag-violet { background: rgba(169,138,191,0.12); border-color: rgba(169,138,191,0.3); color: var(--violet); }
.tag-jaune  { background: rgba(249,178,51,0.1);  border-color: rgba(249,178,51,0.35); color: #c88a1a; }
.tag-bleu   { background: rgba(174,207,236,0.2); border-color: var(--bleu); color: #4a7fa5; }

.stat-row {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--violet);
  display: block;
}
.stat-item .label {
  font-size: 0.72rem;
  color: var(--texte-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Décorations SVG hero */
.hero-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.hero-decor-1 { top: 60px; right: -40px; width: 180px; }
.hero-decor-2 { bottom: 40px; left: -30px; width: 120px; }

/* =============================================
   SECTIONS COMMUNES
   ============================================= */
section { width: 100%; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  color: var(--texte);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--texte-soft);
  max-width: 560px;
  margin: 0 auto;
}

/* Séparateur décoratif */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px auto 0;
  max-width: 200px;
  justify-content: center;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
.section-divider .dot {
  width: 8px; height: 8px;
  background: var(--jaune);
  border-radius: 50%;
}

/* =============================================
   EXPÉRIENCES (section home)
   ============================================= */
.experiences {
  background: white;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.exp-card {
  background: var(--jaune-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.exp-card .period {
  display: inline-block;
  background: rgba(169,138,191,0.12);
  color: var(--violet);
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.exp-card h3 { color: var(--texte); margin-bottom: 6px; }
.exp-card .company { color: var(--violet); font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.exp-card p { color: var(--texte-soft); font-size: 0.9rem; }

/* =============================================
   APERÇU PROJETS (section home)
   Cards cliquables vers les pages catégories
   ============================================= */
.projets-apercu { background: var(--jaune-pale); }

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

.apercu-cat {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(169,138,191,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.apercu-cat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.apercu-cat-header {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.apercu-cat-header.comm-bg   { background: linear-gradient(135deg, rgba(249,178,51,0.15), rgba(249,178,51,0.05)); }
.apercu-cat-header.graphisme-bg { background: linear-gradient(135deg, rgba(169,138,191,0.2), rgba(174,207,236,0.1)); }
.apercu-cat-header.photo-bg  { background: linear-gradient(135deg, rgba(174,207,236,0.2), rgba(169,138,191,0.1)); }

.apercu-cat-body { padding: 20px; }
.apercu-cat-body h3 { color: var(--texte); margin-bottom: 6px; }
.apercu-cat-body .desc { color: var(--texte-soft); font-size: 0.875rem; margin-bottom: 16px; }

.apercu-mini-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.apercu-mini-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--texte-soft);
}
.apercu-mini-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--jaune);
  border-radius: 50%;
  flex-shrink: 0;
}

.apercu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.2s ease;
}
.apercu-link:hover { gap: 10px; }
.apercu-link svg { width: 16px; height: 16px; }

/* =============================================
   PAGE LAYOUT (pages internes)
   ============================================= */
.page-hero {
  background: white;
  padding: 110px 40px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero span { display: block; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--texte-soft); font-size: 1.05rem; }

.page-hero-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.25;
}
.page-hero-decor-l { left: -60px; top: 10px; width: 200px; }
.page-hero-decor-r { right: -60px; bottom: 10px; width: 180px; transform: scaleX(-1); }

/* =============================================
   CARDS PROJETS génériques
   ============================================= */
.projects-section { background: var(--jaune-pale); }

.category-block { margin-bottom: 60px; }

.category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.category-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(169,138,191,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.category-title h2 {
  font-size: 1.5rem;
  color: var(--texte);
}

.category-title .cat-count {
  font-size: 0.75rem;
  color: var(--texte-soft);
  background: var(--border);
  padding: 2px 10px;
  border-radius: 20px;
}

/* Grille projets */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.proj-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.proj-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, rgba(169,138,191,0.1), rgba(174,207,236,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.proj-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

.proj-card-body { padding: 20px; }
.proj-card-body h3 { color: var(--texte); margin-bottom: 6px; font-size: 1.05rem; }
.proj-card-body p { color: var(--texte-soft); font-size: 0.875rem; margin-bottom: 14px; }

.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* =============================================
   SECTION COMM
   ============================================= */

/* Newsletter slider */
.newsletter-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  flex-shrink: 0;
  width: 100%;
}

.slide img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  object-position: top;
  background: #f8f5fe;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: white;
}

.slider-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
  color: var(--violet);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  font-size: 1rem;
}
.slider-btn:hover { background: var(--violet); color: white; border-color: var(--violet); }

.slider-dots { display: flex; gap: 6px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.slider-dot.active { background: var(--violet); width: 20px; border-radius: 4px; }

/* Texte intro + contexte */
.intro-block {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 4px solid var(--violet);
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet);
  margin-bottom: 28px;
}
.intro-block p { color: var(--texte-soft); font-size: 0.95rem; }
.intro-block a { color: var(--violet); text-decoration: underline; }

/* PDF viewer / download card */
.pdf-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.pdf-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.pdf-icon {
  width: 52px; height: 52px;
  background: rgba(169,138,191,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pdf-info h3 { color: var(--texte); margin-bottom: 4px; font-size: 1rem; }
.pdf-info p { color: var(--texte-soft); font-size: 0.85rem; margin-bottom: 10px; }

.pdf-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-sm {
  padding: 7px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-xl);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-sm-primary { background: var(--violet); color: white; border: none; }
.btn-sm-primary:hover { background: var(--violet-dark); }
.btn-sm-secondary { background: transparent; color: var(--violet); border: 2px solid var(--violet); }
.btn-sm-secondary:hover { background: rgba(169,138,191,0.1); }

/* =============================================
   SECTION PHOTO
   ============================================= */
.photo-category { margin-bottom: 64px; }

.photo-cat-header {
  margin-bottom: 20px;
}
.photo-cat-header h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.photo-cat-header h2 .emoji { font-size: 1.3rem; }

.photo-cat-desc {
  background: rgba(174,207,236,0.15);
  border-left: 3px solid var(--bleu);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  color: var(--texte-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.photo-cat-desc a { color: var(--violet); text-decoration: underline; }

/* Galerie masonry simulée */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.photo-placeholder {
  background: linear-gradient(135deg, var(--bleu-light), rgba(169,138,191,0.15));
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2rem;
  color: var(--texte-soft);
  border: 1px dashed var(--bleu);
  transition: all 0.25s ease;
}
.photo-placeholder:hover {
  transform: scale(1.02);
  border-color: var(--violet);
  background: rgba(169,138,191,0.1);
}
.photo-placeholder small {
  font-size: 0.7rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 0 8px;
}

/* =============================================
   FAKE NEWS (MAGAZINE FLIPPER)
   ============================================= */
.magazine-viewer {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 60px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid var(--border);
}

.magazine-header {
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.magazine-header h3 { font-size: 1rem; }

.magazine-pages {
  position: relative;
  background: #f5f0f8;
  overflow: hidden;
}

.pdf-frame {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* =============================================
   SECTION GRAPHISME
   ============================================= */
.graphisme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.graphisme-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
}
.graphisme-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.graphisme-thumb {
  height: 160px;
  background: linear-gradient(135deg, rgba(169,138,191,0.12), rgba(249,178,51,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}
.graphisme-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

.graphisme-label {
  padding: 12px 14px;
}
.graphisme-label h4 { font-size: 0.9rem; color: var(--texte); margin-bottom: 2px; }
.graphisme-label small { font-size: 0.75rem; color: var(--texte-soft); }

/* =============================================
   SECTION CONTACT
   ============================================= */
.contact-section {
  background: white;
}

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

.contact-intro p {
  color: var(--texte-soft);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--jaune-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--texte);
  transition: all 0.25s ease;
}
.contact-link-item:hover {
  border-color: var(--violet);
  background: rgba(169,138,191,0.06);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.icon-mail   { background: rgba(249,178,51,0.15); }
.icon-phone  { background: rgba(174,207,236,0.25); }
.icon-li     { background: rgba(169,138,191,0.15); }
.icon-flickr { background: rgba(174,207,236,0.2); }
.icon-insta  { background: rgba(249,178,51,0.12); }

.contact-link-info { flex: 1; }
.contact-link-info strong { display: block; font-size: 0.85rem; color: var(--texte); }
.contact-link-info span { font-size: 0.8rem; color: var(--texte-soft); }

.contact-cv-box {
  background: linear-gradient(135deg, rgba(169,138,191,0.1), rgba(174,207,236,0.12));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}
.contact-cv-box h3 { margin-bottom: 10px; }
.contact-cv-box p { color: var(--texte-soft); font-size: 0.9rem; margin-bottom: 20px; }

.contact-visual {
  position: relative;
}

.contact-illustration {
  background: linear-gradient(135deg, rgba(169,138,191,0.08), rgba(174,207,236,0.15));
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.contact-illustration .big-emoji { font-size: 5rem; display: block; margin-bottom: 20px; }
.contact-illustration h3 { margin-bottom: 10px; }
.contact-illustration p { color: var(--texte-soft); font-size: 0.9rem; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--texte);
  color: rgba(255,255,255,0.8);
  padding: 40px;
  text-align: center;
}

footer .footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
footer .footer-logo span { color: var(--jaune); }

footer p { font-size: 0.85rem; opacity: 0.6; margin-top: 12px; }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 16px 0;
  flex-wrap: wrap;
}
footer .footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--violet-light); }

/* =============================================
   PLANTES DÉCORATIVES
   Positionnées de façon absolue sur le fond
   des pages pour enrichir la mise en page
   ============================================= */
.plant-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

/* =============================================
   ANIMATIONS D'ENTRÉE AU SCROLL
   Classe .reveal ajoutée par JS quand l'élément
   entre dans le viewport
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Délais en cascade */
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.12s; }
.fade-up:nth-child(3) { transition-delay: 0.19s; }
.fade-up:nth-child(4) { transition-delay: 0.26s; }
.fade-up:nth-child(5) { transition-delay: 0.33s; }

/* =============================================
   MODAL LIGHTBOX (pour photos)
   ============================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { border-radius: var(--radius-sm); max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: -12px; right: -12px;
  width: 36px; height: 36px;
  background: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.lightbox-close:hover { transform: scale(1.1); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .apercu-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  header { padding: 0 20px; }

  nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(254,253,239,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 999;
  }
  nav.open { display: flex; }
  nav a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .menu-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    text-align: center;
    gap: 40px;
  }
  .hero-text p { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-decor { display: none; }
  .profile-card { max-width: 100%; }

  .section-inner { padding: 60px 20px; }
  .apercu-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 20px 50px; }
  .page-hero-decor { display: none; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .graphisme-grid { grid-template-columns: repeat(2, 1fr); }

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

@media (max-width: 480px) {
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .graphisme-grid { grid-template-columns: 1fr 1fr; }
}
