/* ============================================================
   MILIEU CRÉATIF — Feuille de style v2
   Espacement réduit, sections aérées, tailles harmonisées
   ============================================================ */
 
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');
 
/* ─── 1. VARIABLES ───────────────────────────────────────────── */
:root {
  --clay:        #D9C3B0;
  --sage:        #B5C4B1;   /* conservé, non utilisé */
  --linen:       #F5F0E8;
  --chalk:       #FAF8F4;
  --stone:       #9E9287;
  --charcoal:    #2E2B27;
  --blush:       #E8D5C4;
  --sky:         #C8D8E4;
  --warm-white:  #FEFCF9;
  --accent:      rgb(196, 149, 106);
  --accent-dark: #A0744A;
 
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Poppins', sans-serif;
 
  /* Espacement global réduit et cohérent */
  --section-py:  4.5rem;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
 
  --shadow-soft: 0 2px 16px rgba(46,43,39,.06);
  --shadow-card: 0 4px 28px rgba(46,43,39,.09);
  --shadow-hover:0 10px 40px rgba(46,43,39,.13);
 
  --ease-smooth: cubic-bezier(.25,.46,.45,.94);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}
 
/* ─── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
html {
  scroll-behavior: smooth;
  font-size: 15px;           /* base réduite de 16 → 15px */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
body {
  font-family: var(--font-body);
  background-color: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.68;
  overflow-x: hidden;
}
 
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
 
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .8rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }
 
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
 
/* ─── 3. TYPOGRAPHIE ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}
 
/* Titres de section — taille réduite et respiration contrôlée */
.text-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);   /* était 2–3rem */
  font-weight: 300;
  letter-spacing: -.3px;
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
}
 
.text-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 36px;
  height: 1.5px;
  background: var(--accent);
  transition: width .4s var(--ease-smooth);
}
 
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .6rem;
}
 
/* Intro de section (texte muted sous le titre) */
.section-intro {
  font-size: .95rem;
  color: var(--stone);
  max-width: 520px;
  margin: 1rem auto 0;
  line-height: 1.65;
}
 
/* ─── 4. NAVBAR ──────────────────────────────────────────────── */
.navbar {
  padding: .9rem 0;
  background: transparent;
  transition: background .4s var(--ease-smooth), padding .4s;
}
 
.navbar.scrolled {
  background: rgba(254,252,249,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .55rem 0;
  box-shadow: 0 1px 20px rgba(46,43,39,.08);
}
 
.navbar.scrolled .nav-link    { color: var(--charcoal) !important; }
 
#brand img,
#brand svg {
  height: 72px;
  width: auto;
  transition: transform .3s var(--ease-bounce);
}
 
#brand:hover img,
#brand:hover svg { transform: scale(1.06); }
 
.nav-link {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(46,43,39,.75) !important;
  padding: .45rem .85rem !important;
  position: relative;
  transition: color .3s !important;
}
 
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: .85rem;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--ease-smooth);
}
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 1.7rem); }
 
.navbar-toggler {
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  padding: .35rem .55rem;
}
.navbar-toggler:focus { box-shadow: none; }
 
/* ─── 5. HERO ────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(245,240,232,.72) 0%, rgba(245,240,232,.45) 50%, rgba(217,195,176,.3) 100%),
    url('../image/background-hero.jpg') center/cover no-repeat;
  background-color: var(--linen);
}
 
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
 
.hero-section .container {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
}
 
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);   /* était 3.5–8rem */
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(40px);
}
 
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(.92rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--stone);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
}
 
.btn.contacter {
  background: transparent;
  border: 1px solid rgba(46,43,39,.45);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .85rem 2.2rem;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, color .3s;
  opacity: 0;
  transform: translateY(20px);
}
 
.btn.contacter a {
  color: inherit;
  position: relative;
  z-index: 2;
}
 
.btn.contacter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-smooth);
}
.btn.contacter:hover::before { transform: scaleX(1); }
.btn.contacter:hover { border-color: var(--accent); }
 
/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(46,43,39,.4);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
 
.scroll-hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(46,43,39,.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
 
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(.5); opacity: .35; }
}
 
