﻿/* =============================================================
   PORTFOLIO DIEUDONNÉ YETO — Feuille de style principale
   Couleurs : Bleu #0D9488 | Or #F97316 | Anthracite #1B212B | Blanc cassé #F8F9FA
   ============================================================= */

/* ---- Variables CSS ---- */
:root {
  /* Override Bootstrap 5 primary */
  --bs-primary:           #0D9488;
  --bs-primary-rgb:       13, 148, 136;
  --bs-link-color:        #0D9488;
  --bs-link-color-rgb:    13, 148, 136;
  --bs-link-hover-color:  #0F766E;

  --primary:        #0D9488;
  --primary-dark:   #0F766E;
  --primary-light:  rgba(13,148,136,.12);
  --gold:           #F97316;
  --gold-dark:      #EA6C0A;
  --white:          #ffffff;
  --dark:           #0f172a;
  --body-bg:        #F0FDFA;
  --body-color:     #212529;
  --card-bg:        #ffffff;
  --muted:          #6c757d;
  --border:         #e2e8f0;
  --shadow-sm:      0 2px 10px rgba(0,0,0,.07);
  --shadow:         0 6px 30px rgba(0,0,0,.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.15);
  --radius:         12px;
  --radius-lg:      20px;
  --transition:     all .3s ease;
  --navbar-h:       70px;
  --section-py:     90px;
}

/* ---- Mode sombre ---- */
[data-theme="dark"] {
  --body-bg:    #0f172a;
  --body-color: #e2e8f0;
  --card-bg:    #1e293b;
  --muted:      #94a3b8;
  --border:     #334155;
  --shadow-sm:  0 2px 10px rgba(0,0,0,.3);
  --shadow:     0 6px 30px rgba(0,0,0,.4);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.5);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background-color: var(--body-bg);
  color: var(--body-color);
  transition: background-color .3s ease, color .3s ease;
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }

.section { padding: var(--section-py) 0; }
.section-sm { padding: 60px 0; }

.bg-light-custom { background-color: var(--body-bg); }
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-light-custom { background-color: #1e293b !important; }

/* ---- Section title ---- */
.section-header { margin-bottom: 55px; }
.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(13,148,136,.25);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-title span { color: var(--primary); }
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 0 auto 15px;
}
.section-divider.start { margin-left: 0; }
.section-desc { color: var(--muted); max-width: 580px; margin: 0 auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNavbar {
  height: var(--navbar-h);
  background: rgba(15,46,44,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .4s ease, box-shadow .4s ease;
}
#mainNavbar.scrolled {
  background: rgba(15,46,44,.99);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.brand-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
}
.brand-icon-sm { width: 32px; height: 32px; font-size: .95rem; border-radius: 8px; }
.brand-text { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: .5px; }

.navbar-nav .nav-link {
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 14px !important;
  border-radius: 8px;
  color: #fff !important;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.15);
}

.theme-toggle {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50% !important;
  padding: 0;
  border-color: rgba(255,255,255,.3) !important;
  color: rgba(255,255,255,.8) !important;
}
.theme-toggle:hover { background: rgba(255,255,255,.15) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 70vh;
  padding-top: var(--navbar-h);
  padding-bottom: 30px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
  background: #134E4A;
}

/* Particules de fond */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230D9488' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Orbe lumineux */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; animation: orbPulse 6s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,.25) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
  bottom: 50px; left: -50px;
  animation-delay: 3s;
}

@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.14);
  border: 1px solid rgba(249,115,22,.4);
  color: #F97316;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-badge i { font-size: .95rem; }

.hero-name {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  line-height: 1.1;
  margin-bottom: 10px;
}
.hero-name span { color: var(--gold); }

.hero-typed-wrapper {
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  min-height: 40px;
  margin-bottom: 22px;
}
.typed-cursor { color: var(--gold); }

.hero-desc {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-hero-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13,148,136,.45);
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-2px);
}

/* Photo hero */
.hero-image-col { display: flex; align-items: center; justify-content: center; }

.hero-image-wrapper {
  position: relative;
  width: 380px; max-width: 100%;
}

.hero-image-ring {
  position: absolute; inset: -15px;
  border-radius: 50%;
  border: 2px dashed rgba(249,115,22,.45);
  animation: spin 20s linear infinite;
}
.hero-image-ring-2 {
  position: absolute; inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(13,148,136,.3);
  animation: spin 30s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-photo {
  width: 320px; height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(249,115,22,.55);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 15px rgba(13,148,136,.12);
  display: block;
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* Photo placeholder */
.hero-photo-placeholder {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13,148,136,.3), rgba(13,148,136,.12));
  border: 5px solid rgba(249,115,22,.55);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-photo-placeholder i { font-size: 7rem; color: rgba(255,255,255,.4); }

/* Floating cards */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  z-index: 2;
}
.hero-float-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-float-1 { bottom: 80px; left: -20px; animation: floatY 3s ease-in-out infinite; }
.hero-float-2 { top: 60px;   right: -10px; animation: floatY 3s ease-in-out 1.5s infinite; }

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

