:root {
  --bg: #111927;
  --bg-card: #1a2537;
  --bg-card-hover: #1f2d42;
  --bg-alt: #0f1a2a;
  --primary: #1F538C;
  --primary-dark: #0A2540;
  --primary-light: rgba(31, 83, 140, 0.12);
  --accent: #C99A3E;
  --accent-dark: #a07a2e;
  --accent-light: rgba(201, 154, 62, 0.12);
  --text: #f1f5f9;
  --text-light: #c8d0dc;
  --text-muted: #8899b0;
  --border: #243044;
  --border-light: #2d3a4e;
  --success: #10b981;
  --error: #ef4444;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #1F538C, #0A2540);
  --gradient-accent: linear-gradient(135deg, #C99A3E, #a07a2e);
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

::selection {
  background: var(--primary);
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  position: relative;
  width: 100%;
}

#about {
  padding: 0 0 100px;
  margin-bottom: 0;
}

#about .container {
  width: 100%;
}

#services {
  padding: 0 0 10px;
}

#methodo {
  padding: 0 0 100px;
}

#piliers {
  padding: 0 0 100px;
}

#engagement {
  padding: 0 0 100px;
}

#perf {
  padding-bottom: 100px;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.section__title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text);
}

.section__text {
  font-size: 0.92rem;
  color: var(--text-light);
  max-width: 640px;
}

.section__header {
  text-align: center;
  margin-bottom: 20px;
}

.section__header .section__text {
  margin: 0 auto;
}

.text--accent {
  color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
  min-height: 52px;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(31, 83, 140, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(31, 83, 140, 0.45);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 154, 62, 0.3);
}

.btn--accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 32px rgba(201, 154, 62, 0.45);
  transform: translateY(-2px);
}

.btn--accent:active {
  transform: translateY(0) scale(0.98);
}

.pulse-btn {
  animation: pulseBtn 2s ease-in-out infinite;
}

@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 4px 16px rgba(31, 83, 140, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(31, 83, 140, 0.5), 0 0 0 8px rgba(31, 83, 140, 0.08); }
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.06);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar.scrolled::after {
  opacity: 0.6;
  animation: navShine 3s linear infinite;
}

@keyframes navShine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 40px;
}

.nav__logo:hover .nav__logo-frame {
  transform: scale(1.05) rotate(-3deg);
  border-color: var(--primary);
}

.nav__logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  flex-shrink: 0;
  overflow: hidden;
}

.nav__logo-frame img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
}

.nav__logo-text span {
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  color: var(--text);
}

.nav__logo-text small {
  font-size: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: clamp(12px, 2.5vw, 28px);
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    padding-bottom: 3px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-left: 12px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px;
    margin: -14px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
  }

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 90px 0 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0.08;
  filter: grayscale(100%);
}



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

