/* ===== RESET & VARIABLES 2026 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.3);
  --secondary: #a855f7;
  --secondary-glow: rgba(168, 85, 247, 0.3);
  --accent: #3b82f6;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow-primary: 0 0 30px var(--primary-glow);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 100px;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.gradient-sphere {
  position: absolute;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(
    circle at center,
    var(--primary-glow) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: -20vw;
  right: -20vw;
  filter: blur(80px);
  opacity: 0.3;
  animation: floatSphere 20s ease-in-out infinite;
}

.gradient-sphere-2 {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle at center,
    var(--secondary-glow) 0%,
    transparent 70%
  );
  border-radius: 50%;
  bottom: -20vw;
  left: -10vw;
  filter: blur(80px);
  opacity: 0.3;
  animation: floatSphere 25s ease-in-out infinite reverse;
}

@keyframes floatSphere {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, 5%) scale(1.1);
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fff, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  z-index: 1000;
  padding: 15px 30px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  animation: headerAppear 0.8s ease-out;
}

@keyframes headerAppear {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 5px 0;
}

.logo-text {
  background: linear-gradient(
    135deg,
    #fff 20%,
    #a5b4fc 40%,
    #c4b5fd 60%,
    #fff 80%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.nav-menu {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::before {
  width: 100%;
}

.header-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  display: inline-block;
}

.header-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.header-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-primary);
}

.header-cta:hover::before {
  left: 100%;
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: badgeAppear 0.6s ease-out;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 25px;
  animation: titleAppear 0.8s ease-out 0.2s both;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  animation: textAppear 0.8s ease-out 0.4s both;
}

@keyframes badgeAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  animation: ctaAppear 0.8s ease-out 0.6s both;
}

@keyframes ctaAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-bounce);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--glow-primary);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 30px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

.hero-card-content {
  display: grid;
  gap: 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  font-family: "Clash Display", sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.services {
  padding: 80px 0;
  position: relative;
}

.services:first-of-type {
  margin-top: 0;
  padding-top: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    var(--primary-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 10px;
}

.blog {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
}

.blog-image {
  height: 250px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter {
  padding: 60px 0;
  position: relative;
}

.newsletter-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  animation: rotate 20s linear infinite;
}

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

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

.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.newsletter p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: white;
}

.newsletter-form button {
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  background: white;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-family: "Inter", sans-serif;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
}

.contact {
  padding: 60px 0;
}

.contact .container {
  /* La grille est maintenant gérée par .contact-grid */
  display: block;
  /* Vous pouvez conserver d'autres propriétés si nécessaires */
}

.contact-form {
  max-width: 600px;
}

.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  position: relative;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(
    135deg,
    #fff 20%,
    #a5b4fc 40%,
    #c4b5fd 60%,
    #fff 80%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-5px);
  border-color: transparent;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact li {
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

.affiliate-section {
  margin-top: 20px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  text-align: center;
}

.affiliate-title {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.affiliate-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.affiliate-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 100px;
  transition: var(--transition-smooth);
}

.affiliate-link:hover {
  background: var(--primary);
  color: white;
}

.chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--glow-primary);
  transition: var(--transition-bounce);
  z-index: 100;
  border: none;
}

.chatbot-button:hover {
  transform: scale(1.1) rotate(5deg);
}

.chatbot-tooltip {
  position: absolute;
  right: 80px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition-smooth);
  pointer-events: none;
  color: var(--text-primary);
}

.chatbot-button:hover .chatbot-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  body {
    padding-top: 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 40px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header {
    width: calc(100% - 40px);
    padding: 15px 20px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    padding: 40px 20px;
  }

  .newsletter h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* ===== CORRECTIONS RESPONSIVE URGENTES ===== */
img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

/* ===== MENU MOBILE HAMBURGER ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 3px;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 992px) {
  .mobile-menu-btn {
    display: block !important;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    gap: 25px;
    transition: left 0.3s ease;
    z-index: 1001;
    display: flex !important;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.3rem !important;
    padding: 15px !important;
    color: white !important;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-cta {
    display: none !important;
  }
}

/* ===== CHAT WIDGET – STYLES ===== */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #b8d8e3;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background-color 0.2s;
}