/* Stats bar hero */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.2);
  align-self: stretch;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator i { font-size: 1.2rem; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION STATS / COMPTEURS
   ============================================================ */
.stats-section {
  background: transparent;
  position: relative;
  z-index: 5;
  margin-top: -80px;
  padding: 0 0 20px;
}
.stats-section .row { justify-content: center; gap: 20px 0; }

.stat-card {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 30px rgba(13,148,136,.4), 0 0 0 5px rgba(13,148,136,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 12px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(13,148,136,.5), 0 0 0 7px rgba(13,148,136,.18); }

.stat-icon {
  width: auto; height: auto;
  background: none;
  border-radius: 0;
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 4px;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-suffix { color: var(--gold); }
.stat-label {
  font-size: .58rem;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-img-wrapper { position: relative; }
.about-img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--primary-light), rgba(249,115,22,.12));
  border-radius: var(--radius-lg);
  height: 450px;
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder i { font-size: 6rem; color: var(--primary); opacity: .4; }

.about-exp-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-exp-badge .num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-exp-badge .label { font-size: .72rem; opacity: .85; }

.about-bio p { margin-bottom: .9rem; }
.about-bio ul { padding-left: 1.4rem; margin-bottom: .9rem; }
.about-bio ul li { margin-bottom: .35rem; }

.about-content img,
.legal-content img { max-width: 100%; height: auto; display: block; margin: 1rem auto; border-radius: 8px; }
.about-content p, .legal-content p { margin-bottom: .9rem; line-height: 1.8; }
.about-content ul, .about-content ol,
.legal-content ul, .legal-content ol { padding-left: 1.4rem; margin-bottom: .9rem; }
.about-content li, .legal-content li { margin-bottom: .35rem; }
.about-content h2, .about-content h3, .about-content h4 { margin-top: 1.5rem; margin-bottom: .75rem; font-weight: 700; }
.about-inline-img { width: 100%; }
.about-inline-img .about-img-wrapper { width: 100%; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-item { display: flex; flex-direction: column; gap: 2px; }
.info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
.info-value { font-weight: 600; color: var(--body-color); }

/* Timeline (about page) */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--gold));
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-dot {
  position: absolute; left: -26px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--body-bg);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}
