/* ── Facyne.com v3 ── */

:root {
  --primary:        #C4919A;
  --secondary:      #8B5E7A;
  --accent:         #E8B5A0;
  --warm:           #F2C4B2;
  --bg:             #FEFAF7;
  --bg-rose:        #FDF0EC;
  --text:           #2A1A1F;
  --muted:          #7A5A6A;
  --border:         #E8D5DC;
  --nav-bg:         rgba(186,162,209,0.92);
  --success-bg:     #E8F5E0;
  --success-border: #B8D8A8;
  --success-text:   #3A7A3A;
  --error-bg:       #FDE8E8;
  --error-border:   #F0A0A0;
  --error-text:     #8B2020;
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-wrap: pretty;
  cursor: url('../icons/crayon.png') 4 4, auto;
}

img { display: block; }

/* ─────────────────────────────────────
   NAV
───────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 48px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
  filter: none;
  transition: opacity 0.2s;
}
.nav-logo img:hover { opacity: 0.7; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

#navbar .nav-logo {
  position: static;
  margin-right: 64px;
}

#navbar .nav-inner {
  justify-content: center;
}

#navbar .nav-links {
  display: flex;
  gap: 40px;
}

#navbar .nav-logo img { filter: none; }

#navbar .nav-links a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
#navbar .nav-links a:hover { color: #ffffff; }
#navbar .nav-links a::after { background: rgba(255,255,255,0.8); }
#navbar .nav-burger span { background: #FAF0EC; }

/* Avatar dans le hero-content */
.hero-avatar-link { display: block; margin-bottom: 24px; }
.hero-avatar-img  { height: 120px; width: auto; display: block; margin: 0 auto; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Menu mobile */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--bg-rose);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--secondary);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.nav-mobile.open a {
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile.open a:nth-child(2) { transition-delay: 0.05s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.10s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.15s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.20s; }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--secondary);
  cursor: pointer;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tablette + Mobile ≤ 1023px — burger */
@media (max-width: 1023px) {
  .nav-links,
  #navbar .nav-links { display: none; }
  .nav-burger { display: flex; }
  #navbar { padding: 10px 20px; justify-content: flex-start; }
  .nav-inner,
  #navbar .nav-inner { width: 100%; padding: 0; justify-content: space-between; }
  #navbar .nav-logo { margin-right: 0; }
  #navbar .nav-logo img { height: 52px; }
}

/* Mobile uniquement ≤ 767px */
@media (max-width: 767px) {
  #navbar .nav-logo img { height: 44px; }
  .hero-tag { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.06em; }
}

/* ─────────────────────────────────────
   HERO — flex + img responsive
───────────────────────────────────── */
.hero {
  background-image: url('../assets/illustrations/fond.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  z-index: 0;
}

.hero-content {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  padding: 240px 48px 32px 8%;
  text-align: left;
}

.hero-fillette {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 88vh;
  width: auto;
  z-index: 1;
  pointer-events: none;
}

.hero-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--secondary);
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--primary); letter-spacing: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Icônes flottantes dans le hero */
.hero-float {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}
.hero-float img { width: 100%; display: block; }

@keyframes floatA {
  0%, 100% { transform: translateY(0)   rotate(-3deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0)   rotate(0deg); }
  50%       { transform: translateY(-7px)  rotate(0deg); }
}
@keyframes floatC {
  0%, 100% { transform: translateX(0)   translateY(0); }
  50%       { transform: translateX(8px) translateY(-6px); }
}
@keyframes floatD {
  0%, 100% { transform: translateY(0)   rotate(3deg); }
  50%       { transform: translateY(-9px)  rotate(-2deg); }
}

