/* ==========================================================
   NBS CONSULTING — Site Web
   Design : Éditorial corporate premium
   Couleurs : Bleu sarcelle / Vert lime / Or
   ========================================================== */

/* ===== VARIABLES ===== */
:root {
  /* Couleurs NBS */
  --navy: #1F5F6B;
  --navy-dark: #164950;
  --navy-deep: #0F3A40;
  --teal: #2A8A8A;
  --teal-light: #5AAFAF;
  --green: #8DC63F;
  --green-dark: #6BAE2C;
  --gold: #C9A227;
  --gold-light: #E8C76B;
  --gold-soft: #F4E4A6;

  /* Neutres premium */
  --cream: #FAF8F3;
  --bone: #F5F1E8;
  --paper: #FBFAF6;
  --ink: #1A1F26;
  --charcoal: #2C3E44;
  --gray: #6B7B82;
  --gray-light: #B8C2C7;
  --gray-soft: #E5EBEE;
  --white: #FFFFFF;

  /* Typographie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacings */
  --container: 1280px;
  --gutter: 1.5rem;

  /* Ombres */
  --shadow-sm: 0 2px 4px rgba(31, 95, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 95, 107, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 95, 107, 0.12);
  --shadow-xl: 0 24px 60px rgba(31, 95, 107, 0.18);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.eyebrow-light { color: var(--gold-light); }

.eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--navy);
  position: relative;
}

.section-title-light { color: var(--white); }
.section-title-light em { color: var(--gold-light); }

.section-sub {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.lead-light {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all var(--t-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-block { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all var(--t-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: white;
  padding: 4px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base);
}
.logo-link:hover .logo-img { transform: rotate(-3deg) scale(1.05); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base);
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--navy-dark); }
.nav-cta::after { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--t-base);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(141, 198, 63, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(31, 95, 107, 0.06), transparent 60%),
    var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.shape-1 {
  width: 500px; height: 500px;
  background: var(--teal);
  top: -150px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--green);
  bottom: -100px; left: -100px;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--gold);
  top: 30%; left: 40%;
  opacity: 0.15;
}
.shape-4 {
  width: 300px; height: 300px;
  background: var(--navy);
  bottom: 30%; right: 25%;
  opacity: 0.1;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Hero left */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--navy);
  position: relative;
  white-space: nowrap;
}

.title-accent {
  background: linear-gradient(110deg, var(--green) 0%, var(--green-dark) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-sub strong { color: var(--navy); font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray);
}
.meta-item i {
  color: var(--green-dark);
  font-size: 1.1rem;
}

/* Hero right */
.hero-right { position: relative; }

.hero-card {
  position: relative;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(141, 198, 63, 0.2), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(201, 162, 39, 0.15), transparent 50%);
  pointer-events: none;
}

.iso-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.iso-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--t-base);
  position: relative;
}

.iso-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(6px);
  border-color: var(--gold);
}

.iso-card i {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.iso-1 i { background: rgba(201, 162, 39, 0.2); color: var(--gold-light); }
.iso-2 i { background: rgba(141, 198, 63, 0.2); color: var(--green); }
.iso-3 i { background: rgba(90, 175, 175, 0.2); color: var(--teal-light); }

.iso-card div { display: flex; flex-direction: column; }

.iso-norm {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.iso-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.hero-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 12px;
  color: var(--navy-deep);
}

.hero-badge i {
  font-size: 1.8rem;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-badge span {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid var(--gray-light);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--navy);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ===== STATS ===== */
.stats {
  padding: 4rem 0;
  background: var(--navy);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--gold) 0%, var(--green) 50%, var(--teal) 100%);
}

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

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--green);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-top: 0.7rem;
  letter-spacing: 0.02em;
}

/* ===== ABOUT ===== */
.about {
  padding: 7rem 0;
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image { position: relative; }

.about-visual {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--cream) 0%, var(--bone) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-shape {
  position: relative;
  width: 70%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 6rem;
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.about-deco {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.deco-1 {
  width: 120px; height: 120px;
  background: var(--green);
  top: 10%; right: 8%;
  opacity: 0.9;
}

.deco-2 {
  width: 80px; height: 80px;
  background: var(--gold);
  bottom: 15%; left: 8%;
  opacity: 0.9;
}

.about-tag {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: var(--white);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.about-tag i { color: var(--green-dark); }

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
}

.about-slogan {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

.about-slogan i {
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-slogan p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0;
}

/* ===== EXPERTISE ===== */
.expertise {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.expertise::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.expertise::after {
  content: '';
  position: absolute;
  top: 20%; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.expertise-card {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all var(--t-base);
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.expertise-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-8px);
  border-color: var(--gold);
}

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

.expertise-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.expertise-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.expertise-card > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.expertise-list i {
  color: var(--green);
  margin-top: 4px;
  font-size: 0.8rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 7rem 0;
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: 16px;
  transition: all var(--t-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-color: transparent;
}

.service-featured h3,
.service-featured p { color: var(--white); }

.service-featured:hover {
  box-shadow: 0 20px 50px rgba(31, 95, 107, 0.35);
}

.service-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.8rem;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 4px;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  transition: all var(--t-base);
}

.service-card:hover .service-icon-wrap {
  transform: rotate(-5deg) scale(1.05);
  background: var(--gold);
  color: var(--navy-deep);
}

.service-featured .service-icon-wrap {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-light);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.service-featured h3 { color: var(--white); }

.service-card > p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-featured > p { color: rgba(255, 255, 255, 0.8); }

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-soft);
}

.service-featured .service-meta {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.service-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--gray);
  font-weight: 500;
}

.service-meta i { color: var(--green-dark); }

.service-featured .service-meta span { color: rgba(255, 255, 255, 0.8); }
.service-featured .service-meta i { color: var(--gold-light); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: gap var(--t-base);
}

.service-link:hover { gap: 0.8rem; color: var(--gold); }

.service-featured .service-link { color: var(--gold-light); }
.service-featured .service-link:hover { color: var(--white); }

/* ===== DOWNLOADS ===== */
.downloads {
  padding: 7rem 0;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 60%, var(--teal) 130%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.downloads::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--green) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.downloads-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.downloads-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.df-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.df-item i {
  width: 40px;
  height: 40px;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.downloads-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: all var(--t-base);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  transform: translateX(8px);
}

.download-card-accent {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  border-color: transparent;
}

.download-card-accent:hover {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 100%);
}

.dc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.download-card-accent .dc-icon {
  background: var(--navy);
  color: var(--gold-light);
}

.dc-content { flex: 1; }

.dc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.download-card-accent .dc-tag { color: var(--navy); }

.dc-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.download-card-accent .dc-content h4 { color: var(--navy-deep); }

.dc-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.download-card-accent .dc-content p { color: rgba(15, 58, 64, 0.8); }

.dc-size {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.download-card-accent .dc-size { color: rgba(15, 58, 64, 0.6); }

.dc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}

.download-card:hover .dc-arrow {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(-12deg);
}

.download-card-accent .dc-arrow {
  background: var(--navy);
  color: var(--gold-light);
}

/* ===== FORMATIONS ===== */
.formations {
  padding: 7rem 0;
  background: var(--cream);
}

.formations-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.formation-row {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-soft);
  transition: all var(--t-base);
}

