/* =========================================================
   NEXORIA SARL - Stylesheet Principal
   Palette : Bleu profond #1A2B48 | Or #C5A059 | Anthracite #4A4A4A
   Polices : Playfair Display (titres) | Inter (corps)
========================================================= */

/* ---------- Reset & Variables ---------- */
:root {
  --bleu:       #1A2B48;
  --bleu-light: #223665;
  --or:         #C5A059;
  --or-light:   #d4b578;
  --anthracite: #4A4A4A;
  --gris-clair: #F5F5F5;
  --blanc:      #FFFFFF;
  --ombre:      0 8px 40px rgba(26,43,72,.12);
  --ombre-or:   0 4px 24px rgba(197,160,89,.25);
  --transition: all .35s cubic-bezier(.4,0,.2,1);
  --radius:     8px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--anthracite);
  background: var(--blanc);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--bleu);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Utilitaires ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--gris-clair); }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 600px;
}

.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

.or-line {
  width: 60px;
  height: 3px;
  background: var(--or);
  margin: 16px 0 20px;
  border-radius: 2px;
}
.section-header.centered .or-line { margin: 16px auto 20px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-or {
  background: var(--or);
  color: var(--blanc);
  box-shadow: var(--ombre-or);
}
.btn-or:hover {
  background: var(--or-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197,160,89,.4);
  color: var(--blanc);
}

.btn-outline {
  background: transparent;
  border-color: var(--or);
  color: var(--or);
}
.btn-outline:hover {
  background: var(--or);
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-blanc {
  background: var(--blanc);
  color: var(--bleu);
  font-weight: 700;
}
.btn-blanc:hover {
  background: var(--or);
  color: var(--blanc);
  transform: translateY(-2px);
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}

#header.transparent { background: transparent; }

#header.scrolled {
  background: rgba(26,43,72,.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

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

.logo img { height: 52px; }

/* Masquer le mauvais logo selon le fond. Notre bg header est toujous profond (soit transparent sur image foncée, soit bleu profond). 
   Donc le logo blanc est toujours actif, sauf si l'on gère une option bg-white explicite (classe .bg-white) */
#header .logo img.logo-dark { display: none; }
#header .logo img.logo-white { display: block; }
#header.bg-white .logo img.logo-dark { display: block; }
#header.bg-white .logo img.logo-white { display: none; }

/* Navbar */
.navbar { display: flex; align-items: center; gap: 8px; }

.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: .5px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--or);
  background: rgba(197,160,89,.12);
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 6px;
  background: var(--or);
  color: var(--blanc);
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--or-light);
  transform: translateY(-1px);
  box-shadow: var(--ombre-or);
  color: var(--blanc);
}

/* Menu burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =========================================================
   HERO SECTION
========================================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background:
    linear-gradient(135deg, rgba(26,43,72,.92) 0%, rgba(26,43,72,.75) 60%, rgba(197,160,89,.25) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Particules décoratives */
#hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: pulse-slow 6s ease-in-out infinite alternate;
}
#hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,.1) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  animation: pulse-slow 8s ease-in-out 2s infinite alternate;
}

@keyframes pulse-slow {
  from { transform: scale(1); opacity: .6; }
  to   { transform: scale(1.2); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197,160,89,.15);
  border: 1px solid rgba(197,160,89,.4);
  color: var(--or);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}
.hero-badge span {
  width: 6px; height: 6px;
  background: var(--or);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--blanc);
  font-weight: 700;
  margin-bottom: 24px;
  animation: fadeInUp .9s .2s ease both;
}
.hero-title em {
  font-style: normal;
  color: var(--or);
  position: relative;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 42px;
  max-width: 560px;
  animation: fadeInUp .9s .4s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp .9s .6s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1.5s 1s ease both;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   CHIFFRES / STATS
========================================================= */
#stats {
  background: var(--bleu);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
}

.stat-item {
  background: var(--bleu);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--or);
  transition: var(--transition);
}
.stat-item:hover::after { width: 60%; }
.stat-item:hover { background: var(--bleu-light); }

.stat-icon {
  font-size: 2.2rem;
  color: var(--or);
  margin-bottom: 14px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .suffix { font-size: 2rem; color: var(--or); }

.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   SERVICES
========================================================= */
#services { padding: 100px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--blanc);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--or);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.service-card:hover::before { height: 100%; }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: rgba(197,160,89,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: var(--or);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--or);
  color: var(--blanc);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: var(--transition);
}
.service-card:hover h3 { color: var(--or); }

.service-card p { color: #6b7280; font-size: .95rem; line-height: 1.8; }

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--or);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}
.service-card:hover .service-more { opacity: 1; transform: translateX(0); }