/* ─── Hero social ─────────────────────────────────────────────── */
.hero-social {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  z-index: 2;
}
 
.hero-social::before,
.hero-social::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
}
.hero-social::before {
  background: linear-gradient(to bottom, transparent, rgba(46,43,39,.25));
  margin-bottom: .1rem;
}
.hero-social::after {
  background: linear-gradient(to top, transparent, rgba(46,43,39,.25));
  margin-top: .1rem;
}
 
.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  font-size: 1.1rem;
  border: 1.5px solid rgba(46,43,39,.3);
  border-radius: 50%;
  transition: all .3s var(--ease-bounce);
}
.hero-social a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.15);
}
 
/* ─── 6. QUI SOMMES-NOUS ─────────────────────────────────────── */
#qui-sommes-nous {
  padding: var(--section-py) 0;
  background: var(--chalk);
  overflow: hidden;
}
 
.about {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
 
.about::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  pointer-events: none;
  opacity: .6;
}
 
.div-img {
  position: relative;
  padding-bottom: 14px;
  padding-right: 14px;
}
 
.div-img img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
  transition: transform .6s var(--ease-smooth), box-shadow .6s;
  display: block;
}
 
.div-img:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}
 
.div-img::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: 1.5px solid var(--clay);
  border-radius: var(--radius-md);
  z-index: -1;
  transition: transform .4s var(--ease-smooth);
}
.div-img:hover::after { transform: translate(3px, 3px); }
 
.card-text {
  font-size: .92rem;
  color: var(--stone);
  line-height: 1.78;
  margin-bottom: .85rem;
}
.card-text strong { color: var(--charcoal); font-weight: 600; }
 
/* ─── 7. SAVOIR-FAIRE ────────────────────────────────────────── */
#savoir-faire {
  padding: var(--section-py) 0 calc(var(--section-py) + 1rem);
  background: var(--linen);
  position: relative;
  overflow: hidden;
}
 
.pb-section { padding-bottom: calc(var(--section-py) + 1rem) !important; }
 
#savoir-faire::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: .25;
  pointer-events: none;
}
 
/* Texte d'intro dans la section savoir-faire */
#savoir-faire .text-center > p,
#savoir-faire .lead {
  font-size: .9rem;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: .5rem;
}
 
#savoir-faire h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  padding: .75rem 0 .25rem;
  margin-bottom: .25rem;
}
 
.skill-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(196,149,106,.15);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.25rem !important;  /* réduit vs p-4 Bootstrap */
  transition: transform .4s var(--ease-smooth), box-shadow .4s, border-color .4s;
  position: relative;
  overflow: hidden;
}
 
.skill-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), #C4956A, var(--clay));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-smooth);
}
 
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(196,149,106,.4);
}
.skill-card:hover::before { transform: scaleX(1); }
 
.icon-box {
  width: 52px; height: 52px;    /* était 64px */
  margin: 0 auto .85rem;
  background: linear-gradient(135deg, #EDD9C5, var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-bounce), background .4s;
}
 
.skill-card:hover .icon-box {
  transform: scale(1.08) rotate(7deg);
  background: linear-gradient(135deg, var(--accent), #A0744A);
}
 
.icon-box i { color: var(--accent); font-size: .95rem; }
 
.skill-card h4 {
  font-size: 1rem;
  margin-bottom: .45rem;
  color: var(--charcoal);
}
 
.skill-card .small {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--stone);
  display: block;
  margin-bottom: .75rem;
}
 
.skill-card a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: gap .3s;
}
.skill-card a::after { content: '→'; transition: transform .3s; }
.skill-card:hover a  { gap: .5rem; }
.skill-card:hover a::after { transform: translateX(2px); }
 
/* ─── 8. RÉALISATIONS ────────────────────────────────────────── */
#realisations {
  padding: var(--section-py) 0;
  background: var(--chalk);
}
 
.bg-light-organic { background: var(--chalk); }
 
.project-item {
  position: relative;
  margin-bottom: .5rem;
}
 
.project-item h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: .3rem;
  color: var(--charcoal);
}
 
.project-item .small {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--stone);
  margin-bottom: .6rem;
  display: block;
}
 
/* Before/After slider */
.img-comp-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: var(--shadow-card);
  user-select: none;
}
 
