:root {
  --primary-color: #004d7a;
  --primary-hover: #003a5d;
  --secondary-color: #00a8cc;
  --secondary-hover: #0097b8;
  --text-color: #2c3e50;
  --text-light: #6c757d;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(clamp(50px, 10vw, 85px) + 2rem);
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

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

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

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

ul {
  list-style: none;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo img {
  height: clamp(50px, 10vw, 85px);
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-accent {
  color: var(--secondary-color);
}

.logo-subtitle {
  font-size: clamp(0.5rem, 1.2vw, 0.7rem);
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.nav-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-chevron {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(10px);
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 1.8rem;
}

/* Language buttons in nav */
.nav-lang-item {
  display: flex;
  align-items: center;
}

.nav-lang-buttons {
  display: flex;
  gap: 0.3rem;
}

.lang-btn {
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.menu-toggle .material-icons {
  font-size: 2rem;
}

/* ============================================
   HERO SPLIT
   ============================================ */
.hero-split {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(clamp(50px, 10vw, 85px) + 3rem);
  padding-bottom: 2rem;
  background: linear-gradient(135deg, #f0f7fa 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-split-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 168, 204, 0.1);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-bio {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-bottom {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.hero-stats-row {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-stats-row .stat-card {
  flex: 1;
  min-width: 200px;
}

.hero-stats-row .feature-item {
  flex: 1;
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
}

.hero-stats-row .feature-item i {
  font-size: 2.5rem;
}

.hero-stats-row .feature-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-stats-row .feature-item p {
  font-size: 0.9rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-portrait {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

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

.hero-portrait-frame img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-deco {
  position: absolute;
  border-radius: 20px;
  z-index: 1;
}

.hero-deco-1 {
  width: 80%;
  height: 80%;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  opacity: 0.15;
}

.hero-deco-2 {
  width: 60px;
  height: 60px;
  bottom: -10px;
  left: 10%;
  background-color: var(--secondary-color);
  opacity: 0.2;
  border-radius: 50%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  text-align: center;
}

.btn-primary-dark {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: var(--shadow);
}

.btn-primary-dark:hover,
.btn-primary-dark:focus-visible {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--bg-color);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background-color: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 4px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   STAT CARD
   ============================================ */
.stat-card {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-color);
  border-radius: 15px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.stat-card small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  min-width: 50px;
}

.feature-item h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.feature-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}


/* ============================================
   CONSULTATION
   ============================================ */
.consultation-section {
  background-color: var(--bg-color);
}

.consultation-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.step-card {
  flex: 1;
  min-width: 250px;
  max-width: 280px;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 15px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin: 1rem 0;
}

.step-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

/* ============================================
   TREATMENTS
   ============================================ */
.treatments-section {
  background-color: var(--bg-light);
}

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

.treatment-card {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  box-shadow: var(--shadow-lg);
}

.treatment-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.treatment-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.treatment-summary {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Detail button inside treatment cards */
.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: var(--transition);
  margin-top: auto;
}

.btn-detail:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

.btn-detail i {
  font-size: 0.85rem;
}

/* ============================================
   TREATMENT MODALS
   ============================================ */
.treatment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.treatment-modal.active {
  opacity: 1;
  visibility: visible;
}

.treatment-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.treatment-modal-content {
  position: relative;
  background-color: var(--bg-color);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
  z-index: 2001;
}

.treatment-modal.active .treatment-modal-content {
  transform: translateY(0) scale(1);
}

.treatment-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px 20px 0 0;
}

.treatment-modal-header i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
}

.treatment-modal-header h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin: 0;
  padding-right: 2rem;
}

.treatment-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 2;
}

.treatment-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.treatment-modal-body {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal-section {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 4px solid var(--border-color);
  background-color: var(--bg-light);
}

.modal-section-principle {
  border-left-color: var(--secondary-color);
  background-color: rgba(0, 168, 204, 0.05);
}

.modal-section-indication {
  border-left-color: #7c3aed;
  background-color: rgba(124, 58, 237, 0.05);
}

.modal-section-advantages {
  border-left-color: #16a34a;
  background-color: rgba(22, 163, 74, 0.05);
}

.modal-section-disadvantages {
  border-left-color: #ea580c;
  background-color: rgba(234, 88, 12, 0.05);
}

.modal-section-care {
  border-left-color: #0891b2;
  background-color: rgba(8, 145, 178, 0.05);
}

.modal-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-section-principle h4 { color: var(--secondary-color); }
.modal-section-indication h4 { color: #7c3aed; }
.modal-section-advantages h4 { color: #16a34a; }
.modal-section-disadvantages h4 { color: #ea580c; }
.modal-section-care h4 { color: #0891b2; }

.modal-section h4 i {
  font-size: 0.85rem;
}

.modal-section p {
  color: var(--text-color);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* RGPD Modal — wider */
.rgpd-modal-content {
  max-width: 750px;
}

.rgpd-link-ext a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--secondary-color);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.rgpd-link-ext a:hover {
  text-decoration: underline;
}

/* Treatments highlight banner */
.treatments-highlights {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), #003a5d);
  border-radius: 20px;
}

.highlight-card {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.highlight-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 168, 204, 0.2);
}

.highlight-icon i {
  font-size: 1.4rem;
  color: var(--secondary-color);
}

.highlight-card h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.5;
}

.highlight-card-accent {
  background: rgba(0, 168, 204, 0.15);
  border-color: rgba(0, 168, 204, 0.3);
}

.highlight-card-accent .highlight-icon {
  background: rgba(0, 168, 204, 0.3);
}

/* LEGACY — kept for compatibility */
.treatments-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.info-box {
  flex: 1;
  min-width: 280px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.info-box i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  min-width: 50px;
}

.info-box h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

.info-box-highlight {
  background: linear-gradient(135deg, #e8f4f8, #f0f9fc);
  border-left: 4px solid var(--secondary-color);
}

/* ============================================
   PATHOLOGY
   ============================================ */
.pathology-section {
  background-color: var(--bg-color);
}

.pathology-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.pathology-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.pathology-accordions {
  max-width: 800px;
  margin: 0 auto;
}

/* Accordion items (pathology section) */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow);
}

.accordion-header {
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-light);
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: #e8f4f8;
}

.accordion-header h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
}

.accordion-header .accordion-icon {
  transition: transform 0.3s ease;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.accordion-item.active .accordion-header .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
}

.accordion-item .accordion-body {
  padding: 1.5rem;
}

.accordion-item .accordion-body h4 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 1.2rem;
}