.float-a { animation: floatA 4s ease-in-out infinite; }
.float-b { animation: floatB 3.5s ease-in-out infinite 0.6s; }
.float-c { animation: floatC 5s ease-in-out infinite 1.2s; }
.float-d { animation: floatD 4.5s ease-in-out infinite 0.3s; }
.float-e { animation: floatB 3.8s ease-in-out infinite 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-float-a { animation: float 3.5s ease-in-out infinite; }
.hero-float-b { animation: float 4s ease-in-out infinite 0.5s; }
.hero-float-c { animation: float 3s ease-in-out infinite 1s; }
.hero-float-d { animation: float 4.5s ease-in-out infinite 0.2s; }
.hero-float-e { animation: float 3.8s ease-in-out infinite 0.8s; }

@media (max-width: 1024px) {
  .hero-float {
    display: none;
  }
}

/* Tablette 768px–1100px */
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-content { padding: 180px 40px 40px 6%; }
  .hero-fillette { height: 58vh; }
}

/* Mobile < 768px */
@media (max-width: 767px) {
  .hero-content { padding: 150px 24px 32px; }
  .hero-title { font-size: 2rem; margin-bottom: 12px; }
  .hero-tag { margin-bottom: 10px; }
  .btn-pinceau { font-size: 0.95rem; padding: 11px 28px; }
  .hero-fillette { height: 42vh; width: auto; }
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */

/* CTA hero */
.btn-pinceau {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  color: #FAF0EC;
  background: #A990CA;
  border: none;
  cursor: pointer;
  padding: 15px 44px;
  letter-spacing: 0.01em;
  border-radius: 2px 8px 3px 7px / 7px 2px 8px 3px;
  transition: background 0.25s ease, transform 0.2s ease;
  display: block;
  width: fit-content;
  margin: 0;
  text-decoration: none;
  position: relative;
}
.btn-pinceau:hover {
  background: #9479B8;
  transform: translateY(-2px);
  color: #FAF0EC;
}

/* Boutons secondaires — même style que le bouton hero */
.btn-primary, .btn-dark, button[type="submit"], .cta-btn {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  color: #FAF0EC;
  background: #A990CA;
  border: none;
  cursor: pointer;
  padding: 12px 32px;
  letter-spacing: 0.01em;
  border-radius: 2px 8px 3px 7px / 7px 2px 8px 3px;
  transition: background 0.25s ease, transform 0.2s ease;
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
  position: relative;
}
.btn-primary:hover, .btn-dark:hover, button[type="submit"]:hover, .cta-btn:hover {
  background: #9479B8;
  transform: translateY(-1px);
  color: #FAF0EC;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-family: 'Spectral', Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-bottom: 2px;
}
.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.btn-link:hover::after { transform: scaleX(1); }

/* ─────────────────────────────────────
   LES 3 PORTES
───────────────────────────────────── */
.portes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 480px;
  gap: 8px;
  background: white;
  overflow: hidden;
}
.porte {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--secondary);
}
.porte-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.porte:hover .porte-img { transform: scale(1.04); }
.porte-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,49,84,0.92) 0%, rgba(45,49,84,0.2) 50%, transparent 80%);
  transition: background 0.4s;
}
.porte:hover .porte-overlay {
  background: linear-gradient(to top, rgba(45,49,84,0.96) 0%, rgba(45,49,84,0.35) 60%, transparent 90%);
}
.porte:first-child .porte-overlay {
  background: rgba(0, 0, 0, 0.25);
}
.porte:first-child:hover .porte-overlay {
  background: rgba(0, 0, 0, 0.38);
}
.porte-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  z-index: 2;
}
.porte-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.porte-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 400;
  font-style: italic;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.porte-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.porte:hover .porte-link { color: white; gap: 10px; }

/* Porte 3 — mockup téléphone avec screenshot */
.porte-phone-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 72px;
}
.phone-frame {
  width: 200px;
  height: 400px;
  background: #1a1a2e;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 2px rgba(255,255,255,0.15);
  margin: 0 auto;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Stars background for porte 3 */
.porte-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: white;
  opacity: 0.35;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .portes { height: 360px; }
  .porte-title { font-size: 1.6rem; }
  .porte-text { padding: 24px 20px; }
}