/* =========================================================
   À PROPOS
========================================================= */
#about { background: var(--gris-clair); overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: 12px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--ombre);
}
.about-badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--bleu);
  color: var(--blanc);
  padding: 26px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--ombre);
}
.about-badge-float strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--or);
  line-height: 1;
}
.about-badge-float span { font-size: .8rem; letter-spacing: 1px; opacity: .8; }

.about-content .section-subtitle { margin-bottom: 28px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--blanc);
  border-radius: 8px;
  border-left: 3px solid var(--or);
  transition: var(--transition);
}
.value-item:hover { transform: translateX(4px); box-shadow: var(--ombre); }
.value-icon { font-size: 1.3rem; color: var(--or); margin-top: 2px; }
.value-item h4 { font-size: .9rem; margin-bottom: 4px; }
.value-item p { font-size: .82rem; color: #6b7280; }

/* =========================================================
   VALEURS / TABS
========================================================= */
#valeurs { padding: 100px 0; }

.tabs-nav {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  margin-bottom: 50px;
}
.tab-btn {
  flex: 1;
  padding: 20px 24px;
  background: var(--blanc);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  color: #9ca3af;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  border-right: 1px solid #e8e8e8;
}
.tab-btn:last-child { border-right: none; }
.tab-btn .tab-icon { font-size: 1.6rem; }
.tab-btn.active, .tab-btn:hover {
  background: var(--bleu);
  color: var(--or);
}

.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; animation: fadeInUp .5s ease both; }

.tab-content img {
  border-radius: 12px;
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--ombre);
}
.tab-content h3 { font-size: 1.6rem; margin-bottom: 16px; }
.tab-content p { color: #6b7280; margin-bottom: 18px; line-height: 1.85; }
.tab-list { display: flex; flex-direction: column; gap: 10px; }
.tab-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--anthracite);
}
.tab-list li::before {
  content: '✦';
  color: var(--or);
  font-size: .7rem;
  flex-shrink: 0;
}

/* =========================================================
   BLOG
========================================================= */
#blog { background: var(--gris-clair); padding: 100px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--ombre); }

.blog-thumb {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--or);
  color: var(--blanc);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.blog-body { padding: 28px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: #9ca3af;
  margin-bottom: 12px;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition);
}
.blog-card:hover h3 { color: var(--or); }
.blog-card p { font-size: .88rem; color: #6b7280; line-height: 1.75; margin-bottom: 18px; }

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--bleu);
  transition: var(--transition);
}
.blog-read::after {
  content: '→';
  transition: var(--transition);
}
.blog-card:hover .blog-read { color: var(--or); }
.blog-card:hover .blog-read::after { transform: translateX(4px); }

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

/* =========================================================
   CONTACT CTA BANNER
========================================================= */
#cta-banner {
  background:
    linear-gradient(135deg, var(--bleu) 0%, var(--bleu-light) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5A059' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner h2 {
  color: var(--blanc);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
========================================================= */
#footer {
  background: #111827;
  color: rgba(255,255,255,.75);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand .logo img { height: 50px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; line-height: 1.8; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--or);
  border-color: var(--or);
  color: var(--blanc);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 22px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--or);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--or); transform: translateX(4px); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .875rem;
}
.footer-contact-item i { color: var(--or); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--or); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom p { color: rgba(255,255,255,.45); }
.footer-bottom a { color: var(--or); }

/* =========================================================
   BACK TO TOP
========================================================= */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--or);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--ombre-or);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
  border: none;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--bleu); transform: translateY(-3px); }

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tab-content.active { display: flex; flex-direction: column-reverse; gap: 30px; }
  .tab-content img { height: 280px; }
}

@media (max-width: 768px) {
  .nav-toggle { 
    display: flex; 
    z-index: 2001; /* Très haut pour rester au-dessus de tout */
    position: relative;
    width: 28px;
    height: 20px;
    padding: 0;
    margin-left: auto;
  }
  .nav-toggle span {
    background: var(--blanc);
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
  }
  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 9px; }
  .nav-toggle span:nth-child(3) { top: 18px; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

  /* Le menu lui-même */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0; 
    height: 100vh;
    background: #1A2B48; /* Couleur solide pour éviter les mélanges */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 15px;
    z-index: 2000;
    
    /* Animation scale + fade plus premium */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s ease-in-out;
  }

  .navbar.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav-link {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--blanc);
    text-align: center;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-link:last-of-type { border-bottom: none; }

  .nav-cta {
    align-self: stretch;
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 16px;
  }

  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-title { font-size: 2.2rem; }
  .about-badge-float { display: none; }
  .about-values { grid-template-columns: 1fr; }
  .tabs-nav { flex-direction: column; }
  .tab-btn { flex-direction: row; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