.timeline-date {
  font-size: .78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.timeline-org { color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.timeline-desc { color: var(--muted); font-size: .88rem; margin-bottom: 0; }

/* ============================================================
   SKILLS
   ============================================================ */
.skill-category-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 35px;
}
.skill-tab {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .85rem; font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--body-color);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.skill-tab:hover, .skill-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.skill-item { margin-bottom: 22px; }
.skill-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.skill-name { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.skill-name i { color: var(--primary); }
.skill-pct { font-size: .82rem; font-weight: 700; color: var(--primary); }
.skill-bar {
  height: 8px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 50px;
  width: 0;
  transition: width 1.5s cubic-bezier(.25,.46,.45,.94);
}

/* Skill cards (skills page) */
.skill-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-filters {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem; font-weight: 500;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--body-color);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.portfolio-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
  transition: var(--transition);
  height: 100%;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.portfolio-thumb {
  position: relative; overflow: hidden;
  height: 220px;
}
.portfolio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-thumb .placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), rgba(249,115,22,.1));
  color: var(--primary); font-size: 3.5rem; opacity: .5;
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(13,148,136,.88);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0;
  transition: opacity .3s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.overlay-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: var(--transition);
}
.overlay-btn:hover { background: var(--gold); border-color: var(--gold); color: #333; transform: scale(1.1); }

.portfolio-body { padding: 20px; }
.portfolio-cat {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); margin-bottom: 6px;
}
.portfolio-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.portfolio-desc { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.portfolio-tech { display: flex; flex-wrap: wrap; gap: 5px; }
.tech-badge {
  font-size: .7rem; padding: 2px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 75px; height: 75px;
  margin: 0 auto 22px;
  background: var(--primary-light);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; transform: scale(1.05); }

.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.service-desc { font-size: .87rem; color: var(--muted); margin-bottom: 18px; }

.service-features { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.service-features li {
  font-size: .83rem; padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.blog-thumb {
  height: 200px; overflow: hidden;
  flex-shrink: 0;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-thumb .placeholder-img { height: 100%; }

.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--primary-light); color: var(--primary);
  margin-bottom: 10px;
}
.blog-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-title a { color: var(--body-color); }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: .85rem; color: var(--muted); flex: 1; margin-bottom: 15px; }
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.blog-meta i { color: var(--primary); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #F0FDFA; position: relative; overflow: hidden; }
.testimonial-slide {
  padding: 20px 30px;
  position: relative; z-index: 1;
}
.testimonial-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 35px;
  max-width: 750px;
  margin: 0 auto;
}
.testimonial-card-multi {
  background: #ffffff;
  border: 1px solid rgba(13,148,136,.18);
  box-shadow: 0 4px 20px rgba(13,148,136,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.testimonial-card-multi .testimonial-text {
  flex: 1;
  color: var(--text);
}
.testimonial-card-multi .testimonial-name { color: var(--text); }
.testimonial-card-multi .testimonial-pos { color: var(--muted); }
.testi-btn {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.testi-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(13,148,136,.25);
  border: none; padding: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.testi-dot.active { background: var(--primary); transform: scale(1.35); }
.quote-icon {
  font-size: 3rem; color: var(--gold);
  line-height: 1; margin-bottom: 15px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.8; margin-bottom: 25px;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar {
  width: 55px; height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}
.testimonial-avatar-placeholder {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: rgba(255,255,255,.7);
}
.testimonial-name { font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.testimonial-pos { font-size: .82rem; color: rgba(255,255,255,.65); }
.testimonial-stars { color: var(--gold); font-size: .85rem; margin-bottom: 3px; }

/* Carousel controls */
.carousel-control-prev, .carousel-control-next {
  width: 45px; height: 45px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.3);
  opacity: 1;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--gold); border-color: var(--gold); }
.carousel-indicators { bottom: -10px; }
.carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
}
.carousel-indicators .active { background: var(--gold); width: 20px; border-radius: 4px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 15px;
  margin-bottom: 25px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary);
  flex-shrink: 0;
}
.contact-info-label { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-info-value { font-weight: 600; color: var(--body-color); }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: .9rem;
  background: var(--card-bg);
  color: var(--body-color);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
  background: var(--card-bg);
  color: var(--body-color);
}
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: #1e293b;
  color: #e2e8f0;
  border-color: #334155;
}
[data-theme="dark"] .form-control::placeholder { color: #64748b; }

.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13,148,136,.45);
  color: #fff;
}

/* WhatsApp floating */
.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 25px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse-wa 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.7); }

@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 6px 30px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0F2E2C; }

