/* ============================================================
   STK MARRAKECH – CSS Design System
   Mobile-first | German + Moroccan palette
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --clr-primary: #DD0000;
  /* Rouge allemand */
  --clr-primary-dk: #B50000;
  --clr-gold: #C9A84C;
  /* Or marocain */
  --clr-gold-lt: #E2C06E;
  --clr-terra: #B85C38;
  /* Terracotta marocain */
  --clr-dark: #1A1A1A;
  /* Noir allemand */
  --clr-dark-2: #2C2C2C;
  --clr-cream: #FDF8F0;
  /* Fond crème */
  --clr-cream-dk: #F5EDE0;
  --clr-white: #FFFFFF;
  --clr-muted: #7A7A7A;
  --clr-border: #E8DDD0;

  /* Typography */
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Sizing */
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.25);
  --shadow-red: 0 8px 32px rgba(221, 0, 0, 0.20);

  /* Transitions */
  --tr-fast: 0.18s ease;
  --tr-mid: 0.30s ease;
  --tr-slow: 0.50s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--clr-cream);
  color: var(--clr-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.material-symbols-outlined {
  vertical-align: middle;
  font-size: inherit;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--clr-dark-2);
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section {
  padding-block: var(--sp-12);
}

.section--lg {
  padding-block: var(--sp-20);
}

.grid-2 {
  display: grid;
  gap: var(--sp-6);
}

.grid-3 {
  display: grid;
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  gap: var(--sp-6);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--clr-gold);
}

.text-primary {
  color: var(--clr-primary);
}

.text-muted {
  color: var(--clr-muted);
}

/* ── Section Headers ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}

.section-title {
  margin-bottom: var(--sp-4);
}

.section-title span {
  color: var(--clr-primary);
}

.section-subtitle {
  color: var(--clr-muted);
  max-width: 600px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: all var(--tr-mid);
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--clr-primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(221, 0, 0, 0.3);
}

.btn-gold {
  background: var(--clr-gold);
  color: var(--clr-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--clr-gold-lt);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--clr-white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}

.btn-icon {
  font-size: 1.1em;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ── Cards ── */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-mid);
  overflow: hidden;
}

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

.card-body {
  padding: var(--sp-6);
}

/* ── Glass Card ── */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
}