.hero__gear {
  opacity: 0.05;
  mix-blend-mode: soft-light;
  will-change: transform;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(31, 83, 140, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 154, 62, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(31, 83, 140, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: var(--bg);
  z-index: 0;
  pointer-events: none;
}

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

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(31, 83, 140, 0.2);
  border-radius: 50%;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

.hero__content h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.hero__accent {
  background: linear-gradient(135deg, var(--accent), #e8b84a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__content p {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--text-light);
  margin: 0 0 20px;
  max-width: 540px;
  line-height: 1.7;
  text-align: justify;
}

.hero__badge-track {
  overflow: hidden;
  margin: 0 0 12px;
  width: 100%;
  position: relative;
}

.hero__badge-inner {
  display: flex;
  width: max-content;
  will-change: transform;
}

.hero__badge-inner.scroll {
  animation: ticker 30s linear infinite;
}

.hero__badge-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
  padding-right: 8rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero__logos {
  position: absolute;
  right: 40px;
  top: auto;
  bottom: 50px;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
  }
  .hero__logos {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 1.5rem;
    order: 2;
  }
  .hero__content {
    order: 1;
  }
}

.hero__logos-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__logos-group {
  display: flex;
  gap: 16px;
}

.hero__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
  flex-shrink: 0;
  overflow: hidden;
}

.hero__logo-link:hover {
  transform: scale(1.05) rotate(-3deg);
  border-color: var(--primary);
  opacity: 0.9;
}

.hero__logo-duplicate {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 6px;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.hero__stats-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat {
  position: relative;
}

.hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero__stat-num {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 4px;
  align-items: start;
}

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

.about__logo-showcase {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__logo-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 12px 48px rgba(31, 83, 140, 0.12), 0 0 0 1px rgba(31, 83, 140, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 48px rgba(31, 83, 140, 0.12); }
  50% { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(31, 83, 140, 0.18); }
}

.about__logo-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.about__logo-ring:hover {
  animation: none;
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.about__orbit {
  position: absolute;
  border: 1px solid rgba(31, 83, 140, 0.12);
  border-radius: 50%;
  animation: orbitSpin 12s linear infinite;
  pointer-events: none;
}

.about__orbit--1 {
  width: 300px;
  height: 300px;
  animation-duration: 12s;
}

.about__orbit--2 {
  width: 250px;
  height: 250px;
  animation-duration: 8s;
  animation-direction: reverse;
  border-style: dashed;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about__content .section__text {
  margin-bottom: 4px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: justify;
  color: var(--text-light);
}

.about__content .section__text strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.service-card:hover .service-card__icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 auto 16px;
  transition: var(--transition);
  flex-shrink: 0;
}

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

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card__cta {
  margin-top: auto;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: var(--transition);
}

.service-card:hover .service-card__cta {
  opacity: 1;
  gap: 12px;
}

.service-card__cta i {
  font-size: 0.85rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__cta i {
  transform: translateX(8px);
}

/* ===== PERFORMANCE ===== */
.perf {
  position: relative;
  overflow: hidden;
}

.perf::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 83, 140, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.perf__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.perf__card {
  text-align: center;
  padding: 24px 14px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.perf__ring {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
}

.perf__ring svg {
  transform: rotate(-90deg);
  transform-origin: center;
}

.perf__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.perf__bar {
  fill: none;
  stroke: url(#perfGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.perf__bar.animated {
  stroke-dashoffset: var(--offset, 0);
}

.perf__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 1px;
  font-size: 1.3rem;
  line-height: 1;
}

.perf__card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.perf__card p {
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.5;
}

.perf__icon {
  margin: 12px auto 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 83, 140, 0.12);
  border-radius: 12px;
  font-size: 1.15rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.perf__card:hover .perf__icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(31, 83, 140, 0.25);
}

/* ===== METHODOLOGY ===== */
.methodo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.methodo__card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.methodo__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(31, 83, 140, 0.08);
  line-height: 1;
}

.methodo__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.methodo__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.methodo__card:hover .methodo__icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1);
}

.methodo__card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.methodo__card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.7;
}

.methodo__bottom {
  text-align: center;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(31, 83, 140, 0.1), rgba(201, 154, 62, 0.06));
  border: 1px solid rgba(31, 83, 140, 0.15);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text);
}

/* ===== ENGAGEMENTS ===== */
.engagement__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.engagement__card {
  text-align: center;
  padding: 24px 18px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.engagement__card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.engagement__card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.engagement__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.engagement__card:hover .engagement__card-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1);
}

.engagement__card p {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(31, 83, 140, 0.08), transparent),
    radial-gradient(ellipse at 70% 50%, rgba(201, 154, 62, 0.04), transparent);
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__content h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cta__content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq__item:hover {
  border-color: var(--primary);
}

.faq__item.open {
  border-color: var(--primary);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.faq__question i {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.faq__item.open .faq__question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq__answer {
  display: none;
  margin-top: 12px;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.faq__item.open .faq__answer {
  display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-alt);
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.testimonial__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.testimonial__stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.testimonial__card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 18px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial__author div strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial__author div span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.section--compact {
  padding: 16px 0;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.contact__wrap {
  display: flex;
  gap: 24px;
  background: linear-gradient(135deg, var(--bg-card) 0%, color-mix(in srgb, var(--bg-card) 95%, var(--accent)) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}

.contact__wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: var(--radius) 0 0 var(--radius);
}

.contact__info {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0;
  justify-content: center;
}

.contact__info-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact__icon-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), color-mix(in srgb, var(--accent-light) 80%, var(--primary-light)));
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 8%, transparent);
  transition: var(--transition);
}

