:root {
  --color-teal: #1ca198;
  --color-teal-dark: #15827a;
  --color-teal-light: rgba(28, 161, 152, 0.1);
  --color-navy: #1f3a52;
  --color-navy-light: #2c5375;
  --color-bg-light: #f4f7f8;
  --color-white: #ffffff;
  --color-text: #4a5568;
  --font-main: 'Montserrat', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.bg-light {
  background-color: var(--color-bg-light);
}

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

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

.text-white {
  color: var(--color-white) !important;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-teal {
  background-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(28, 161, 152, 0.4);
}

.btn-teal:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 161, 152, 0.6);
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(31, 58, 82, 0.4);
}

.btn-navy:hover {
  background-color: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 58, 82, 0.6);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.header.header-transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.header.header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header-transparent .nav-links a {
  color: var(--color-white) !important;
}

.header.header-transparent.scrolled .nav-links a {
  color: var(--color-navy) !important;
}

.header-transparent .nav-links a:hover {
  color: var(--color-teal) !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 140px;
}

/* Slim header shown on scroll-up (mobile only) */
.header.header-slim {
  transform: translateY(0);
}
.header.header-hidden {
  transform: translateY(-100%);
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-placeholder svg {
  width: 40px;
  height: 40px;
}

.main-logo {
  height: 110px;
  width: auto;
  max-width: 100%;
}

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

.logo-louise {
  font-size: 1rem;
  color: var(--color-teal);
  letter-spacing: 1px;
}

.logo-eye {
  font-size: 1.2rem;
  color: var(--color-navy);
}

.logo-center {
  font-size: 0.7rem;
  color: var(--color-text);
  letter-spacing: 2px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-teal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-teal);
  transition: width 0.3s;
}

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

.nav-cta-link {
  color: var(--color-navy) !important;
}
.nav-cta-link:hover {
  color: var(--color-teal) !important;
}

.language-selector {
  display: flex;
  align-items: center;
  background: rgba(28, 161, 152, 0.05);
  border-radius: 50px;
}

.lang-switch-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--color-navy);
  transition: opacity 0.3s ease;
}

.lang-switch-link:hover {
  opacity: 0.8;
}

.lang-switch-link img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dropdown-arrow {
  font-size: 0.7rem;
  color: var(--color-teal);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
  background-color: transparent;
}



.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.hero-text {
  text-align: center;
  animation: fadeUp 1s ease-out forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 320px;
  height: 100%;
  width: 100%;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 2rem;
  margin-top: 2rem;
  letter-spacing: -1px;
}

.hero h1 span.text-teal {
  color: var(--color-teal);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 600;
  max-width: 700px;
  line-height: 1.4;
  text-shadow: 0 2px 10px var(--color-navy), 0 1px 3px var(--color-navy);
}

.hero-bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.floating-badge {
  position: absolute;
  background: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  z-index: 3;
}

.badge-1 { top: -10px; left: -20px; }
.badge-2 { bottom: 20px; right: -30px; }

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* SERVICES SECTION */
.services-section {
  padding: 8rem 0;
  background-color: var(--color-bg-light);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 5rem;
}

.services-section .container {
  max-width: 1350px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3rem;
  padding: 0 1rem;
}

.modern-service-card {
  background: var(--color-white);
  padding: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.modern-service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.modern-service-card:hover .card-image-wrapper img {
  transform: scale(1.1);
}

.card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
}