/* ── Decorative accent line ── */
.accent-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-gold));
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-gold {
  background: rgba(201, 168, 76, 0.15);
  color: var(--clr-gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.badge-red {
  background: rgba(221, 0, 0, 0.10);
  color: var(--clr-primary);
  border: 1px solid rgba(221, 0, 0, 0.2);
}

.badge-green {
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

/* ╔══════════════════════════════════════════╗
   ║              NAVBAR                      ║
   ╚══════════════════════════════════════════╝ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: var(--sp-3);
  transition: all var(--tr-mid);
}

.navbar.scrolled {
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-gold));
  border-radius: var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  color: var(--clr-white);
  letter-spacing: -0.03em;
}

.navbar__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
}

.navbar__logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--clr-muted);
  letter-spacing: 0.08em;
}

.navbar__nav {
  display: none;
}

.navbar__nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--clr-dark);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--clr-primary);
  background: rgba(221, 0, 0, 0.06);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.navbar__cta {
  display: none;
}

.navbar__burger {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: all var(--tr-mid);
}

.navbar__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.navbar--transparent:not(.scrolled) .navbar__logo-text {
  color: var(--clr-white);
}

.navbar--transparent:not(.scrolled) .navbar__logo-text span {
  color: rgba(255, 255, 255, 0.7);
}

.navbar--transparent:not(.scrolled) .navbar__nav a {
  color: var(--clr-white);
}

.navbar--transparent:not(.scrolled) .navbar__nav a:hover,
.navbar--transparent:not(.scrolled) .navbar__nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--clr-white);
}

.navbar--transparent:not(.scrolled) .navbar__burger span {
  background: var(--clr-white);
}

.navbar--transparent:not(.scrolled) .theme-toggle {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar--transparent:not(.scrolled) .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.navbar__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--tr-mid);
}

.navbar__mobile.open {
  transform: translateX(0);
}

.navbar__mobile a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: color var(--tr-fast);
}

.navbar__mobile a:hover {
  color: var(--clr-gold);
}

.navbar__mobile .btn-whatsapp {
  margin-top: var(--sp-4);
}

/* ╔══════════════════════════════════════════╗
   ║              HERO                        ║
   ╚══════════════════════════════════════════╝ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 168, 76, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(221, 0, 0, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, #1A1A1A 0%, #2C1810 50%, #1A1A1A 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(201, 168, 76, 0.03) 40px, rgba(201, 168, 76, 0.03) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.015) 40px, rgba(255, 255, 255, 0.015) 41px);
}

.hero__wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  padding-top: 120px;
  padding-bottom: var(--sp-12);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    gap: var(--sp-10);
    text-align: left;
  }

  .hero__content {
    flex: 1.2;
  }

  .hero__media {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
  }

  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__stats {
    justify-content: flex-start;
  }
}

@media (min-width: 992px) {
  .hero__wrapper {
    gap: var(--sp-12);
  }

  .hero__content {
    flex: 1.4;
  }

  .hero__media {
    flex: 0.6;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: var(--sp-5);
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 560px;
  margin-bottom: var(--sp-8);
  line-height: 1.65;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  justify-content: center;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: center;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1;
}

.hero__stat-value span {
  color: var(--clr-gold);
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.hero__media {
  display: flex;
  justify-content: center;
}

.hero__reel {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero__reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__reel:hover img {
  transform: scale(1.05);
}


/* ╔══════════════════════════════════════════╗
   ║           ABOUT SECTION                  ║
   ╚══════════════════════════════════════════╝ */
.about {
  background: var(--clr-white);
}

.about__grid {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about__badge-float {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--clr-white);
}

.about__badge-float strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--clr-gold);
}

.about__badge-float span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.about__features {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.about__feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.about__feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(221, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about__feature-title {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 2px;
}

.about__feature-text {
  font-size: 0.88rem;
  color: var(--clr-muted);
}

/* ╔══════════════════════════════════════════╗
   ║           SERVICES / FORMATIONS          ║
   ╚══════════════════════════════════════════╝ */
.services {
  background: var(--clr-cream);
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  border: 1px solid var(--clr-border);
  transition: all var(--tr-mid);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-gold));
  transform: scaleX(0);
  transition: transform var(--tr-mid);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(221, 0, 0, 0.1), rgba(201, 168, 76, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--sp-4);
}

.service-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
}

.service-card__text {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.service-card__tag {
  font-size: 0.75rem;
}

/* ╔══════════════════════════════════════════╗
   ║           WHY GERMANY                    ║
   ╚══════════════════════════════════════════╝ */
.why {
  background: var(--clr-dark);
  color: var(--clr-white);
}

.why .section-tag {
  background: rgba(201, 168, 76, 0.15);
}

.why .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.why-grid {
  display: grid;
  gap: var(--sp-4);
}

.why-item {
  display: flex;
  gap: var(--sp-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: all var(--tr-mid);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 168, 76, 0.3);
}

.why-item__num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.2);
  line-height: 1;
  min-width: 48px;
}

.why-item__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-1);
}

.why-item__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ╔══════════════════════════════════════════╗
   ║           HOW IT WORKS                   ║
   ╚══════════════════════════════════════════╝ */
.steps {
  background: var(--clr-white);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-5);
  align-items: flex-start;
}

.step__num {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-terra));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-white);
  box-shadow: var(--shadow-red);
}

.step__title {
  font-size: 1.1rem;
  margin-bottom: var(--sp-1);
}

.step__text {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ╔══════════════════════════════════════════╗
   ║           TESTIMONIALS                   ║
   ╚══════════════════════════════════════════╝ */
.testimonials {
  background: var(--clr-cream-dk);
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-4);
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex-shrink: 0;
  width: min(320px, 80vw);
  scroll-snap-align: start;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}