.contact__icon-ring:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 12%, transparent);
}

.contact__info .section__title {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 0;
  line-height: 1.3;
}

.contact__info-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 52px;
  margin-top: -2px;
}

.contact__flag {
  width: 1.1em;
  height: 0.75em;
  border-radius: 2px;
  display: inline;
  vertical-align: middle;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 52px;
}

.contact__links a {
  font-size: 0.78rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
}

.contact__links a:hover {
  color: var(--text);
  background: var(--primary-light);
  padding: 4px 8px;
}

.contact__links a i {
  width: 16px;
  color: var(--primary);
  font-size: 0.78rem;
  text-align: center;
}

/* ===== FORM ===== */
.contact__form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 2px 0;
}

.form__row {
  display: flex;
  gap: 10px;
}

.form__row .form__group {
  flex: 1;
}

.form__group {
  position: relative;
}

/* ===== Floating label input wrapper ===== */
.form__input-wrap {
  position: relative;
}

.form__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  z-index: 2;
  pointer-events: none;
  transition: color 0.25s ease;
}

.form__input-wrap textarea ~ .form__icon {
  top: 18px;
  transform: none;
}

.contact__form .form__group input,
.contact__form .form__group textarea {
  width: 100%;
  padding: 18px 12px 6px 34px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  transition: border-color 0.25s ease;
  background: var(--bg);
  color: var(--text);
  box-sizing: border-box;
  line-height: 1.4;
  box-shadow: none;
}

.contact__form .form__group textarea {
  padding: 20px 12px 6px 34px;
  resize: vertical;
  min-height: 60px;
}

.contact__form .form__group input:focus,
.contact__form .form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact__form .form__group input:focus ~ .form__icon,
.contact__form .form__group textarea:focus ~ .form__icon,
.contact__form .form__group input:not(:placeholder-shown) ~ .form__icon,
.contact__form .form__group textarea:not(:placeholder-shown) ~ .form__icon {
  color: var(--accent);
}

.contact__form .form__group input.error,
.contact__form .form__group textarea.error {
  border-color: var(--error);
}

.contact__form .form__group input.error ~ .form__icon,
.contact__form .form__group textarea.error ~ .form__icon {
  color: var(--error);
}

.contact__form .form__group input.success,
.contact__form .form__group textarea.success {
  border-color: var(--success);
}

.contact__form .form__group input.success ~ .form__icon,
.contact__form .form__group textarea.success ~ .form__icon {
  color: var(--success);
}

/* ===== Floating label ===== */
.form__input-wrap label {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  padding: 0 4px;
  line-height: 1;
  z-index: 1;
  transform-origin: left center;
  text-shadow: none;
}

.form__input-wrap textarea ~ label {
  top: 18px;
  transform: none;
}

.form__input-wrap input:focus ~ label,
.form__input-wrap textarea:focus ~ label,
.form__input-wrap input:not(:placeholder-shown) ~ label,
.form__input-wrap textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  transform: translateY(0) scale(0.72);
  color: var(--accent);
  left: 34px;
}

.form__input-wrap textarea:focus ~ label,
.form__input-wrap textarea:not(:placeholder-shown) ~ label {
  top: 6px;
}

.form__input-wrap input.error:focus ~ label,
.form__input-wrap input.error:not(:placeholder-shown) ~ label,
.form__input-wrap textarea.error:focus ~ label,
.form__input-wrap textarea.error:not(:placeholder-shown) ~ label {
  color: var(--error);
}

.form__input-wrap input.success:focus ~ label,
.form__input-wrap input.success:not(:placeholder-shown) ~ label,
.form__input-wrap textarea.success:focus ~ label,
.form__input-wrap textarea.success:not(:placeholder-shown) ~ label {
  color: var(--success);
}

.form__required {
  color: var(--error);
}

.contact__form .form__error {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  color: var(--error);
  margin-top: 3px;
  min-height: 0;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact__form .form__error:not(:empty) {
  opacity: 1;
}

/* ===== Character counter ===== */
.form__char-counter {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 0.58rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

.form__char-counter--warn {
  color: var(--accent);
}

.form__char-counter--danger {
  color: var(--error);
}

/* ===== Submit Button ===== */
#submitBtn {
  align-self: flex-end;
  font-size: 0.82rem;
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: none;
  min-height: 40px;
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
}

#submitBtn:hover {
  transform: translateY(-2px);
}