.chat-button:hover {
  background-color: #a5c9da;
}

.chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-width: calc(100vw - 40px);
  height: 450px;
  max-height: calc(100vh - 120px);
  background-color: #f9f7f3;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1001;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background-color: #e6d5c2;
  padding: 15px;
  font-weight: 500;
  color: #4a4a4a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #4a4a4a;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #fefefe;
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  line-height: 1.4;
  word-wrap: break-word;
  position: relative;
}

.message.user {
  align-self: flex-end;
  background-color: #b1c8e0;
  color: #1e293b;
  border-bottom-right-radius: 4px;
}

.message.assistant {
  align-self: flex-start;
  background-color: #f5e2d0;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 8px;
}

.assistant-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #b8d8e3;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.message.assistant .assistant-avatar {
  margin-right: 5px;
}

.chat-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e0d6cc;
  background-color: #f9f7f3;
}

.chat-input-area input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d9c9b8;
  border-radius: 20px;
  outline: none;
  background-color: white;
  color: #333;
}

.chat-input-area button {
  background-color: #b8d8e3;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  margin-left: 8px;
  color: #2c3e50;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chat-input-area button:hover {
  background-color: #a5c9da;
}

/* ===== AMÉLIORATIONS RESPONSIVE POUR MOBILE ===== */
@media (max-width: 768px) {
  .header {
    width: 95% !important;
    padding: 10px 15px !important;
    top: 10px;
  }

  .logo {
    font-size: 1.4rem !important;
  }

  .header-cta {
    display: none !important;
  }

  .nav-menu {
    top: 70px;
    padding: 30px 15px;
  }

  .nav-link {
    font-size: 1.1rem !important;
    padding: 12px !important;
  }

  .hero {
    padding: 40px 0 20px !important;
  }

  .hero .container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem !important;
    margin: 0 auto 20px !important;
    max-width: 100% !important;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    margin-bottom: 15px;
  }

  .hero-cta-group {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .btn {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1rem !important;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    padding: 20px !important;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  .stat-item {
    padding: 15px !important;
  }

  .stat-number {
    font-size: 1.8rem !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
  }

  .services {
    padding: 40px 0 !important;
  }

  .section-header {
    margin-bottom: 30px !important;
  }

  .section-header h2 {
    font-size: 2rem !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .service-card {
    padding: 25px !important;
  }

  .service-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
  }

  .service-card h3 {
    font-size: 1.4rem !important;
  }

  .service-card p {
    font-size: 0.95rem !important;
  }

  .blog {
    padding: 40px 0 !important;
  }

  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 20px !important;
  }

  .blog-card {
    padding: 0 !important;
  }

  .blog-image {
    height: 180px !important;
    font-size: 2.5rem !important;
  }

  .blog-content {
    padding: 20px !important;
  }

  .blog-meta {
    font-size: 0.8rem !important;
    gap: 10px !important;
  }

  .blog-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }

  .blog-excerpt {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
  }

  .newsletter {
    padding: 40px 0 !important;
  }

  .newsletter-card {
    padding: 30px 20px !important;
  }

  .newsletter h2 {
    font-size: 2rem !important;
  }

  .newsletter p {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }

  .newsletter-form {
    flex-direction: column !important;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100% !important;
    padding: 14px !important;
  }

  .contact {
    padding: 40px 0 !important;
  }

  .contact .container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px !important;
    font-size: 16px !important;
  }

  .guide-section {
    padding: 20px 0 40px !important;
  }

  .guide-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .chat-window {
    width: calc(100vw - 30px) !important;
    height: 60vh !important;
    right: 15px !important;
    left: 15px !important;
    bottom: 80px !important;
    max-width: none !important;
  }

  .chat-button {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
    bottom: 15px !important;
    right: 15px !important;
  }

  .chat-input-area {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .chat-input-area button {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .message {
    max-width: 90% !important;
  }

  .assistant-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
  }

  .footer {
    padding: 40px 0 20px !important;
    margin-top: 40px !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }

  .footer-social {
    justify-content: center !important;
  }

  .footer-links li {
    margin-bottom: 10px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem !important;
  }

  .section-header h2 {
    font-size: 1.6rem !important;
  }

  .service-card h3 {
    font-size: 1.2rem !important;
  }

  .btn {
    padding: 12px !important;
  }

  .chat-window {
    height: 70vh !important;
  }
}
/* ===== INDICATEUR DE FRAPPE (points animés) ===== */
.message.assistant.typing-indicator {
  align-items: center;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background-color: #f5e2d0; /* même couleur que les bulles assistant */
  border-radius: 20px;
  border-bottom-left-radius: 4px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background-color: #2c3e50;
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 2.5s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
  animation-delay: -0.5s;
}
.typing-dots span:nth-child(2) {
  animation-delay: -0.25s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  30% {
    transform: scale(1);
    opacity: 1;
  }
}
/* ===== STYLES COMPLÉMENTAIRES POUR PAGES ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  color: white;
  font-size: 1rem;
}

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 40px;
}

.contact-info-item {
  margin-bottom: 40px;
}

.contact-info-item h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.info-note {
  font-size: 0.9rem !important;
  color: var(--text-tertiary) !important;
}

.guide-promo {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  padding: 30px;
  text-align: center;
}

.guide-promo h3 {
  color: white;
  margin-bottom: 15px;
}

.guide-promo p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.guide-benefits-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 40px;
}

.guide-benefits-card h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.guide-list {
  list-style: none;
  color: var(--text-secondary);
}

.guide-list li {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.guide-list li::before {
  content: "✓";
  background: var(--primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial {
  margin-top: 30px;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border-radius: 20px;
}

.testimonial p {
  color: var(--text-primary);
  font-style: italic;
}

.guide-form-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
}

.guide-form-card h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.guide-form-card .form-group {
  margin-bottom: 20px;
}

.guide-form-card label {
  display: block;
  color: white;
  margin-bottom: 8px;
  font-weight: 500;
}

.guide-form-card input {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  background: white;
  color: black;
}

.guide-form-card .btn {
  width: 100%;
  background: white;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 18px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
}

.privacy-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.guide-features {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 60px;
}

.featured-image {
  height: 400px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
}

.featured-content {
  padding: 60px 40px;
}

.featured-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.featured-content p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-tertiary);
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .featured-article {
    grid-template-columns: 1fr;
  }
  .featured-image {
    height: 300px;
  }
  .featured-content {
    padding: 40px 30px;
  }
  .featured-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .featured-content h2 {
    font-size: 1.8rem;
  }
  .article-meta {
    flex-direction: column;
    gap: 5px;
  }
}

.blog-categories {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-categories span {
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
}
/* ===== PAGE CONTACT - AMÉLIORATIONS RESPONSIVE ===== */
.contact {
  padding: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  color: white;
  font-size: 16px; /* empêche le zoom automatique sur iOS */
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
}

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 40px;
}