.modern-service-card h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.modern-service-card p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modern-btn-link {
  font-weight: 700;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.modern-btn-link:hover {
  gap: 12px;
}

/* ABOUT SECTION */
.about-section {
  padding: 6rem 0;
  background: var(--color-white);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--color-navy);
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text .btn {
  margin-top: 1rem;
}

.about-image-wrapper {
  flex: 1;
}

.about-img-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  background: linear-gradient(45deg, #1ca198, #1f3a52);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::after {
  content: 'Eye Image Placeholder';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 1.2rem;
}

/* FOOTER */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col p, .footer-col a {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

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

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.copyright {
  font-size: 0.8rem;
  font-weight: 500;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .about-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /* ---- HEADER MOBILE : une seule ligne ---- */
  .header {
    transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
  }
  .header.header-hidden {
    transform: translateY(-100%);
  }
  .header-container {
    flex-direction: row;
    padding: 0 1rem;
    height: 60px;
    gap: 0;
    justify-content: space-between;
    align-items: center;
  }
  /* Logo plus petit */
  .main-logo {
    height: 44px;
  }
  /* Language selector compact */
  .language-selector {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }
  .lang-switch-link {
    padding: 0.25rem 0.5rem;
    gap: 0.25rem;
  }
  .lang-switch-link img {
    width: 30px;
    height: 20px;
  }
  /* Hide lang text if any */
  .lang-switch-link span {
    display: none;
  }

  /* ---- HERO ---- */
  .hero {
    padding-top: 60px;
    min-height: 100svh;
  }
  .hero h1 {
    font-size: 1.7rem;
    letter-spacing: -0.5px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .hero-text {
    gap: 0;
    justify-content: space-between;
    padding: 1.5rem 0 1rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    line-height: 1.5;
  }
  .hero-bottom {
    padding-bottom: 1.5rem;
  }

  /* ---- SECTIONS TITLES ---- */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
  .section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
  }
  .page-title {
    font-size: 1.8rem;
  }

  /* ---- SERVICES SECTION ---- */
  .services-section {
    padding: 3rem 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }
  .card-body {
    padding: 1.5rem;
  }
  .modern-service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  .modern-service-card p {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  /* ---- ABOUT SECTION ---- */
  .about-section {
    padding: 3rem 0;
  }
  .about-container {
    gap: 2rem;
  }
  .about-text h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  .about-text p {
    font-size: 0.92rem;
    text-align: left;
  }
  .about-text .btn {
    display: block;
    text-align: center;
  }

  /* ---- FOOTER ---- */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
  }
  .footer-col h4 {
    margin-bottom: 0.75rem;
  }
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
}

/* =========================================
   SERVICES PAGE SPECIFIC STYLES
   ========================================= */

.pt-header {
  padding-top: 180px;
}

.page-header {
  padding-bottom: 2rem;
  padding-top: 0.5rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.service-detail-section {
  padding: 4rem 0;
}

.text-center { text-align: center; }
.font-semibold { font-weight: 600; }
.text-regular { font-weight: 400; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.max-w-1000 { max-width: 1000px; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Microscopie */
.service-intro p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.microscopie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.microscopie-grid-bottom {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.microscopie-grid-bottom .microscopie-item {
  width: calc((100% - 4rem) / 3);
}

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

.microscopie-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}

.microscopie-img-placeholder {
  width: 100%;
  max-width: 250px;
  height: 160px;
  background-color: #cbd5e0;
  margin: 0 auto 1rem;
  border-radius: 4px;
}

.microscopie-grid-bottom .microscopie-img-placeholder {
  width: 250px;
}

.microscopie-label {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Chirurgie */
.chirurgie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.chirurgie-item {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.chirurgie-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.chirurgie-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.chirurgie-img-placeholder {
  width: 100%;
  height: 150px;
  background-color: #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.chirurgie-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.chirurgie-item p {
  font-size: 0.9rem;
  color: var(--color-text);
}

/* Rétine */
.retine-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: center;
}

.retine-content {
  text-align: left;
}

.retine-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.retine-img-placeholder {
  width: 100%;
  height: 200px;
  background-color: #e2e8f0;
  border-radius: var(--radius-md);
}

.retine-content > p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.retine-list {
  list-style-type: none;
  padding-left: 0;
}

.retine-list li {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.retine-list li::before {
  content: "•";
  color: var(--color-teal);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

/* Bilan détaillé */
.bilan-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.bilan-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.bilan-img-placeholder {
  height: 250px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
}

.bilan-img-placeholder.real-eye {
  background: linear-gradient(135deg, #fbcfe8, #f43f5e);
}

.bilan-video-wrapper {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Contactologie */
.contactologie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contactologie-item {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.contactologie-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contactologie-item img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.contactologie-img-placeholder {
  width: 100%;
  height: 200px;
  background-color: #e2e8f0;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
}

.contactologie-item p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contactologie-item h3 {
  font-size: 1.4rem;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

/* Doctor Links */
.doctor-link-container {
  text-align: center;
  margin-top: 3rem;
}

.doctor-link-container.stack-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.doctor-link {
  color: var(--color-teal);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-teal);
  text-underline-offset: 4px;
  transition: var(--transition);
}

.doctor-link:hover {
  color: var(--color-teal-dark);
  text-decoration-color: var(--color-teal-dark);
}

/* Doctor Badges */
.doctor-badge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px dashed rgba(31, 58, 82, 0.15);
}

@media (min-width: 769px) {
  .doctor-badge-container {
    flex-wrap: nowrap;
  }
}

.doctor-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(28, 161, 152, 0.15);
  text-decoration: none;
  white-space: nowrap;
}

.doctor-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}

.doctor-icon {
  width: 30px;
  height: 30px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-icon svg {
  width: 15px;
  height: 15px;
}

.doctor-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.doctor-role {
  font-size: 0.6rem;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.doctor-name {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.85rem;
}

/* Responsive updates for new elements */
@media (max-width: 768px) {
  .doctor-info {
    text-align: center;
    align-items: center;
  }
  .doctor-badge {
    justify-content: center;
  }
  .microscopie-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .microscopie-grid-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  .microscopie-grid-bottom .microscopie-item {
    width: 100%;
  }
  .chirurgie-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .chirurgie-item {
    padding: 1.25rem;
  }
  .chirurgie-item h3 {
    font-size: 1.15rem;
  }
  .bilan-images {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .contactologie-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .contactologie-item {
    padding: 1.25rem;
  }
  .contactologie-item h3 {
    font-size: 1.15rem;
  }
  .retine-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .retine-content {
    text-align: left;
  }
  /* Services page inline grid (yeux secs) */
  [style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }
  /* Page header spacing */
  .pt-header {
    padding-top: 80px;
  }
  .service-detail-section {
    padding: 2.5rem 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .page-title {
    font-size: 1.6rem;
  }
  .doctor-badge-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    gap: 1rem;
  }
  .doctor-badge {
    padding: 0.75rem 1.25rem;
    width: 100%;
    justify-content: center;
  }
  #sami-weiss .team-img-real {
    transform: scale(1.55) !important;
    transform-origin: center 22% !important;
    object-position: center 22% !important;
  }
}

/* =========================================
   EQUIPE PAGE SPECIFIC STYLES
   ========================================= */

.team-intro {
  font-size: 1.1rem;
  line-height: 1.7;
}

.pb-4 { padding-bottom: 4rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

.team-section {
  padding: 5rem 0;
}

.specialist-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.specialist-card {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 58, 82, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.03);
}

.specialist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(28, 161, 152, 0.1);
  border-color: rgba(28, 161, 152, 0.2);
}

.specialist-card.align-left {
  flex-direction: row;
}

.specialist-card.align-right {
  flex-direction: row-reverse;
}

.specialist-photo {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
}

.specialist-photo .team-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
}

.specialist-card:hover .team-img-real {
  transform: scale(1.03);
}

#sami-weiss .team-img-real {
  object-position: center 22%;
  transform: scale(1.65);
  transform-origin: center 22%;
}

#sami-weiss:hover .team-img-real {
  transform: scale(1.68);
}

.specialist-photo .team-img-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

.specialist-info {
  flex: 1;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.specialist-info h3 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.specialist-role {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.specialist-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}

.expertise-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.expertise-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
}

.expertise-list li::before {
  content: "•";
  color: var(--color-teal);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.text-xl { font-size: 1.8rem !important; }
.text-sm { font-size: 0.9rem; }
.mt-3 { margin-top: 1.5rem; }

.optometrist-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 10px 25px rgba(31, 58, 82, 0.08);
  border: 1px solid rgba(28, 161, 152, 0.1);
  text-align: center;
}

.optometrist-card .specialist-desc {
  text-align: left;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.direction-member {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(31, 58, 82, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(28, 161, 152, 0.1);
}

.direction-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(28, 161, 152, 0.15);
}

.direction-member .direction-photo {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.direction-member .team-img-real,
.direction-member .team-img-placeholder {
  height: 350px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.direction-member:hover .team-img-real {
  transform: scale(1.05);
}

.direction-member .team-img-placeholder {
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
}

.direction-name {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.underline-name {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.direction-role {
  font-size: 1rem;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .specialist-card,
  .specialist-card.align-left,
  .specialist-card.align-right {
    flex-direction: column !important;
  }
  .specialist-photo {
    flex: none;
    width: 100%;
    height: 280px;
  }
  .specialist-info {
    padding: 1.5rem;
  }
  .specialist-info h3 {
    font-size: 1.4rem;
  }
  .specialist-role {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  .specialist-desc {
    font-size: 0.92rem;
  }
  .direction-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .direction-member {
    padding: 1.5rem;
  }
  .direction-member .team-img-real,
  .direction-member .team-img-placeholder {
    height: 260px;
  }
  .direction-name {
    font-size: 1.3rem;
  }
  .optometrist-card {
    padding: 1.5rem;
  }
  .optometrist-card .specialist-desc {
    text-align: left;
  }
  .team-section {
    padding: 2.5rem 0;
  }
  .specialist-list {
    gap: 2rem;
  }
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */

.contact-address p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.directions-section {
  padding-bottom: 4rem;
}

.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.direction-list {
  list-style-type: none;
  padding-left: 0;
  text-align: left;
}

.direction-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.direction-list li::before {
  content: "•";
  color: var(--color-navy);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.underline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.map-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.contact-photos-grid {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.photo-left {
  flex: 2.5;
}

.photo-right {
  flex: 1;
  max-width: 350px;
}

.photo-left .team-img-real,
.photo-right .team-img-real,
.photo-left .team-img-placeholder,
.photo-right .team-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}

.photo-left:hover .team-img-real,
.photo-right:hover .team-img-real {
  transform: scale(1.02);
}

.photo-left .team-img-placeholder,
.photo-right .team-img-placeholder {
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  text-align: center;
}

@media (max-width: 768px) {
  .directions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-photos-grid {
    flex-direction: column;
    gap: 1rem;
  }
  .photo-left, .photo-right {
    flex: auto;
  }
  .photo-left .team-img-real,
  .photo-left .team-img-placeholder {
    min-height: 220px;
  }
  .photo-right {
    max-width: 50%;
    margin: 0 auto;
  }
  .photo-right .team-img-real,
  .photo-right .team-img-placeholder {
    min-height: 110px;
  }
  .contact-address p {
    font-size: 0.95rem;
  }
  .directions-section {
    padding-bottom: 2rem;
  }
}

/* =========================================
   RENDEZ-VOUS PAGE SPECIFIC STYLES
   ========================================= */

.hero-rdv {
  background-color: transparent;
  padding: 8rem 0 3rem;
  text-align: center;
}

.important-banner {
  background-color: var(--color-teal);
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.rdv-section {
  padding: 5rem 0;
}

.rdv-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rdv-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(31, 58, 82, 0.05);
  border: 1px solid rgba(28, 161, 152, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.rdv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(28, 161, 152, 0.15);
}

.rdv-name {
  font-size: 1.8rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-teal-light);
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.rdv-badge {
  font-size: 0.9rem;
  background-color: var(--color-bg-light);
  color: var(--color-navy);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.rdv-info {
  flex-grow: 1;
}

.rdv-info-item {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.rdv-label {
  color: var(--color-teal);
  font-weight: 600;
}

.rdv-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.rdv-phone {
  font-weight: 500;
  font-size: 1.1rem;
}

.rdv-phone a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.btn-rdv {
  display: inline-block;
  background-color: rgba(28, 161, 152, 0.85);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-rdv:hover {
  background-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.disabled-btn {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 768px) {
  .rdv-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .btn-rdv {
    width: 100%;
  }
  .rdv-section {
    padding: 2.5rem 0;
  }
  .rdv-card {
    padding: 1.5rem;
  }
  .rdv-name {
    font-size: 1.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .rdv-info-item {
    font-size: 0.92rem;
  }
  .hero-rdv {
    padding: 6rem 0 3rem;
  }
  .important-banner {
    font-size: 1.1rem;
    padding: 1rem;
  }
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.header.header-transparent:not(.scrolled) .mobile-menu-toggle span {
  background-color: var(--color-white);
}

/* ACTIVE LINK */
.nav-links a.active {
  color: var(--color-teal) !important;
}

.nav-links a.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
  }
  
  /* Language selector stays on right */
  .language-selector {
    order: 3;
    margin-top: 0;
  }

  /* Logo on left */
  .logo, .logo-placeholder {
    order: 1;
    flex-shrink: 0;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    padding-top: 60px;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
  }
  
  .nav-links a, .header-transparent .nav-links a {
    color: var(--color-navy) !important;
    font-size: 1.1rem;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-navy) !important;
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-navy) !important;
  }
}