.footer-newsletter {
  padding: 35px 0;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-main { padding: 60px 0 40px; }

.footer-title {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { margin-top: 2px; flex-shrink: 0; }
.footer-contact span { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-contact a { color: rgba(255,255,255,.6); }
.footer-contact a:hover { color: var(--gold); }

.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.social-btn-whatsapp:hover { background: #25d366; border-color: #25d366; }
.social-btn-light {
  background: var(--primary-light);
  border-color: rgba(var(--primary-rgb, 13,110,253),.15);
  color: var(--primary);
}
.social-btn-light:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 25px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(13,148,136,.45);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================================
   CARDS GÉNÉRIQUES
   ============================================================ */
.card-modern {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card-modern:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.page-hero {
  padding: 120px 0 60px;
  background: #134E4A;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230D9488' fill-opacity='0.07'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.breadcrumb-item a { color: rgba(255,255,255,.65); }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-box {
  position: relative;
}
.search-box input {
  padding-right: 50px;
  border-radius: 50px !important;
}
.search-box .btn-search {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff; border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   ALERTES & MESSAGES
   ============================================================ */
.alert {
  border-radius: 10px;
  border: none;
  font-size: .9rem;
}

/* ============================================================
   BOUTONS GÉNÉRIQUES
   ============================================================ */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 8px;
  font-weight: 500;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }

.btn-outline-primary { border-radius: 8px; font-weight: 500; }
.btn-warning { font-weight: 600; border-radius: 8px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 3px;
  border: 1.5px solid var(--border);
  color: var(--body-color);
  background: var(--card-bg);
  font-weight: 500;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-link:hover { background: var(--primary-light); color: var(--primary); }

/* ============================================================
   LOADER
   ============================================================ */
#pageLoader {
  position: fixed; inset: 0;
  background: #0F2E2C;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; }
.loader-brand { text-align: center; color: #fff; }
.loader-brand .brand-name { font-size: 2rem; font-weight: 800; letter-spacing: 2px; }
.loader-brand .brand-name span { color: var(--gold); }
.loader-bar {
  width: 120px; height: 3px;
  background: rgba(255,255,255,.2);
  border-radius: 2px; margin: 16px auto 0;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  animation: loadBar 1.2s ease forwards;
}
@keyframes loadBar { from { width: 0; } to { width: 100%; } }

/* ============================================================
   BOUTIQUE – SHOP
   ============================================================ */

/* Carte produit */
.shop-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.shop-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.shop-card-badge-top {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; z-index: 2;
}
.shop-card-promo {
  position: absolute; top: 12px; right: 12px;
  background: #dc3545; color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; z-index: 2;
}
.shop-card-img-link { display: block; overflow: hidden; aspect-ratio: 4/3; }
.shop-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.shop-card:hover .shop-card-img { transform: scale(1.07); }
.shop-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.shop-card-title {
  font-size: 1rem; font-weight: 600; margin: 8px 0 6px;
  line-height: 1.4;
}
.shop-card-title a { color: var(--heading-color); text-decoration: none; }
.shop-card-title a:hover { color: var(--primary); }
.shop-card-desc { font-size: .85rem; color: var(--text-muted); flex-grow: 1; margin-bottom: 12px; }
.shop-card-footer { margin-top: auto; }

/* Prix */
.shop-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shop-price-current { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.shop-price-old { font-size: .9rem; color: var(--text-muted); text-decoration: line-through; }

/* Page héro réduite */
.page-hero-sm { padding: 60px 0 40px; }

/* Détail produit */
.product-gallery { position: sticky; top: 90px; }
.product-main-img {
  width: 100%; border-radius: 16px;
  object-fit: cover; aspect-ratio: 1;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.product-thumb {
  width: 68px; height: 68px;
  object-fit: cover; border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.product-thumb:hover, .product-thumb.active { border-color: var(--primary); }

.product-price-block { padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-price-main { font-size: 2rem; font-weight: 800; color: var(--primary); }
.product-price-old { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.product-meta { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.product-description { font-size: .95rem; line-height: 1.8; color: var(--body-color); }
.product-description h2, .product-description h3 { font-size: 1.2rem; font-weight: 700; margin: 20px 0 10px; }
.product-description ul, .product-description ol { padding-left: 1.5rem; margin-bottom: 12px; }
.product-description li { margin-bottom: 6px; }

/* Bouton Or */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #EA6C0A);
  border: none; color: #fff; font-weight: 600;
  border-radius: 10px; transition: var(--transition);
}
.btn-gold:hover { background: linear-gradient(135deg, #EA6C0A, #b8860b); color: #fff; transform: translateY(-1px); }

/* Qty selector */
.qty-selector { user-select: none; }
.qty-selector button { background: none; border: none; color: var(--body-color); font-size: 1.1rem; line-height: 1; }
.qty-selector button:hover { color: var(--primary); }

/* Panier */
.cart-item-img-wrap { flex-shrink: 0; }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }

/* Checkout – option de paiement */
.payment-option {
  display: block;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.payment-option:hover { border-color: var(--primary); background: var(--primary-light); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option input[type="radio"] { display: none; }
.payment-option-content { display: flex; align-items: center; gap: 14px; }

/* Success page */
.success-circle {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, #198754, #20c997);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(25,135,84,.4);
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Dark mode */
[data-theme="dark"] .shop-card { background: var(--card-bg); border-color: var(--border); }
[data-theme="dark"] .payment-option { border-color: var(--border); }
[data-theme="dark"] .payment-option:hover,
[data-theme="dark"] .payment-option.selected { background: rgba(13,148,136,.15); border-color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-image-wrapper { margin-top: 40px; }
  .hero-float-1, .hero-float-2 { display: none; }
  .hero-stats { justify-content: center; }
  .about-exp-badge { position: static; margin-top: 15px; display: inline-block; }
  :root { --section-py: 60px; }
}

@media (max-width: 767px) {
  .hero-name { font-size: 2.2rem; }
  .hero-photo, .hero-photo-placeholder { width: 250px; height: 250px; }
  .section-title { font-size: 1.8rem; }
  .info-grid { grid-template-columns: 1fr; }
  .testimonial-slide { padding: 10px 5px; }
  .contact-card { padding: 25px 20px; }
  :root { --section-py: 50px; }
}

@media (max-width: 575px) {
  .hero-btns .btn-hero-primary, .hero-btns .btn-hero-outline { width: 100%; justify-content: center; }
  .hero-stats { gap: 15px; }
  .hero-stat-divider { display: none; }
}

/* ============================================================
   DARK MODE OVERRIDES
   ============================================================ */
[data-theme="dark"] .navbar-dark { --bs-navbar-color: rgba(255,255,255,.8); }
[data-theme="dark"] .footer { background: #06091a; }
[data-theme="dark"] .stats-section { background: transparent; }
[data-theme="dark"] .testimonials-section { background: #0F2E2C; }
[data-theme="dark"] .timeline-card { background: #1e293b; }
[data-theme="dark"] .page-hero { background: #0F2E2C; }










