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

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

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
  overflow-x: hidden;
  max-width: 100vw;
}

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

/* Variables CSS */
:root {
  --primary-blue: #052e48;
  --primary-red: #792213;
  --accent-gold: #d9af31;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --border-light: #e9ecef;
}

/* ==============================================
   HEADER & NAVIGATION - RESTORED FROM ORIGINAL
   ============================================== */

.header {
  background: #ffffff;
  /* Restored padding from original CSS */
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Restored margin-top from original */
  margin-top: 15px;
}

/* Restored original nav-container structure */
.nav-container {
  max-width: 1350px; /* Augmenté de 1200px à 1350px pour plus d'espace */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}

/* Restored original logo positioning with absolute centering */
.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo {
  /* Restored original logo size from source CSS */
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Restored original nav spacing from source CSS */
.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  gap: 2rem;
  /* Ajout de margin-right pour espacer "Contact" du flag */
  margin-right: 0;
}

.nav-right {
  margin-right: 4rem; /* Ajout d'espace entre le dernier item de menu et le flag */
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #052e48;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-left a::before,
.nav-right a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #d9af31;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-left a:hover,
.nav-right a:hover {
  color: #792213;
}

.nav-left a:hover::before,
.nav-right a:hover::before {
  width: 100%;
}

/* Added lang-switcher for flag without modifying header structure */
.lang-switcher {
  position: absolute;
  right: 1rem; /* Réduit de 2rem à 1rem pour déplacer plus à droite */
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.lang-switcher a {
  display: block;
  padding: 0;
  transition: opacity 0.3s ease;
  line-height: 0;
}

.lang-switcher img {
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-switcher a:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  background: none;
  border: none;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #052e48;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* Mobile navigation overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #052e48 0%, #792213 100%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-nav ul {
  list-style: none;
  padding: 2rem;
  text-align: center;
}

.mobile-nav li {
  margin: 1.5rem 0;
}

.mobile-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

/* Hero Section */
.hero {
  background: url("https://www.par-tage.com/signature/cbs/slider.jpg") center center / cover no-repeat;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  display: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--primary-blue);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(217, 175, 49, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 175, 49, 0.4);
  background-color: #f4c842;
}

.secondary-button {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.secondary-button:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
}

/* Breadcrumb */
.breadcrumb {
  background-color: var(--bg-light);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb nav {
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .current {
  color: var(--text-dark);
  font-weight: 500;
}

/* Content */
.content {
  padding: 4rem 0;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* About Section */
.about-section {
  margin-bottom: 4rem;
}

.about-content h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: justify; /* Added text justification for about-text sections */
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* Services Showcase */
.services-showcase {
  margin-top: 4rem;
  max-width: 1200px; /* Added max-width */
  margin-left: auto;
  margin-right: auto;
}

.services-showcase h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.services-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Tabs */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-button {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

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

/* Service Showcase */
.service-showcase {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.service-visual {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 15px;
  border: 2px solid rgba(217, 175, 49, 0.2);
}

.service-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.service-visual h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.item-icon {
  font-size: 2rem;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.item-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  background: var(--primary-blue);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  margin: 4rem auto; /* Added auto for centering */
  max-width: 1200px; /* Added max-width constraint */
  text-align: center;
}

.cta-section h3 {
  color: var(--accent-gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Thank You Page */
.thank-you-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-content {
  background: white;
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(217, 175, 49, 0.2);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #28a745;
}

.thank-you-content h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.thank-you-message {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.next-steps {
  margin: 3rem 0;
}

.next-steps h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

.step-item {
  display: flex;
  gap: 1rem;
  text-align: left;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 10px;
}

.step-icon {
  font-size: 2rem;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-summary {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 15px;
}

.contact-info-summary h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.contact-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.contact-summary-item {
  color: var(--text-light);
  font-size: 0.95rem;
}

.action-buttons {
  margin-top: 3rem;
}

.services-reminder {
  margin-top: 4rem;
}

.services-reminder h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.service-reminder-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(217, 175, 49, 0.2);
}

.service-reminder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-reminder-item h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-reminder-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-reminder-item a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.service-reminder-item a:hover {
  color: var(--primary-red);
}

/* Event Types Section */
.event-types-section {
  background: var(--bg-light);
  padding: 4rem 2rem;
  border-radius: 20px;
  margin-top: 4rem;
  border: 2px solid rgba(217, 175, 49, 0.2);
}

.event-types-section h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.event-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-type-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.event-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.event-type-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.event-type-card p {
  color: var(--text-light);
}

/* Process Section */
.process-section {
  background: var(--bg-light);
  padding: 4rem 2rem;
  border-radius: 20px;
  margin-top: 4rem;
  border: 2px solid rgba(217, 175, 49, 0.2);
}

.process-section h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.process-step h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
  margin-top: 4rem;
}

.gallery-section h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.gallery-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gallery-item h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.gallery-item p {
  color: var(--text-light);
}

/* Engagement Section */
.engagement-section {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 15px;
  margin-top: 4rem;
  border: 2px solid rgba(217, 175, 49, 0.2);
}

.engagement-section h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.engagement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.engagement-item h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.engagement-item p {
  color: var(--text-light);
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  /* Limitation de la largeur pour correspondre aux autres pages */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info h2,
.contact-form h2 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-details {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.contact-content h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-content p {
  color: var(--text-light);
  margin: 0;
}

.expertise-section h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}

.expertise-list li:last-child {
  border-bottom: none;
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(217, 175, 49, 0.2);
}

.form-title {
  color: var(--primary-blue);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.form-full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(217, 175, 49, 0.1);
}

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

.submit-btn {
  background: var(--primary-blue);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-red);
}

/* Legal Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 10px;
  border-left: 4px solid var(--accent-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-section h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-footer {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-light);
}

/* ==============================================
   FOOTER - CORRECTION BUG #1
   ============================================== */

/* Footer restructuré pour éviter les débordements et aligner correctement desktop/mobile */
.footer {
  background: linear-gradient(135deg, #052e48 0%, #0a4a73 100%);
  color: white;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

/* Footer sur une seule ligne */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  display: inline;
}

/* Correction #5: Forcer tous les liens du footer en blanc */
.footer-content a,
.footer-links a,
.footer a {
  color: white !important;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-content a:hover,
.footer-links a:hover,
.footer a:hover {
  opacity: 0.8;
  color: white !important;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-credit {
  font-size: 0.9rem;
}

.footer-credit a {
  color: white !important;
  font-weight: 500;
  text-decoration: underline;
}

/* ==============================================
   DOOR ANIMATION - FROM ORIGINAL CSS
   ============================================== */

/* Animation des portes coulissantes */
.door-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

.door-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  transition: transform 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.3), 0 0 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.door-panel::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(217, 175, 49, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(5, 46, 72, 0.08) 0%, transparent 50%);
  opacity: 1;
  transition: opacity 1.5s ease;
}

.door-left {
  left: 0;
  border-right: 2px solid rgba(217, 175, 49, 0.3);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.3), 8px 0 30px rgba(0, 0, 0, 0.15);
}

.door-right {
  right: 0;
  border-left: 2px solid rgba(217, 175, 49, 0.3);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.3), -8px 0 30px rgba(0, 0, 0, 0.15);
}

.door-handle {
  position: absolute;
  top: 50%;
  width: 120px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.3s ease;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
  z-index: 100;
}

.door-left .door-handle {
  right: -35px;
  transform: translateY(-50%);
  background-image: url("https://par-tage.com/signature/cbs/gauche.png");
}

.door-right .door-handle {
  left: -35px;
  transform: translateY(-50%);
  background-image: url("https://par-tage.com/signature/cbs/droit.png");
}

.door-handle:hover {
  opacity: 1;
}

.door-left .door-handle:hover {
  transform: translateY(-50%) scale(1.05);
}

.door-right .door-handle:hover {
  transform: translateY(-50%) scale(1.05);
}

.door-panel.open-left {
  transform: translateX(-100%);
}

.door-panel.open-right {
  transform: translateX(100%);
}

.door-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Effet de reflet subtil sur les portes */
.door-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 2s ease-in-out;
  opacity: 0;
}

.door-panel.opening::after {
  transform: translateX(120%);
  opacity: 1;
}

/* Animation de la poignee pendant l'ouverture */
.door-panel.opening .door-handle {
  animation: handleGlow 1.5s ease-in-out;
}

@keyframes handleGlow {
  0% {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  }
  50% {
    filter: drop-shadow(0 6px 15px rgba(217, 175, 49, 0.4));
  }
  100% {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  }
}

/* Style pour le contenu principal pendant l'animation */
body.door-animation {
  overflow: hidden;
}

/* Responsive design pour les poignees */
@media (max-width: 768px) {
  .door-handle {
    width: 80px;
    height: 80px;
  }

  .door-left .door-handle {
    right: -25px;
  }

  .door-right .door-handle {
    left: -25px;
  }
}

/* ==============================================
   RESPONSIVE MEDIA QUERIES
   ============================================== */

/* Correction #2: Restauration des media queries originales sans modification */
/* Tablette */
@media screen and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .service-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* Mobile */
@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .lang-switcher {
    right: 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .services-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

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

/* Petit mobile */
@media screen and (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    max-height: 50px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cta-button,
  .secondary-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Landscape mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .mobile-nav {
    overflow-y: auto;
  }
}