.img-comp-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
 
.img-comp-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
 
.img-comp-overlay { width: 50%; }
 
.img-comp-slider {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: #fff;
  cursor: ew-resize;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,.2);
}
 
.img-comp-slider::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E2B27' stroke-width='2'%3E%3Cpath d='M9 18l-6-6 6-6'/%3E%3Cpath d='M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}
 
.img-comp-container::before,
.img-comp-container::after {
  position: absolute;
  top: 10px;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(46,43,39,.5);
  padding: .2rem .5rem;
  border-radius: 100px;
  z-index: 5;
  backdrop-filter: blur(4px);
}
.img-comp-container::before { content: 'Après'; left: 10px; }
.img-comp-container::after  { content: 'Avant'; right: 10px; }
 
/* Bouton "Discuter" sous réalisations */
#realisations .btn-primary { margin-top: 1rem; }
 
/* ─── 9. TÉMOIGNAGES ─────────────────────────────────────────── */
#avis {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--blush) 0%, var(--linen) 50%, var(--sky) 100%);
  position: relative;
  overflow: hidden;
}
 
#avis::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 14rem;
  color: rgba(196,149,106,.07);
  line-height: 1;
  pointer-events: none;
}
 
/* ─── 10. CONTACT ────────────────────────────────────────────── */
#contact { background: var(--linen); }
 
#contact iframe {
  width: 100%;
  height: 320px;           /* était 380px */
  display: block;
  filter: grayscale(25%) contrast(1.04);
}
 
#contact .container {
  padding-top: 0;
  position: relative;
}
 
.box {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;   /* était 3.5rem 3rem */
  box-shadow: var(--shadow-card);
  margin-top: -60px;          /* était -80px */
  position: relative;
  z-index: 2;
  border: 1px solid rgba(196,149,106,.1);
}
 
.heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);  /* était 1.8–2.5rem */
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
 
.form-label,
.col-form-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .3rem;
  display: block;
}
 
.form-control,
.form-select,
.custom-select {
  background: var(--chalk);
  border: 1px solid rgba(46,43,39,.1);
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;     /* était .75rem 1rem */
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--charcoal);
  transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
}
 
.form-control::placeholder { color: rgba(158,146,135,.55); }
 
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,149,106,.12);
  background: var(--warm-white);
  outline: none;
}
 
textarea.form-control {
  resize: vertical;
  min-height: 120px;         /* était 140px */
}
 
/* Groupes de formulaire — espacement interne */
.form-group { margin-bottom: .9rem; }
 
/* Bouton submit */
#contact .btn-primary,
.btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--accent) !important;
  border: none !important;
  color: #fff !important;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2.5rem;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  cursor: pointer;
}
 
/* btn-primary hover handled via background transition directly */
 
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,149,106,.35);
  color: #fff !important;
  background: var(--accent-dark) !important;
}
 
 
/* ─── 11. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 3rem 0 1.75rem;   /* était 4rem 0 2rem */
  color: rgba(255,255,255,.55);
}
 
.address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
 
.address i    { color: var(--clay); font-size: 1.2rem; }
.address p    { font-size: .85rem; line-height: 1.55; color: rgba(255,255,255,.55); margin: 0; }
.address p a  { color: rgba(255,255,255,.55); transition: color .3s; }
.address p a:hover { color: var(--clay); }
 
.copyright    { font-size: .75rem; color: rgba(255,255,255,.3); }
 
footer .small { font-size: .72rem; color: rgba(255,255,255,.28); transition: color .3s; }
footer .small:hover { color: var(--clay); }
 
/* ─── 12. HERO SOCIAL ────────────────────────────────────────── */
.hero-social {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  z-index: 2;
}
 
.hero-social::before {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35));
  margin-bottom: .1rem;
}
 
.hero-social::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to top, transparent, rgba(255,255,255,.35));
  margin-top: .1rem;
}
 
.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transition: all .3s var(--ease-bounce);
}
 
.hero-social a:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(196,149,106,.15);
  transform: scale(1.12);
}
 