.testimonial-card__stars {
  color: var(--clr-gold);
  font-size: 0.9rem;
  margin-bottom: var(--sp-3);
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.9rem;
  color: var(--clr-dark-2);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--clr-white);
  font-size: 0.9rem;
}

.testimonial-card__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--clr-muted);
}

/* ╔══════════════════════════════════════════╗
   ║           BLOG PREVIEW                   ║
   ╚══════════════════════════════════════════╝ */
.blog-preview {
  background: var(--clr-white);
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--tr-mid);
}

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

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--clr-cream-dk), var(--clr-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card__body {
  padding: var(--sp-5);
}

.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: var(--sp-2);
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: 0.75rem;
  color: var(--clr-muted);
}

.blog-card__meta-sep::before {
  content: '·';
}

/* ╔══════════════════════════════════════════╗
   ║           CONTACT SECTION                ║
   ╚══════════════════════════════════════════╝ */
.contact {
  background: var(--clr-dark);
}

.contact-box {
  background: linear-gradient(135deg, rgba(221, 0, 0, 0.15), rgba(201, 168, 76, 0.1));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
}

.contact-box h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.contact-box p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-info-item .icon {
  font-size: 1.2rem;
}

/* ╔══════════════════════════════════════════╗
   ║           FOOTER                         ║
   ╚══════════════════════════════════════════╝ */
.footer {
  background: #111;
  padding-block: var(--sp-10) var(--sp-6);
}

.footer__grid {
  display: grid;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--sp-3);
  line-height: 1.65;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--tr-fast);
}

.footer__links a .material-symbols-outlined {
  font-size: 1.1rem;
}

.footer__links a:hover {
  color: var(--clr-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__flag {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ╔══════════════════════════════════════════╗
   ║         WHATSAPP FLOAT BUTTON            ║
   ╚══════════════════════════════════════════╝ */
.wa-float {
  position: fixed;
  bottom: var(--sp-5);
  right: var(--sp-5);
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--tr-mid);
  animation: wa-bounce 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--clr-dark);
  color: var(--clr-white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-fast);
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
}

/* ╔══════════════════════════════════════════╗
   ║              BLOG PAGE                   ║
   ╚══════════════════════════════════════════╝ */
.blog-hero {
  background: var(--clr-dark);
  padding: 130px var(--sp-4) var(--sp-12);
  text-align: center;
}

.blog-hero h1 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin-inline: auto;
}

.blog-filters {
  background: var(--clr-white);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 64px;
  z-index: 100;
}

.blog-filters__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
}

.blog-filters__cats {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  background: var(--clr-white);
  transition: all var(--tr-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.blog-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  background: var(--clr-white);
}

.blog-search input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--clr-dark);
  background: transparent;
  width: 140px;
}

.blog-search input::placeholder {
  color: var(--clr-muted);
}

.blog-grid-section {
  background: var(--clr-cream);
  padding-block: var(--sp-10);
}

.blog-grid {
  display: grid;
  gap: var(--sp-6);
}

.no-posts {
  text-align: center;
  padding: var(--sp-16);
  color: var(--clr-muted);
}

.no-posts .icon {
  font-size: 3rem;
  margin-bottom: var(--sp-4);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
}

.page-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--clr-dark);
  transition: all var(--tr-fast);
}

.page-btn.active,
.page-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

/* ╔══════════════════════════════════════════╗
   ║              POST PAGE                   ║
   ╚══════════════════════════════════════════╝ */
.post-hero {
  padding: 110px var(--sp-4) var(--sp-8);
  background: var(--clr-dark);
}