.formation-row:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.formation-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.formation-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.formation-content p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

.formation-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-end;
}

.formation-duration {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.formation-level {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 4px;
}

.formation-cta {
  padding: 0.7rem 1.4rem;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--t-base);
}

.formation-cta:hover {
  background: var(--navy);
  color: var(--white);
}

.formations-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px dashed var(--gold);
}

.formations-cta p {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ===== TEAM ===== */
.team {
  padding: 7rem 0;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all var(--t-base);
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-6px);
}

.team-avatar {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
}

.team-avatar-green {
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color: var(--white);
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
}

.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0.5;
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.team-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.team-certs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.cert i {
  color: var(--gold-light);
  font-size: 0.75rem;
}

.team-bio {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-style: italic;
}

/* ===== PARTNERS ===== */
.partners {
  padding: 7rem 0;
  background: var(--paper);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.partner-card {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-radius: 20px;
  transition: all var(--t-base);
}

.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.partner-card-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-color: transparent;
}

.partner-content { flex: 1; }

.partner-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.8rem;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.partner-card-featured .partner-tag {
  background: var(--gold);
  color: var(--navy-deep);
}

.partner-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.partner-card-featured h3 { color: var(--white); }

.partner-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 1rem;
}

.partner-card-featured p { color: rgba(255, 255, 255, 0.8); }

.partner-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.partner-card-featured .partner-meta { color: var(--gold-light); }

.partner-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.partner-icon-green {
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color: var(--white);
}

.partners-cta {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(120deg, var(--cream), var(--bone));
  border-radius: 16px;
}

.cta-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ===== CONTACT ===== */
.contact {
  padding: 7rem 0;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -300px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--green) 0%, transparent 60%);
  opacity: 0.1;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all var(--t-base);
}

.contact-card-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  transform: translateX(6px);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-card-icon-green {
  background: var(--green-dark);
  color: var(--white);
}

.contact-card-icon-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.ccl-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.ccl-value {
  display: block;
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

.contact-qr {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-radius: 14px;
  color: var(--navy);
}

.contact-qr img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-qr div { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-qr strong { font-size: 1rem; color: var(--navy); }
.contact-qr span { font-size: 0.85rem; color: var(--gray); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  color: var(--charcoal);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 1.8rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-soft);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: all var(--t-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-note i { color: var(--green-dark); }

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 64px;
  height: 64px;
  background: white;
  padding: 6px;
  border-radius: 10px;
  object-fit: contain;
}

.footer-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-logo span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.footer-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-contact a i {
  width: 16px;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-bottom p { letter-spacing: 0.05em; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.4rem;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--t-base);
}

.whatsapp-float i { font-size: 1.5rem; }

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .downloads-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
  .stat-item:nth-child(even)::after { display: none; }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item::after { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-soft);
  }
  .burger { display: flex; }

  .hero { padding: 7rem 0 4rem; }
  .hero-title { font-size: 2.5rem; }

  .section-header { margin-bottom: 3rem; }
  .section-title { font-size: 2rem; }

  .about, .expertise, .services, .downloads, .formations, .team, .partners, .contact {
    padding: 5rem 0;
  }

  .formation-row {
    grid-template-columns: auto 1fr;
  }
  .formation-meta,
  .formation-cta {
    grid-column: 1 / -1;
  }
  .formation-meta { flex-direction: row; }

  .partner-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .partner-icon { margin: 0 auto; }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-qr { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .whatsapp-float span { display: none; }
  .whatsapp-float {
    padding: 1rem;
    border-radius: 50%;
  }
  .whatsapp-float i { font-size: 1.6rem; }

  .scroll-down { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
  .hero-card { padding: 2rem 1.5rem; }
  .contact-form-wrap { padding: 1.8rem; }
}