.contact-info-item {
  margin-bottom: 40px;
}

.contact-info-item h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.5;
  word-break: break-word;
}

.contact-info-item a {
  color: inherit;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.info-note {
  font-size: 0.9rem !important;
  color: var(--text-tertiary) !important;
  margin-top: 5px;
}

.guide-promo {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  padding: 30px;
  text-align: center;
}

.guide-promo h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.guide-promo p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .contact-form-col {
    order: 1;
  }

  .contact-info-col {
    order: 2;
  }

  .contact-info-card {
    padding: 30px 20px;
  }

  .contact-info-item {
    margin-bottom: 30px;
    text-align: center;
  }

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

  .contact-info-item p {
    font-size: 1.1rem;
  }

  .guide-promo {
    padding: 25px 15px;
  }

  .guide-promo h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 30px 0;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px;
  }

  .btn-block {
    padding: 14px;
  }

  .contact-info-item p {
    font-size: 1rem;
  }

  .guide-promo h3 {
    font-size: 1.2rem;
  }
}
/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 40px 0 60px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.faq-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
  .faq-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }

  .faq-card {
    padding: 25px 20px;
  }

  .faq-icon {
    font-size: 2.5rem;
  }

  .faq-card h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Forcer l'ordre : le texte en premier, le visuel en second */
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 2;
  }
}
/* ===== CORRECTION HEADER ET MENU DESKTOP ===== */