@media (max-width: 768px) {
  .portes {
    grid-template-columns: 1fr;
    height: auto;
  }
  .porte { height: 300px; }
}

/* ─────────────────────────────────────
   PORTFOLIO GRID
───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #C4919A;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--secondary);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-title::after,
.about-intro::after,
.contact-title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 14px auto 0;
}

.portfolio-grid {
  columns: 3;
  column-gap: 14px;
}
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  margin-bottom: 14px;
  display: block;
}
.portfolio-item.tall { /* no special treatment needed in masonry */ }
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.07); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(196,145,154,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
  text-align: center;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-text {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .portfolio-grid { columns: 2; column-gap: 10px; }
  .portfolio-item { margin-bottom: 10px; }
}
@media (max-width: 540px) {
  .portfolio-grid { columns: 2; column-gap: 8px; }
  .portfolio-item { margin-bottom: 8px; }
}

/* ─────────────────────────────────────
   À PROPOS
───────────────────────────────────── */
.about-section {
  background: var(--bg-rose);
  position: relative;
  overflow: hidden;
}
.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-left { position: relative; }
.about-intro {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.about-body {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 58ch;
}
.about-body strong { color: var(--secondary); font-weight: 600; }
.about-left .btn-dark { margin: 0; }
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.chip {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.chip-rose { background: #F5E0E3; color: var(--primary); }
.chip-blue { background: #E0E1F0; color: var(--secondary); }
.chip-peach { background: #FAE8DC; color: #A0613A; }

.about-right { position: relative; }
.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}
.about-img-wrap img {
  width: 100%;
  object-fit: contain;
}

.timeline-v {
  position: relative;
  padding-left: 20px;
}
.timeline-v::before {
  content: '';
  position: absolute;
  left: 4px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--primary);
  opacity: 0.3;
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  padding: 8px 0 8px 16px;
}
.timeline-dot {
  position: absolute;
  left: -18px; top: 14px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-rose);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.timeline-role {
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 500;
}

/* Floating icons in about */
.about-float {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.about-float img { width: 100%; display: block; }

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-img-wrap { display: none; }
}

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
.services-section {
  background: var(--bg);
}
.services-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--bg-rose);
  border: 1.5px solid var(--border);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
  box-shadow: 0 2px 20px rgba(196,145,154,0.06);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(196,145,154,0.14);
}
.services-grid .service-card:nth-child(1) { border-top: 4px solid var(--primary); }
.services-grid .service-card:nth-child(2) { border-top: 4px solid var(--accent); }
.services-grid .service-card:nth-child(3) { border-top: 4px solid var(--secondary); }
.service-body {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
}
.service-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--secondary);
  margin: 0 0 12px;
}
.service-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
}
.service-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 20px;
  background: #E8D5DC;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.service-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--secondary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.service-tag-link:hover { background: var(--secondary); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { min-height: 280px; }
}

/* ─────────────────────────────────────
   CONTACT
───────────────────────────────────── */
.contact-section { background: var(--bg); }
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; }
}
.contact-left h2 {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 12px;
}
.contact-left p { color: var(--muted); line-height: 1.8; }
.contact-img {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 360px;
}
.contact-img img { width: 100%; max-width: 280px; display: block; margin: 0 auto; }
.contact-socials {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-social-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-social-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(196,145,154,0.18);
}
.csocial-platform {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); min-width: 72px;
}
.csocial-handle {
  font-size: 0.9rem; font-weight: 500; color: var(--secondary);
}
.csocial-arrow {
  margin-left: auto; color: var(--muted); font-size: 1rem;
  transition: transform .2s;
}
.contact-social-card:hover .csocial-arrow { transform: translateX(3px); }

