:root {
  --accent: #a020f0;
  --accent-2: #7a00ff;
  --text: #f5f5ff;
  --muted: #9a9ab5;
  --radius: 14px;
  --shadow-glow: 0 0 25px rgba(160, 32, 240, 0.7);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #151528 0, #050509 55%);
  color: var(--text);
  font-family: var(--font-main);
}

/* HEADER */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  background: rgba(54, 54, 75, 0.61);
  backdrop-filter: blur(1px);
  border-bottom: 1px solid rgba(54, 35, 35, 0.04);
}

.logo {
  font-weight: 700;
  font-size: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center; 
  /* 🔥 aligne verticalement */
  gap: 80px;
  height: 100%; 
  /* utile si le parent a une hauteur */
}


.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #a020f0, #5b8dff);
  color: white;
  box-shadow: 0 8px 24px rgba(160, 32, 240, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(160, 32, 240, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.08);
}

/* Avatar / Profil */

.avatar-btn {
  background: transparent;
  border: none;
  cursor: pointer;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #a020f0, #3b1b5f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  font-size: 14px;
}

.profile-menu {
  position: absolute;
  right: 0;
  top: 46px;
  background: #101018;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.profile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
}

.profile-menu a:hover {
  color: var(--text);
}

.profile-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

/* HERO */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 30px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 25px;
  align-items: center;
  margin-bottom: 30px;
}

.badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #a020f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 420px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(135deg, rgba(160,32,240,0.15) 0%, rgba(91,141,255,0.08) 100%);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid rgba(160,32,240,0.3);
  box-shadow: 0 0 40px rgba(160,32,240,0.15);
  transition: all 0.3s ease;
}

.hero-card:hover {
  border-color: rgba(160,32,240,0.5);
  box-shadow: 0 0 50px rgba(160,32,240,0.25);
  transform: translateY(-2px);
}

.hero-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.hero-stat {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.hero-label {
  font-size: 12px;
  color: var(--muted);
}

.hero-value {
  font-size: 18px;
  margin-top: 8px;
}

.hero-status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* SECTIONS GÉNÉRALES */

.section { margin-top: 20px; margin-bottom: 20px; }

h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a020f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
}

/* FEATURES */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(160,32,240,0.08) 0%, rgba(91,141,255,0.04) 100%);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(160,32,240,0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(160,32,240,0.15), rgba(91,141,255,0.08));
  transition: top 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(160,32,240,0.4);
  box-shadow: 0 12px 48px rgba(160,32,240,0.2);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(160,32,240,0.12) 0%, rgba(91,141,255,0.08) 100%);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, #a020f0, #7a00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
}

/* GALERIE */

.gallery-section {
  margin-top: 20px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 12px;
}
.gallery-controls input {
  background: #0b0b12;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  color: var(--text);
  font-size: 13px;
  min-width: 220px;
  transition: 0.3s ease;
}

.gallery-controls input:hover,
.gallery-controls input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-soft);
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.photo {
  height: 180px;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  border: 1px solid rgba(160,32,240,0.2);
  object-fit: cover;
}

.photo img:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 40px rgba(160,32,240,0.25);
  border-color: rgba(160,32,240,0.5);
}

/* VIEWER (MODAL) */

.viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px;
  z-index: 50;
}

.viewer-content {
  display: flex;
  gap: 24px;
  background: #0b0b12;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glow);
  max-width: 800px;
  width: 100%;
}

#viewerImg {
  max-width: 420px;
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
}

.viewer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viewer-info h3 {
  font-size: 18px;
}

.viewer-info p {
  font-size: 14px;
  color: var(--muted);
}

.viewer-tags {
  font-size: 12px;
  color: var(--accent);
}

.btn-ghost.small {
  align-self: flex-start;
  padding: 6px 12px;
  font-size: 12px;
}

/* ABOUT */

.about {
  text-align: left;
  margin-top: 50px;
  margin-bottom: 80px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
  gap: 60px;
  align-items: center;
}