/* Réinitialisation du header pour desktop */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 80px;
  z-index: 1000;
  padding: 12px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navbar : organisation horizontale */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-text {
  background: linear-gradient(135deg, #fff, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Menu desktop */
.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Bouton "Parler projet" */
.header-cta {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Bouton mobile hamburger - caché sur desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Responsive tablette et mobile */
@media (max-width: 992px) {
  .header {
    width: calc(100% - 40px);
    padding: 12px 20px;
    top: 15px;
  }

  .logo {
    font-size: 1.3rem;
  }

  /* Afficher le bouton hamburger */
  .mobile-menu-btn {
    display: block !important;
  }

  /* Cacher le menu desktop */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    gap: 25px;
    transition: left 0.3s ease;
    z-index: 1001;
    display: flex !important;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem !important;
    padding: 12px !important;
    width: 100%;
    text-align: center;
    color: white !important;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header {
    width: calc(100% - 30px);
    padding: 10px 16px;
    top: 10px;
  }

  .logo {
    font-size: 1.2rem;
  }
}
/* ===== CORRECTION TITRES ET TEXTES CENTRÉS (VERSION WEB UNIQUEMENT) ===== */

/* Centrage des titres et sous-titres de section sur desktop */
@media (min-width: 992px) {
  .section-header {
    text-align: center;
  }

  .section-header h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
  }

  /* Newsletter */
  .newsletter-content {
    text-align: center;
  }

  .newsletter h2,
  .newsletter p {
    text-align: center;
  }

  /* Hero section sur les pages intérieures (quand le texte est centré) */
  .hero-content[style*="text-align: center"] h1,
  .hero-content[style*="text-align: center"] p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}
/* ===== CORRECTIONS FINALES - CENTRAGE ET TAILLES ===== */

/* Réinitialisation du centrage des titres principaux */
.section-header {
  text-align: center !important;
}

.section-header h2 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px !important;
}

.section-header p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 700px !important;
}

/* Hero section - centrage du texte */
.hero-content {
  text-align: center !important;
}

.hero-content h1,
.hero-content p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-content p {
  max-width: 700px !important;
}

/* Newsletter centré */
.newsletter-content {
  text-align: center !important;
}

.newsletter h2,
.newsletter p {
  text-align: center !important;
}

/* Suppression des marges parasites */
.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Normalisation des tailles de texte desktop */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 3.5rem !important;
  }

  .hero-content p {
    font-size: 1.2rem !important;
  }

  .section-header h2 {
    font-size: 2.8rem !important;
  }

  .section-header p {
    font-size: 1.1rem !important;
  }
}

/* Ajustement pour éviter que les titres soient trop gros */
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
/* ===== NAVIGATION OPTIMISÉE DESKTOP ET MOBILE ===== */

/* Desktop (>=992px) */
@media (min-width: 992px) {
  .header {
    width: calc(100% - 80px);
    max-width: 1300px;
    padding: 12px 40px;
  }

  .nav-menu {
    gap: 40px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 8px 0;
  }

  .header-cta {
    padding: 10px 28px;
    font-size: 0.95rem;
  }
}

/* Tablette (768px à 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .header {
    width: calc(100% - 40px);
    padding: 12px 24px;
  }

  .nav-menu {
    gap: 25px;
  }

  .logo {
    font-size: 1.4rem;
  }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
  .header {
    width: calc(100% - 30px);
    padding: 10px 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-menu {
    gap: 20px;
  }
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