/* ─── 13. ANIMATIONS GSAP (état initial) ────────────────────── */
.gsap-reveal       { opacity: 0; transform: translateY(32px); }
.gsap-reveal-left  { opacity: 0; transform: translateX(-32px); }
.gsap-reveal-right { opacity: 0; transform: translateX(32px); }
 
/* ─── 14. RETOUR EN HAUT ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 42px; height: 42px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 16px rgba(196,149,106,.38);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease-bounce);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover   { transform: translateY(-3px); }
.back-to-top svg     { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
 
/* ─── 15. PAGE LOADER ────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--linen);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity .6s, visibility .6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
 
.loader-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--charcoal);
  letter-spacing: .05em;
}
 
.loader-bar {
  width: 140px; height: 1.5px;
  background: rgba(46,43,39,.1);
  border-radius: 100px;
  overflow: hidden;
}
 
.loader-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clay), var(--accent));
  animation: loaderFill 1.3s var(--ease-smooth) forwards;
  transform-origin: left;
  transform: scaleX(0);
}
 
@keyframes loaderFill { to { transform: scaleX(1); } }
 
/* ─── 16. CURSOR PERSONNALISÉ ────────────────────────────────── */
@media (pointer: fine) {
  .cursor-dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
  }
 
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: transform .15s var(--ease-smooth), width .3s, height .3s, border-color .3s;
    opacity: .5;
  }
 
  body:has(a:hover, button:hover) .cursor-ring {
    width: 48px; height: 48px;
    border-color: var(--clay);
    opacity: .35;
  }
}
 
/* ─── 17. BARRE DE PROGRESSION ───────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--clay), var(--accent));
  z-index: 9996;
  transition: width .1s linear;
}
 
/* ─── 18. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --section-py: 4rem; }
}
 
@media (max-width: 991px) {
  :root { --section-py: 3.5rem; }
 
  .navbar-collapse {
    background: rgba(254,252,249,.97);
    backdrop-filter: blur(20px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: .85rem 1.25rem 1.25rem;
    margin-top: .4rem;
    box-shadow: var(--shadow-card);
  }
 
  .nav-link { color: var(--charcoal) !important; }
 
  .about   { padding: 1.75rem; gap: 1.25rem; }
  .box     { padding: 2rem 1.5rem; margin-top: -40px; }
 
  .hero-title    { font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .hero-subtitle { font-size: .9rem; }
 
  .hero-social {
    right: auto;
    top: auto;
    /* On les remonte au-dessus du "Défiler" */
    bottom: 10rem; 
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 1.5rem; /* Plus d'espace pour les doigts (Accessibilité) */
  }
  
  .hero-social a {
      width: 45px; /* Un peu plus grand sur mobile pour faciliter le clic */
      height: 45px;
      background: rgba(196,149,106,.15); /* Fond plus opaque pour mobile */
      border-color: var(--accent);
      color: var(--warm-white);
      
  }

  .hero-social::before,
  .hero-social::after { display: none; }
}
 
@media (max-width: 767px) {
  :root { --section-py: 3rem; }
 
  .hero-title { font-size: clamp(2.2rem, 13vw, 3.5rem); }
 
  /* Grille de skill cards : 2 colonnes */
  #savoir-faire .row { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
 
  /* Projets : 1 colonne */
  #realisations .col-lg-4 { margin-bottom: 1.25rem; }
}
 
@media (max-width: 575px) {
  :root { --section-py: 2.5rem; }
 
  .about       { padding: 1.25rem; border-radius: var(--radius-md); }
  .box         { padding: 1.5rem 1rem; margin-top: -30px; }
  .back-to-top { bottom: 1rem; right: 1rem; width: 38px; height: 38px; }
 
  .img-comp-container  { border-radius: var(--radius-sm); }
  .img-comp-slider::before { width: 32px; height: 32px; }
 
  footer { padding: 2rem 0 1.25rem; }
}
 
/* ─── 19. PRINT ──────────────────────────────────────────────── */
@media print {
  .navbar, .back-to-top, .page-loader,
  .cursor-dot, .cursor-ring, .scroll-progress { display: none !important; }
  .hero-section { min-height: auto; padding: 2rem 0; }
  body { background: #fff; color: #000; }
}
 
/* ─── 20. MOUVEMENT RÉDUIT ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}