.accordion-item .accordion-body h4:first-child {
  margin-top: 0;
}

.accordion-item .accordion-body p {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 0.95rem;
}

.accordion-item .accordion-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.accordion-item .accordion-body ul li {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* CEAP Classification */
.ceap-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ceap-item {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.ceap-item strong {
  color: var(--primary-color);
  min-width: 40px;
  font-size: 0.95rem;
}

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

.ceap-note {
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-light);
}

/* Pathology article reference */
.pathology-article {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f4f8, #f0f9fc);
  border-radius: 10px;
  border-left: 4px solid var(--secondary-color);
}

.pathology-article > i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  min-width: 30px;
  margin-top: 0.2rem;
}

.pathology-article p {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
  font-style: italic;
}

/* Pathology figures (images in accordions) */
.accordion-figure {
  margin-top: 1.2rem;
  text-align: center;
}

.accordion-figure img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.accordion-figure figcaption,
.ceap-figure figcaption,
.pathology-intro-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}

.pathology-intro-figure {
  margin-top: 1.5rem;
  text-align: center;
}

.pathology-intro-figure img {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.ceap-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ceap-figure {
  text-align: center;
}

.ceap-figure img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* PDF Links */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  font-style: normal;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.pdf-link:hover {
  color: var(--secondary-color);
}

.pdf-link i {
  color: #dc2626;
  font-size: 1rem;
  min-width: auto;
  margin-top: 0;
}

.hero-bio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  opacity: 0.75;
  transition: var(--transition);
}

.hero-bio-link i {
  color: #dc2626;
  font-size: 0.9rem;
}