/* Contact droite — email + icônes réseaux */
/* Protection images portfolio */
.pg-featured-img img,
.pg-header-bg {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 4px;
  transition: color 0.2s;
}
.contact-email-link:hover { color: var(--primary); }
.contact-email-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  color: var(--secondary);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.contact-social-icon:hover {
  border-color: var(--primary);
  background: #FDF0F3;
  color: var(--primary);
}
.contact-social-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.contact-social-icon.behance-icon svg { fill: currentColor; stroke: none; }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus:not(:focus-visible) { outline: none; }
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,145,154,0.15);
}
.form-input::placeholder { color: var(--muted); }
textarea.form-input { resize: vertical; min-height: 120px; }

.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.form-check input { accent-color: var(--primary); cursor: pointer; }

.form-success {
  display: none;
  padding: 16px 20px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: 10px;
  color: var(--success-text);
  font-weight: 500;
  font-size: 14px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-checkboxes { grid-template-columns: 1fr; }
  .contact-img { display: none; }
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C4919A;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8B5A0;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #C4919A; }
.footer-desc-small {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  font-style: italic;
}
.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────
   LIGHTBOX DIV (index + portfolio)
───────────────────────────────────── */
.lb-bg { position: fixed; inset: 0; background: rgba(20,16,28,0.93); z-index: 500; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-bg.hidden { display: none; }
.lb-media { position: relative; display: inline-flex; }
.lb-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; cursor: default; display: block; }
.lb-wm { position: absolute; bottom: 12px; right: 14px; color: rgba(255,255,255,0.45); font-size: 13px; font-family: 'Outfit', sans-serif; pointer-events: none; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }
.lb-close { position: absolute; top: 20px; right: 28px; color: rgba(255,255,255,.6); font-size: 2rem; cursor: pointer; background: none; border: none; transition: color .2s; }
.lb-close:hover { color: #fff; }

/* ─────────────────────────────────────
   LIGHTBOX DIALOG (legacy)
───────────────────────────────────── */
.img-lb {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(90vw, 860px);
  border-radius: 12px;
  overflow: visible;
  position: relative;
}
.img-lb::backdrop {
  background: rgba(14,10,30,0.94);
  backdrop-filter: blur(10px);
}
.img-lb[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.22s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.img-lb-img {
  max-width: min(90vw, 860px);
  max-height: 85vh;
  border-radius: 10px;
  display: block;
  object-fit: contain;
}
.img-lb-close {
  position: absolute;
  top: -18px; right: -18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 10;
  transition: background 0.15s;
}
.img-lb-close:hover { background: #f0e0e4; }

/* ─────────────────────────────────────
   UTILITIES
───────────────────────────────────── */
.section-pad {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
}
#portfolio .section-pad { padding-top: 36px; }
.hero-spacer { height: 32px; }
.section-intro { text-align: center; padding: 20px 0 20px; }
.section-intro-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--secondary);
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}
.contact-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--secondary);
  margin: 0 0 12px;
  line-height: 1.2;
  text-wrap: balance;
  text-align: center;
}
.contact-title em { color: var(--primary); font-style: italic; }

@media (max-width: 768px) {
  .hero-spacer { height: 12px; }
  .section-intro { padding: 12px 20px 14px; }
  .section-intro-title { font-size: 2.2rem; }
  .section-pad { padding: 36px 20px; }
  .about-grid { padding: 36px 20px !important; }
  .services-inner { padding: 36px 20px !important; }
  .contact-inner { padding: 36px 20px !important; }
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .float-d, .float-e { animation: none !important; }
  .js-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .portfolio-item img, .porte-img { transition: none !important; }
}

/* ─────────────────────────────────────
   SKIP LINK
───────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  z-index: 500;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ─────────────────────────────────────
   FOCUS VISIBLE — keyboard navigation
───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ─────────────────────────────────────
   FORM ERROR
───────────────────────────────────── */
.form-error {
  display: none;
  padding: 16px 20px;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 10px;
  color: var(--error-text);
  font-weight: 500;
  font-size: 14px;
  margin-top: 12px;
}

@media (max-width: 380px) {
  .hero-tag {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }
}