#submitBtn:active {
  transform: translateY(0) scale(0.97);
}

#submitBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Shimmer effect */
.btn__shimmer {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

#submitBtn:not(:disabled):hover .btn__shimmer {
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

.btn__text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== Form banner ===== */
.form-banner {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bannerIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 8px;
}

.form-banner--success {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-banner--success i {
  color: var(--success);
  font-size: 1.2rem;
}

.form-banner--error {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-banner--error i {
  color: var(--error);
  font-size: 1.2rem;
}

.form-banner--error a {
  color: #991b1b;
  font-weight: 600;
  text-decoration: underline;
}

.form-banner--hide {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@keyframes bannerIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Confetti celebration ===== */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 99999;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(400px) rotate(720deg);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 20px 0 16px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer__mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer__brand div span {
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.footer__brand div small {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  display: block;
  line-height: 1.2;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  font-size: 0.78rem;
  color: var(--text-light);
  transition: var(--transition);
  white-space: nowrap;
}

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

.footer__social {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.footer__social-link {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer__social-link--linkedin {
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.3);
}

.footer__social-link--linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.footer__social-link--facebook {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.3);
}

.footer__social-link--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.footer__social-link--whatsapp {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}

.footer__social-link--whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer__copy {
  font-size: 0.65rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.footer--fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  animation: footerSlideUp 0.3s ease-out;
}

#contact.footer-pinned {
  padding-bottom: var(--footer-h, 80px);
}

@keyframes footerSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.shake {
  animation: shake 0.5s ease;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.toast--error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast--success {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* ===== RESPONSIVE ===== */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
  .hero__logos {
    right: 20px;
  }
  .hero__logo-link {
    width: 64px;
    height: 64px;
  }

  .hero__logo-duplicate {
    width: 52px;
    height: 52px;
  }
}

/* Medium screens — nav spacing fixes for French text */
@media (max-width: 1100px) {
  .nav__logo-text small {
    display: block;
    font-size: 0.42rem;
    white-space: nowrap;
  }
  .nav__links {
    gap: clamp(8px, 1.5vw, 16px);
  }
  .nav__link {
    font-size: 0.78rem;
  }
}

/* Tablets landscape */
@media (max-width: 1024px) {
  .hero__content p {
    max-width: 100%;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .engagement__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__logo-showcase {
    max-width: 280px;
  }
  .about__logo-ring {
    width: 200px;
    height: 200px;
  }
  .about__logo-img {
    width: 180px;
    height: 180px;
  }
  .about__orbit--1 {
    width: 260px;
    height: 260px;
  }
  .about__orbit--2 {
    width: 220px;
    height: 220px;
  }
  .perf__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__stats {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }
  .hero__stats-group {
    gap: 20px;
  }
  .hero__stats .btn {
    display: none;
  }

  .section {
    padding: 24px 0;
  }
  #about, #services, #methodo, #piliers, #engagement, #perf {
    padding-bottom: 60px;
  }
  .section__title {
    font-size: 1.25rem;
  }
  .section__text {
    font-size: 0.88rem;
  }
}

/* Tablets portrait & large phones */
@media (max-width: 900px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(17, 25, 39, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px 28px 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 1001;
  }
  .nav__links.active {
    display: flex;
  }
  .nav__link {
    color: var(--text);
    font-size: 1rem;
    padding: 8px 0;
  }
  .hamburger {
    display: flex;
  }
  .hero__inner {
    padding: 0 20px;
  }
  .hero__content p {
    margin: 0 0 20px;
    max-width: 100%;
    text-align: left;
  }
  .hero__actions {
    justify-content: flex-start;
  }
  .hero__stats {
    gap: 16px;
  }
  .hero__stats-group {
    gap: 20px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .about__logo-showcase {
    max-width: 260px;
    margin: 0 auto;
  }
  .about__content .section__text {
    text-align: left;
  }

  .contact__wrap {
    flex-direction: column;
    padding: 18px 20px;
    gap: 14px;
  }
  .contact__wrap::before {
    width: 100%;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .contact__info {
    min-width: 0;
    gap: 6px;
  }
  .contact__info-text,
  .contact__links {
    padding-left: 0;
  }
  .contact__form {
    min-width: 0;
    gap: 6px;
  }
  #submitBtn {
    align-self: stretch;
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer__copy {
    margin-left: auto;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

.nav__link--special {
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(201, 154, 62, 0.3);
  animation: navPulse 2s ease-in-out infinite;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nav__link--special::after {
  display: none;
}

.nav__link--special:hover {
  box-shadow: 0 0 35px rgba(201, 154, 62, 0.55);
  transform: scale(1.06);
}

@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 154, 62, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 154, 62, 0.6); }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
  .hero__gear {
    display: none;
  }
  .hero__particles {
    display: none;
  }
  .section {
    padding: 20px 0;
  }
  #about, #services, #methodo, #piliers, #engagement, #perf {
    padding-bottom: 50px;
  }
  .section__title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .section__text {
    font-size: 0.85rem;
  }
  .section__header {
    margin-bottom: 14px;
  }

  .hero {
    padding: 64px 0 80px;
    min-height: auto;
  }
  .hero__inner {
    padding: 0 16px;
  }
  .hero__content h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .hero__badge-text {
    font-size: 0.6rem;
  }
  .hero__badge-track {
    margin-bottom: 12px;
  }
  .hero__content p {
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: left !important;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__content p .contact__flag {
    width: 1em;
    height: 0.7em;
  }
  .hero__actions {
    margin-bottom: 18px;
    gap: 10px;
    width: 100%;
  }
  .hero__actions .btn {
    flex: 1;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.85rem;
    min-height: 48px;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__stats-group {
    justify-content: center;
  }
  .hero__stat:not(:last-child)::after {
    display: none;
  }
  .hero__stat-num {
    font-size: 1.15rem;
  }
  .hero__stat-label {
    font-size: 0.72rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    padding: 22px 18px;
  }
  .service-card h3 {
    font-size: 0.95rem;
  }
  .service-card p {
    font-size: 0.82rem;
  }

  .methodo__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .methodo__card {
    padding: 22px 18px;
  }
  .methodo__card h3 {
    font-size: 0.95rem;
  }
  .methodo__card p {
    font-size: 0.82rem;
  }
  .methodo__bottom {
    padding: 16px 20px;
    font-size: 0.85rem;
  }

  .engagement__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .engagement__card {
    padding: 22px 18px;
  }
  .engagement__card h3 {
    font-size: 0.95rem;
  }
  .engagement__card p {
    font-size: 0.82rem;
  }

  .form__row {
    flex-direction: column;
    gap: 6px;
  }

  .about__grid {
    gap: 20px;
  }
  .about__content .section__text {
    text-align: left;
  }
  .about__logo-showcase {
    margin: 0 auto;
    max-width: 240px;
  }
  .about__logo-ring {
    width: 180px;
    height: 180px;
  }
  .about__logo-img {
    width: 160px;
    height: 160px;
  }
  .about__orbit--1 {
    width: 240px;
    height: 240px;
  }
  .about__orbit--2 {
    width: 200px;
    height: 200px;
  }

  .perf__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .perf__card {
    padding: 16px 10px 12px;
  }
  .perf__ring {
    width: 90px;
    height: 90px;
  }
  .perf__value {
    font-size: 1.1rem;
  }
  .perf__card h3 {
    font-size: 0.78rem;
  }
  .perf__card p {
    font-size: 0.7rem;
  }

  .cta__content h2 {
    font-size: 1.4rem;
  }
  .cta__content p {
    font-size: 0.88rem;
  }

  .faq__list {
    gap: 8px;
  }
  .faq__item {
    padding: 14px 16px;
  }
  .faq__question {
    font-size: 0.88rem;
  }
  .faq__answer {
    font-size: 0.85rem;
  }

  .nav__link {
    font-size: 1.05rem;
    padding: 10px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .contact__info-text {
    font-size: 0.82rem;
  }
  .contact__links a {
    font-size: 0.85rem;
    padding: 8px 0;
    min-height: 48px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
    min-height: 48px;
  }
  .form__group input,
  .form__group textarea {
    padding: 11px 12px;
    font-size: 16px;
  }
  .form__group label {
    font-size: 0.7rem;
  }

  .toast {
    font-size: 0.78rem;
    padding: 10px 20px;
    white-space: normal;
    max-width: 90vw;
  }

  .footer--fixed {
    position: static;
  }
  #contact.footer-pinned {
    padding-bottom: 0;
  }
}

/* Phones */
@media (max-width: 480px) {
  .hero__gear {
    display: none;
  }
  .hero__particles {
    display: none;
  }

  .container {
    padding: 0 14px;
  }
  .nav__inner {
    padding: 0 14px;
  }
  .hero__particles {
    display: none;
  }

  .container {
    padding: 0 14px;
  }
  .nav__inner {
    padding: 0 14px;
  }

  .section {
    padding: 16px 0;
  }
  #about, #services, #methodo, #piliers, #engagement, #perf {
    padding-bottom: 36px;
  }

  .hero {
    padding: 52px 0 60px;
  }
  .hero__inner {
    padding: 0 14px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.88rem;
  }
  .hero__content h1 {
    font-size: 1.3rem;
  }
  .hero__content p {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  .hero__content p .contact__flag {
    width: 0.9em;
    height: 0.65em;
  }
  .hero__content {
    max-width: 100%;
    min-width: 0;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }
  .hero__stats-group {
    justify-content: center;
    gap: 20px;
  }
  .hero__stat {
    text-align: center;
  }

  .nav__logo-text small {
    font-size: 0.42rem;
  }
  .nav__logo-text span {
    font-size: 0.95rem;
  }
  .nav__logo-frame {
    width: 32px;
    height: 32px;
  }
  .nav__logo-frame img {
    width: 28px;
    height: 28px;
  }

  .section__title {
    font-size: 1.1rem;
  }
  .section__tag {
    font-size: 0.62rem;
    padding: 3px 10px;
    margin-bottom: 6px;
  }
  .section__text {
    font-size: 0.82rem;
  }

  .services__grid,
  .methodo__grid,
  .engagement__grid {
    gap: 10px;
  }
  .service-card,
  .methodo__card,
  .engagement__card {
    padding: 16px 14px;
  }
  .service-card__icon,
  .methodo__icon,
  .engagement__card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }
  .service-card h3,
  .methodo__card h3,
  .engagement__card h3 {
    font-size: 0.88rem;
  }
  .service-card p,
  .methodo__card p,
  .engagement__card p {
    font-size: 0.8rem;
  }

  .methodo__num {
    font-size: 1.4rem;
    top: 10px;
    right: 14px;
  }

  .perf__grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
  .perf__ring {
    width: 100px;
    height: 100px;
  }
  .perf__value {
    font-size: 1.15rem;
  }
  .perf__card h3 {
    font-size: 0.85rem;
  }

  .contact__wrap {
    padding: 14px 14px;
    border-radius: var(--radius-sm);
  }
  .contact__info {
    text-align: center;
    align-items: center;
  }
  .contact__info-head {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  .contact__info-text,
  .contact__links {
    padding-left: 0;
  }
  .contact__links {
    align-items: center;
  }
  .contact__links a {
    justify-content: center;
    width: 100%;
  }
  .contact__form {
    gap: 6px;
  }

  .about__grid {
    gap: 14px;
  }
  .about__content .section__text {
    margin-bottom: 4px;
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: left;
    color: var(--text-light);
  }
  .about__logo-showcase {
    max-width: 200px;
  }
  .about__logo-ring {
    width: 150px;
    height: 150px;
  }
  .about__logo-img {
    width: 135px;
    height: 135px;
  }
  .about__orbit--1 {
    width: 200px;
    height: 200px;
  }
  .about__orbit--2 {
    width: 170px;
    height: 170px;
  }

  .methodo__bottom {
    font-size: 0.78rem;
    padding: 14px 16px;
  }

  .cta__content h2 {
    font-size: 1.2rem;
  }
  .cta__content p {
    font-size: 0.82rem;
  }

  .testimonial__card {
    padding: 18px 14px;
  }
  .testimonial__card p {
    font-size: 0.82rem;
  }
  .testimonial__stars {
    font-size: 0.78rem;
  }

  #submitBtn {
    align-self: stretch;
    justify-content: center;
    font-size: 0.88rem;
    padding: 12px 20px;
  }

  .back-to-top {
    bottom: 70px;
    right: 14px;
    width: 48px;
    height: 48px;
  }
  .btn--lg {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
  .faq__question {
    font-size: 0.85rem;
  }
  .faq__answer {
    font-size: 0.82rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__content p {
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }
  .hero__content p .contact__flag {
    width: 0.85em;
    height: 0.6em;
  }
  .hero__stats-group {
    gap: 14px;
  }
  .hero__stat-num {
    font-size: 1rem;
  }
  .hero__stat-label {
    font-size: 0.7rem;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  .nav__inner {
    padding: 0 10px;
  }

  .hero__inner {
    padding: 0 10px;
  }
  .hero__content h1 {
    font-size: 1.15rem;
  }
  .hero__content p {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  .hero__content p .contact__flag {
    width: 0.8em;
    height: 0.55em;
  }
  .hero__actions .btn {
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  .section__title {
    font-size: 1rem;
  }
  .section__text {
    font-size: 0.78rem;
  }
  .nav__logo-text small {
    max-width: 240px;
    font-size: 0.38rem;
    white-space: normal;
  }
  .nav__logo-text span {
    font-size: 0.85rem;
  }
  .nav__logo-frame {
    width: 28px;
    height: 28px;
  }
  .nav__logo-frame img {
    width: 24px;
    height: 24px;
  }

  .service-card h3,
  .methodo__card h3,
  .engagement__card h3 {
    font-size: 0.82rem;
  }
  .service-card p,
  .methodo__card p,
  .engagement__card p {
    font-size: 0.75rem;
  }
  .service-card__icon,
  .methodo__icon,
  .engagement__card-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* ===== FLIP CARDS ===== */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.flip-card {
  perspective: 1000px;
  height: 320px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.flip-card__front {
  justify-content: center;
  background: var(--bg-card);
}

.flip-card__front:hover {
  border-color: var(--primary);
}

.flip-card__back {
  justify-content: center;
  overflow: hidden;
  background: var(--bg-card-hover);
  transform: rotateY(180deg);
  border-color: var(--primary);
}

.flip-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 10px;
  transition: var(--transition);
  flex-shrink: 0;
}

.flip-card__front h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.3;
}

.flip-card__back ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.flip-card__back li {
  color: var(--text-light);
  font-size: 0.72rem;
  line-height: 1.4;
  padding: 2px 0 2px 16px;
  position: relative;
  word-break: break-word;
}

.flip-card__back li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-detail__section {
  padding: 0;
  margin: 0;
}

.service-detail__section .section__header {
  margin-bottom: 20px;
}

.service-detail__hero {
  display: flex;
  align-items: center;
  padding: 90px 0 20px;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.service-detail__hero .section__header {
  margin-bottom: 0;
}

.service-detail__hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 83, 140, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-detail__hero .section__title {
  font-size: 2.5rem;
}

.service-detail__hero .section__text {
  font-size: 1rem;
  max-width: 700px;
  color: var(--text-light);
}

.service-detail__cta {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(135deg, rgba(31, 83, 140, 0.06), rgba(201, 154, 62, 0.04));
  border-radius: var(--radius);
}

.service-detail__cta h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}

.service-detail__cta p {
  color: var(--text-light);
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flip-card {
    height: 300px;
  }
  .service-detail__hero .section__title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .flip-grid {
    grid-template-columns: 1fr;
  }
  .flip-card {
    height: 280px;
  }
  .service-detail__hero .section__title {
    font-size: 1.4rem;
  }
}

#piliers, #faq, #engagement, #methodo {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

/* Blink animation */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.blink-text {
  animation: none;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 5px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.lang-switcher:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(201, 154, 62, 0.15);
}

.lang-switcher:active {
  transform: translateY(0) scale(0.93);
}

.lang-switcher__flag {
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.lang-switcher__code {
  line-height: 1;
}

.hamburger {
  margin-left: 0;
}

@media (max-width: 768px) {
  .lang-switcher {
    padding: 0 5px;
    height: 24px;
    gap: 2px;
    font-size: 0.6rem;
  }
}