.hero-bio-link:hover {
  opacity: 1;
  color: var(--secondary-color);
}

/* Location note (address transition) */
.location-note {
  font-size: 0.8rem;
  color: var(--secondary-color);
  font-style: italic;
  margin-top: 0.3rem;
}

.location-note i {
  margin-right: 0.3rem;
  font-size: 0.75rem;
}

/* Contention classes in accordion */
.contention-classes {
  margin-top: 1rem;
}

.contention-classes p {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contention-classes p:last-child {
  border-bottom: none;
}

.contention-classes strong {
  color: var(--primary-color);
  min-width: 140px;
  display: inline-block;
}

/* ============================================
   VIDEOS
   ============================================ */
.videos-section {
  background-color: var(--bg-light);
}

/* Videos toolbar: search + count */
.videos-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.videos-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 240px;
}

.videos-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.85rem;
  pointer-events: none;
  transition: var(--transition);
}

.videos-search-input {
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text-color);
  background: var(--bg-color);
  outline: none;
  transition: var(--transition);
}

.videos-search-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.12);
}

.videos-search-input:focus ~ .videos-search-icon {
  color: var(--secondary-color);
}

.videos-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 4px 6px;
  border-radius: 50%;
  transition: var(--transition);
  display: none;
}

.videos-search-clear.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.videos-search-clear:hover {
  background: var(--bg-light);
  color: var(--text-color);
}