.profile-photo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-photo {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(160, 32, 240, 0.4);
  background: rgba(41, 41, 76, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(160, 32, 240, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-photo:hover {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(160, 32, 240, 0.6),
              0 0 100px rgba(160, 32, 240, 0.3);
  transform: translateY(-10px);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 20px rgba(160, 32, 240, 0.5);
}

.about-text h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.about-text .section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-text > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(160, 32, 240, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* RESPONSIVE ABOUT */

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .about-text h2 {
    font-size: 32px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* CONTACT */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 50px;
  align-items: flex-start;
  margin-top: 30px;
  margin-bottom: 30px;

}

.contact-text p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-text span {
  color: var(--accent);
}

.contact-form {
  background: linear-gradient(135deg, rgba(160,32,240,0.08) 0%, rgba(91,141,255,0.04) 100%);
  border-radius: 18px;
  padding: 40px;
  border: 1px solid rgba(160,32,240,0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.contact-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: rgba(5, 5, 9, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(160,32,240,0.2);
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(160,32,240,0.5);
  background: rgba(160,32,240,0.05);
  box-shadow: 0 0 12px rgba(160,32,240,0.1);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 8px 12px;
    gap: 8px;
  }
  .logo {
    font-size: 28px;
  }
  .nav-links {
    display: none;
  }
  .header-search input {
    width: 140px;
    padding: 6px 10px;
    font-size: 12px;
  }
  .right-actions {
    gap: 6px;
  }
  .btn-primary,
  .btn-ghost {
    padding: 6px 10px;
    font-size: 12px;
  }
  .avatar-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  main {
    max-width: 100%;
    padding: 12px 12px 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .viewer-content {
    flex-direction: column;
    align-items: center;
  }
  #viewerImg {
    max-width: 100%;
  }
  h2 {
    font-size: 22px;
  }
  .hero h1 {
    font-size: 28px;
  }
}
.logo img {
  height: 120px;
  filter: drop-shadow(0 0 8px #a020f0);
  animation: neonPulse 2.2s ease-in-out infinite;
}

@media (max-width: 700px) {
  .logo img {
    height: 32px;
  }
}

@media (max-width: 420px) {
  .logo img {
    height: 24px;
  }
}

/* Animation néon */
@keyframes neonPulse {
  0% {
    filter: drop-shadow(0 0 4px #a020f0);
  }
  50% {
    filter: drop-shadow(0 0 16px #a020f0);
  }
  100% {
    filter: drop-shadow(0 0 4px #a020f0);
  }
}

section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
.header-search input {
  background: #0b0b12;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  color: var(--text);
  font-size: 13px;
  width: 209px;
  transition: 0.3s ease;
}

.header-search input::placeholder {
  color: #6d6d8a;
}

.header-search input:hover,
.header-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-soft);

}
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* POPUPS ORIJIN  */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.popup-frame {
  background: rgba(41, 41, 76, 0.95);
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(160, 32, 240, 0.3);
  width: 100%;
  max-width: 420px;
  position: relative;
}

.popup-inner {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: inline-block;
  align-self: center;
}

.popup-inner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.popup-text {
  font-size: 16px;
  color: var(--muted);
  margin: 15px 0;
}

.popup-inner input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(160, 32, 240, 0.2);
  background: rgba(5, 5, 9, 0.6);
  color: var(--text);
  font-size: 14px;
  margin: 8px 0;
}

.popup-inner button,
.popup-inner a {
  padding: 14px 24px;
  margin: 10px 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: var(--text);
}

.popup-box {
  background: rgba(66, 66, 173, 0.9);
  padding: 30px;
  border-radius: 16px;
  width: 320px;
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.6);
  text-align: center;
  color: white;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-icon {
  font-size: 36px;
  margin-bottom: 10px;
  color: white;
}

.popup-box h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: white;
}

.popup-box p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.popup-box input {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #444;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
}

.btn-purple {
  background: linear-gradient(to right, #6f00ff, #a020f0);
  border: none;
  padding: 10px 20px;
  color: white;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(160, 32, 240, 0.5);
  transition: 0.3s ease;
}

.btn-purple:hover {
  box-shadow: 0 0 20px rgba(160, 32, 240, 0.8);
}

.close-btn {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: white;
  cursor: pointer;
}

.switch {
  font-size: 13px;
  margin-top: 12px;
  color: #aaa;
}

.switch a {
  color: #a020f0;
  text-decoration: underline;
  cursor: pointer;
}

:root{
  --bg:#050510;
  --accent:#a020f0;
  --accent-2:#7a00ff;
  --muted:#bdbbd6;
  --white:#ffffff;
}

@media (max-width: 420px) { 
  .topbar {
    padding: 5px 8px;
    gap: 4px;
  }
  .logo {
    flex-shrink: 0;
  }
  .header-search input { 
    width: 90px;
    padding: 4px 8px;
    font-size: 11px;
  }
  .btn-primary,
  .btn-ghost {
    padding: 4px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .avatar-circle {
    width: 24px;
    height: 24px;
    font-size: 10px;
    flex-shrink: 0;
  }
  .popup {
    padding: 12px;
  }
  .popup-frame { 
    width: 100%; 
    max-width: 100%;
    border-radius: 12px;
  }
  .popup-inner { 
    padding: 24px 18px; 
    gap: 12px;
  }
  .popup-icon {
    font-size: 32px;
    margin-bottom: 6px;
  }
  .popup-inner h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .popup-inner input {
    padding: 10px 12px;
    font-size: 14px;
  }
  .btn-purple {
    padding: 10px 16px;
    font-size: 13px;
  }
  .switch {
    font-size: 12px;
  }
  .popup-close { 
    width: 32px; 
    height: 32px; 
    top: 8px; 
    right: 8px; 
    font-size: 16px;
  }
  .hero h1 { 
    font-size: 24px; 
  }
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  main {
    padding: 8px 10px 12px;
  }
  .gallery-controls input {
    min-width: 100%;
    width: 100%;
    padding: 6px 10px;
    font-size: 12px;
  }
  h2 {
    font-size: 20px;
  }
}

/* SECTION TUILES PROFESSIONNELLES */

.professional-tiles {
  padding: 80px 30px;
  background: radial-gradient(circle at 50% 0%, rgba(160, 32, 240, 0.08) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.professional-tiles::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(160, 32, 240, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.tiles-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tiles-container h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text);
}

.tiles-container > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 60px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tile {
  background: rgba(41, 41, 76, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: var(--radius);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.15);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.tile:hover::before {
  opacity: 1;
}

.tile-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.tile:hover .tile-icon {
  animation: bounce 0.6s ease;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.tile h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.tile p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.tile-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
}

.tile-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(160, 32, 240, 0.4);
}

.tile-btn:active {
  transform: scale(0.98);
}

/* Couleurs unifiées avec l'accent principal */

.planning-tile {
  border-color: rgba(160, 32, 240, 0.4);
}

.planning-tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.2);
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
}

.cv-tile {
  border-color: rgba(160, 32, 240, 0.4);
}

.cv-tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.2);
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
}

.linkedin-tile {
  border-color: rgba(160, 32, 240, 0.4);
}

.linkedin-tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.2);
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
}

.email-tile {
  border-color: rgba(160, 32, 240, 0.4);
}

.email-tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.2);
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
}

.phone-tile {
  border-color: rgba(160, 32, 240, 0.4);
}

.phone-tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.2);
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
}

.documents-tile {
  border-color: rgba(160, 32, 240, 0.4);
}

.documents-tile:hover {
  border-color: var(--accent);
  background: rgba(160, 32, 240, 0.2);
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
}

/* RESPONSIVE TUILES */

@media (max-width: 768px) {
  .professional-tiles {
    padding: 50px 15px;
  }

  .tiles-container h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tile {
    padding: 30px 20px;
  }

  .tile-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .tile h3 {
    font-size: 20px;
  }
}
/* SECTION COMPÉTENCES DYNAMIQUES */
.skill-circle {
    width: 150px;
    height: 150px;
    position: relative;
}

.skill-circle svg {
    width: 150px;
    height: 150px;
}

.skill-circle circle {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
}

.skill-circle .bg {
    stroke: #222;
}

.skill-circle .progress {
    stroke: #ff4d4d;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 0.3s;
}

.skill-circle .value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}
.skills-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 150, 0, 0.6);
}