.post-hero__cat {
  color: var(--clr-gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}

.post-hero__title {
  color: var(--clr-white);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: var(--sp-4);
  line-height: 1.15;
}

.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.post-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.post-body {
  background: var(--clr-white);
}

.post-content {
  max-width: 720px;
  margin-inline: auto;
  padding: var(--sp-10) var(--sp-4);
}

.post-content p {
  margin-bottom: var(--sp-4);
  line-height: 1.8;
}

.post-content h2 {
  margin: var(--sp-8) 0 var(--sp-4);
}

.post-content h3 {
  margin: var(--sp-6) 0 var(--sp-3);
}

.post-content ul,
.post-content ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.post-content li {
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}

.post-content blockquote {
  border-left: 4px solid var(--clr-gold);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(201, 168, 76, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--sp-6) 0;
  font-style: italic;
  color: var(--clr-dark-2);
}

.post-content img {
  border-radius: var(--radius-md);
  margin-block: var(--sp-6);
}

.post-content a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.post-cta {
  background: var(--clr-dark);
  margin: var(--sp-10) 0 0;
  padding: var(--sp-8);
  border-radius: var(--radius-md);
  text-align: center;
}

.post-cta h3 {
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}

.post-cta p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-5);
}

/* ╔══════════════════════════════════════════╗
   ║           ANIMATIONS                     ║
   ╚══════════════════════════════════════════╝ */
@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

@keyframes wa-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.65s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.65s ease forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ╔══════════════════════════════════════════╗
   ║     RESPONSIVE — TABLET (≥ 640px)        ║
   ╚══════════════════════════════════════════╝ */
@media (min-width: 640px) {
  .container {
    padding-inline: var(--sp-6);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__img-wrap img {
    height: 400px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ╔══════════════════════════════════════════╗
   ║     RESPONSIVE — DESKTOP (≥ 1024px)      ║
   ╚══════════════════════════════════════════╝ */
@media (min-width: 1024px) {
  .container {
    padding-inline: var(--sp-8);
  }

  .navbar__nav {
    display: flex;
    gap: var(--sp-1);
  }

  .navbar__cta {
    display: flex;
  }

  .navbar__burger {
    display: none;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  .steps-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__image {
    display: block;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .blog-search input {
    width: 200px;
  }
}

/* ╔══════════════════════════════════════════╗
   ║     RESPONSIVE — WIDE (≥ 1280px)         ║
   ╚══════════════════════════════════════════╝ */
@media (min-width: 1280px) {
  .contact-box {
    padding: var(--sp-16) var(--sp-12);
  }
}

/* ── Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ╔══════════════════════════════════════════╗
   ║           DARK MODE OVERRIDES            ║
   ╚══════════════════════════════════════════╝ */
[data-theme="dark"] {
  background-color: #111317;
}

[data-theme="dark"] body {
  background-color: #111317;
  color: #E8EAF0;
}

[data-theme="dark"] p {
  color: #A0AABF;
}

[data-theme="dark"] .text-muted {
  color: #9BA3AF;
}

[data-theme="dark"] .card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .blog-filters,
[data-theme="dark"] .post-body,
[data-theme="dark"] .about {
  background: #1C1E24;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(17, 19, 23, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .navbar__nav a {
  color: #E8EAF0;
}

[data-theme="dark"] .navbar__burger span {
  background: #E8EAF0;
}

[data-theme="dark"] .services,
[data-theme="dark"] .steps,
[data-theme="dark"] .blog-preview,
[data-theme="dark"] .blog-grid-section {
  background: #111317;
}

[data-theme="dark"] .testimonials {
  background: #0A0A0C;
}

[data-theme="dark"] .testimonial-card__text {
  color: #D1D5DB;
}

[data-theme="dark"] .filter-btn {
  background: #1C1E24;
  color: #D1D5DB;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .filter-btn:hover {
  background: var(--clr-primary);
}

[data-theme="dark"] .blog-search {
  background: #1C1E24;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .blog-search input {
  color: #FDF8F0;
}

[data-theme="dark"] .post-content blockquote {
  color: #D1D5DB;
  background: rgba(201, 168, 76, 0.1);
}

/* Bouton Light/Dark */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  transition: all var(--tr-fast);
}

[data-theme="dark"] .theme-toggle {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
  background: rgba(201, 168, 76, 0.3);
}

/* ════════════════════ OFFICIAL LOGO STYLING ════════════════════ */
.navbar__logo-img img,
.loader-logo img,
.footer__brand .navbar__logo img {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}