.videos-count {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.video-card {
  background-color: var(--bg-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.video-card.hidden {
  display: none;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #f0f0f0;
}

.video-wrapper-native {
  background: #000;
}

.video-wrapper-native video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-card h3 {
  font-size: 1rem;
  color: var(--primary-color);
  padding: 1.2rem 1.2rem 0.3rem;
}

.video-card p {
  color: var(--text-light);
  padding: 0 1.2rem 1.2rem;
  font-size: 0.85rem;
}

/* Videos no results */
.videos-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}

.videos-no-results i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.videos-no-results p {
  font-size: 1rem;
}

/* Videos pagination */
.videos-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.videos-pagination:empty {
  display: none;
}

.videos-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.6rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.videos-page-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.videos-page-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.videos-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.videos-page-btn:disabled:hover {
  border-color: var(--border-color);
  color: var(--text-color);
}

/* ============================================
   TVC MEDICAL
   ============================================ */
.tvc-section {
  padding: 3rem 0;
  background-color: var(--bg-color);
}

.tvc-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: linear-gradient(135deg, #e8f4f8, #f0f9fc);
  border-radius: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.tvc-icon {
  font-size: 3rem;
  color: var(--primary-color);
  min-width: 60px;
}

.tvc-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tvc-content p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.tvc-award {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 77, 122, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.tvc-award i {
  color: #d4a017;
}

.tvc-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  background-color: var(--bg-light);
}

.contact-cta {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-phones {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-phone:hover {
  color: var(--secondary-color);
}

.contact-phone i {
  font-size: 1rem;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #fff3cd;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-note > i {
  margin-top: 0.2rem;
}

.contact-note p + p {
  margin-top: 0.5rem;
  font-weight: 400;
  font-size: 0.88rem;
}

.contact-note i {
  color: #856404;
  font-size: 1.3rem;
  min-width: 25px;
}

.contact-note p {
  color: #856404;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Location Cards */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.location-card {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 15px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.location-card h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.location-address {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.location-address i,
.location-phone i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.location-phone a {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.location-phone a:hover {
  color: var(--secondary-color);
}

/* Hospitals */
.hospitals {
  margin-bottom: 3rem;
  text-align: center;
}

.hospitals h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hospitals ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.hospitals ul li {
  color: var(--text-color);
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  background: var(--bg-color);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Contact wrapper */
.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-map {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

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

.form-status {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
  margin-bottom: 0.5rem;
}

.form-status.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-link {
  color: var(--text-color);
  transition: var(--transition);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--bg-dark);
  color: var(--bg-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h3 {
  color: var(--bg-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-legal {
  margin-top: 0.8rem;
  font-size: 0.85rem !important;
  opacity: 0.6;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--secondary-color);
  min-width: 18px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.dev-credit {
  font-size: 0.85rem;
  opacity: 0.8;
}

.dev-credit a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
}

.dev-credit a:hover,
.dev-credit a:focus-visible {
  color: var(--bg-color);
  text-decoration: underline;
}

/* ============================================
   FAB — Floating Action Button
   ============================================ */
.fab-rdv {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0, 77, 122, 0.4);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.fab-rdv.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-rdv:hover {
  background-color: var(--primary-hover);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 77, 122, 0.5);
}

.fab-rdv i {
  font-size: 1rem;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   RESPONSIVE — TABLET (820px)
   ============================================ */
@media (max-width: 820px) {
  body {
    font-size: 1rem;
  }

  .logo-subtitle {
    display: none;
  }

  .nav {
    position: fixed;
    top: calc(clamp(50px, 10vw, 85px) + 2rem);
    right: -300px;
    width: 280px;
    height: calc(100vh - calc(clamp(50px, 10vw, 85px) + 2rem));
    background-color: var(--bg-color);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
  }

  .nav-link {
    padding: 1rem 2rem;
    width: 100%;
    display: block;
    font-size: 1.05rem;
    text-align: center;
  }

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

  /* Dropdown mobile */
  .nav-dropdown {
    width: 100%;
  }

  .nav-link-dropdown {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--bg-light);
    min-width: 0;
    width: 100%;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 300px;
  }

  .nav-dropdown.open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown:hover .nav-chevron {
    transform: none;
  }

  .nav-dropdown.open:hover .nav-chevron {
    transform: rotate(180deg);
  }

  .dropdown-link {
    display: block;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
  }

  .dropdown-link:hover {
    background-color: #e8f4f8;
  }

  /* Lang buttons mobile */
  .nav-lang-item {
    padding: 1rem 2rem;
    width: 100%;
  }

  .nav-lang-buttons {
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }

  .lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Modal responsive */
  .treatment-modal-content {
    width: 95%;
    max-height: 90vh;
    border-radius: 15px;
  }

  .treatment-modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-radius: 15px 15px 0 0;
  }

  .treatment-modal-body {
    padding: 1rem 1rem 1.5rem;
    gap: 0.6rem;
  }

  .modal-section {
    padding: 0.8rem 1rem;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  /* Hero split responsive */
  .hero-split-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-portrait {
    order: 1;
  }

  .hero-portrait-frame img {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-bio-link {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 0.3rem;
  }

  .hero-deco-1 {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-stats-row {
    flex-direction: column;
  }

  .hero-bottom {
    padding-top: 2rem;
  }

  .consultation-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 100%;
  }

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

  .videos-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .videos-search-wrapper {
    max-width: 100%;
  }

  .videos-count {
    text-align: center;
  }

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

  .ceap-images {
    grid-template-columns: 1fr;
  }

  .tvc-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-phones {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
  .hero-split {
    min-height: 0;
    padding-top: calc(clamp(50px, 10vw, 85px) + 4rem);
    padding-bottom: 1.5rem;
  }

  .nav-lang-buttons {
    justify-content: center;
  }

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

  .hero-role {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .fab-rdv {
    bottom: 1rem;
    right: 1rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .treatments-info {
    flex-direction: column;
  }

  .treatments-highlights {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .hospitals ul {
    flex-direction: column;
    align-items: center;
  }

  .tvc-buttons {
    flex-direction: column;
  }

  .pathology-article {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-phones {
    align-items: center;
  }

  .contact-phone {
    justify-content: center;
  }

  /* Modals fullscreen mobile */
  .treatment-modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .treatment-modal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 0;
    padding: 1.2rem 1rem 1rem;
    flex-shrink: 0;
  }

  .treatment-modal-header i {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    border-radius: 10px;
  }

  .treatment-modal-header h3 {
    font-size: 1.1rem;
  }

  .treatment-modal-close {
    top: 0.8rem;
    right: 0.8rem;
    z-index: 11;
  }

  .treatment-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }
}