:root {
  --color-primary: #1e6ba8;
  --color-primary-dark: #144a73;
  --color-secondary: #0a2342;
  --color-accent: #219ebc;
  --color-background: #f0f8ff;
  --color-white: #ffffff;
  --color-text: #1a3a52;
  --color-muted: #5a7a95;
  --color-primary-light: rgba(30, 107, 168, 0.08);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --shadow-soft: 0 4px 20px rgba(30, 107, 168, 0.08);
  --shadow-card: 0 8px 40px rgba(30, 107, 168, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  color: var(--color-white);
  font-size: 0.85rem;
  padding: 0.6rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  text-align: center;
}

.top-bar-content {
  align-items: center;
}

.contact-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-white);
  font-weight: 500;
}

.contact-inline span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.whatsapp-link {
  color: var(--color-white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.whatsapp-link .fa-whatsapp {
  color: #25D366;
  font-size: 1.2em;
}

.phone-link {
  color: var(--color-white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-link .fa-phone {
  color: var(--color-accent);
  font-size: 1em;
  transform: rotate(90deg);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-link .fa-envelope {
  color: #EA4335; /* Rouge Gmail */
}

.contact-link .fa-facebook-f {
  color: #1877F2; /* Bleu Facebook */
}

.contact-link i {
  width: 1.2em;
  text-align: center;
}

.link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  line-height: 0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-inline .link-icon {
  width: 1.3rem;
  height: 1.3rem;
  background: transparent;
  margin-right: 0.2rem;
}

.contact-inline .fa-whatsapp {
  color: #25d366;
}

.contact-inline .fa-phone {
  color: rgba(255, 255, 255, 0.85);
}

.whatsapp-link .link-icon {
  background: rgba(37, 211, 102, 0.18);
  color: #25d366;
}

.phone-link .link-icon {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.contact-link .link-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
}

.contact-link:hover .link-icon {
  transform: scale(1.05);
}

/* =============================================
   HEADER - STYLE FITNESS PARK
   ============================================= */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(30, 107, 168, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.header-left{
  flex-shrink: 0;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand.light {
  color: var(--color-white);
}

.brand-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.brand-icon img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 70%;
  border: 2px solid #ccc;
  object-fit: cover;
  object-position: center;

  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.header-phone:hover {
  transform: translateY(-2px);
  color: var(--color-secondary);
}

.header-phone i {
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.hero {
  background: linear-gradient(135deg, rgba(0, 163, 215, 0.12), rgba(14, 157, 197, 0.54));
  padding: 5rem 0 4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.2;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
}

.btn.outline {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background-color: transparent;
  font-weight: 600;
  border-width: 2px;
  transition: all 0.3s ease;
}

.btn.outline:hover,
.btn.outline:focus-visible {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 215, 0.3);
}

.hero-card {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 163, 215, 0.15), transparent 55%);
  pointer-events: none;
}

.card-badge {
  display: inline-block;
  background: rgba(20, 196, 216, 0.12);
  color: var(--color-primary-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.card-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 163, 215, 0.2);
}

.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  color: var(--color-secondary);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--color-muted);
}

.hero-card li::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0.3rem;
  font-size: 1.5rem;
  line-height: 1;
}

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-in"] {
  transform: scale(0.98);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"].is-visible,
[data-animate="fade-right"].is-visible,
[data-animate="fade-in"].is-visible {
  transform: translateX(0);
}

[data-animate="fade-in"].is-visible {
  transform: scale(1);
}

.section {
  padding: 4.5rem 0;
}

.section.light {
  background-color: var(--color-white);
}

.contact-section {
  background: linear-gradient(135deg, rgba(33, 158, 188, 0.08), rgba(30, 107, 168, 0.12));
  color: var(--color-text);
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-secondary);
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.grid.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four-columns {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.activity-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 163, 215, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 0 25px 80px rgba(0, 163, 215, 0.2);
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-media {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.activity-media img,
.activity-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-media video {
  border-radius: 50%;
}

.activity-card:hover .activity-media img {
  transform: scale(1.1) rotate(2deg);
}

.activity-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 163, 215, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.activity-card:hover .activity-media::after {
  opacity: 1;
}

.activity-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-content h3 {
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.activity-card:hover .activity-content h3 {
  color: var(--color-primary);
}

.activity-content p {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.activity-card:hover .activity-content p {
  color: var(--color-text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 163, 215, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 120px;
  color: rgba(0, 163, 215, 0.1);
  font-family: Georgia, serif;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 163, 215, 0.15);
}

.testimonial-card:hover::before {
  color: rgba(0, 163, 215, 0.2);
  transform: scale(1.1);
}

.testimonial-rating {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating i {
  color: #FFD700;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating i {
  transform: scale(1.2) rotate(15deg);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 163, 215, 0.1);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 163, 215, 0.3);
}

.author-info strong {
  display: block;
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
}

.author-info span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
  justify-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.catalogue-list {
  background: linear-gradient(135deg, rgba(0, 163, 215, 0.05), rgba(20, 196, 216, 0.08));
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(0, 163, 215, 0.15);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.catalogue-list:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 163, 215, 0.1);
}

.catalogue-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.catalogue-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 163, 215, 0.1);
  color: var(--color-text);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2rem;
}

.catalogue-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.catalogue-list:hover li::before {
  opacity: 1;
  transform: scale(1);
}

.catalogue-list li:hover {
  color: var(--color-primary);
  padding-left: 2.5rem;
  transform: translateX(5px);
}

.catalogue-highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 163, 215, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.catalogue-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalogue-highlight:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 163, 215, 0.15);
}

.catalogue-highlight:hover::before {
  transform: scaleX(1);
}

.catalogue-highlight h3 {
  color: var(--color-secondary);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.catalogue-highlight:hover h3 {
  color: var(--color-primary);
}

.catalogue-highlight p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.catalogue-highlight:hover p {
  color: var(--color-text);
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid rgba(0, 163, 215, 0.2);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 215, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.filter-btn:hover::before {
  width: 100%;
  height: 100%;
}

.filter-btn:hover {
  color: white;
  border-color: var(--color-primary);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0, 163, 215, 0.1);
  background-color: var(--color-white);
  aspect-ratio: 4 / 3;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 163, 215, 0.2);
}

.gallery-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-media img,
.gallery-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-media img,
.gallery-item:hover .gallery-media video {
  transform: scale(1.1) rotate(1deg);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 163, 215, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.play-icon::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 20px solid var(--color-primary);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.gallery-item:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
  box-shadow: 0 10px 30px rgba(0, 163, 215, 0.3);
}

.contact-cards article {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: none;
}

.contact-cards a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-cards a:hover {
  text-decoration: underline;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 600;
}

.contact-link i {
  font-size: 1rem;
}

.map-frame {
  position: relative;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.map-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  filter: saturate(1.05) contrast(1.02);
  min-height: 100%;
}

@media (max-width: 992px) {
  .map-frame {
    height: 200px;
    margin: 1rem 0;
  }
}

.contact-cards ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.contact-section {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

.contact-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5ee;
  max-width: 100%;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 163, 215, 0.2);
  background-color: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235f7383' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-form .btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 163, 215, 0.3);
}

.contact-form .btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 163, 215, 0.4);
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-feedback {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.75rem;
  animation: fadeIn 0.3s ease-in-out;
  border: 1px solid transparent;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-feedback.success {
  background-color: #f0fdf4;
  color: #166534;
  border-color: #86efac;
}

.form-feedback.error {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}

.contact-form input:invalid,
.contact-form textarea:invalid,
.contact-form select:invalid {
  border-color: #f87171;
}

.contact-form input:invalid:focus,
.contact-form textarea:invalid:focus,
.contact-form select:invalid:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.contact-form .btn i {
  margin-right: 0.5rem;
}

/* =============================================
   BASE RESPONSIVE DESIGN - MOBILE FIRST
   ============================================= */

/* Breakpoints modernes */
:root {
  --breakpoint-xs: 320px;   /* Petits mobiles */
  --breakpoint-sm: 480px;   /* Mobiles */
  --breakpoint-md: 768px;   /* Tablettes */
  --breakpoint-lg: 1024px;  /* Desktop */
  --breakpoint-xl: 1280px;  /* Grands écrans */
  --breakpoint-2xl: 1536px; /* Très grands écrans */
}

/* Base mobile-first */
.container {
  width: min(95vw, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation responsive */
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.95rem;
  padding: 0.5rem 0;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.brand-icon {
  width: 45px;
  height: 45px;
}

.brand-text span {
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.brand-text strong {
  font-size: 1rem;
  color: var(--color-text);
}

/* =============================================
   MOBILE - HEADER RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
  .header-content {
    flex-wrap: wrap;
    padding: 0.75rem 0;
    gap: 1rem;
  }
  
  .header-left {
    order: 1;
    flex: 1;
  }
  
  .main-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }
  
  .header-right {
    order: 2;
    gap: 1rem;
  }
  
  .header-phone {
    display: none;
  }
  
  .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .brand {
    gap: 0.5rem;
  }
  
  .brand-icon {
    width: 40px;
    height: 40px;
  }
  
  .brand-text span {
    font-size: 0.9rem;
  }
  
  .brand-text strong {
    font-size: 1rem;
  }
}

/* Hero responsive */
.hero {
  padding: 3rem 0 2rem;
  min-height: 60vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 6vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

/* Placeholder pour les futurs styles de contact */

.hero-actions .btn {
  width: 100%;
  max-width: 280px;
}

/* Grilles responsive */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two-columns,
.grid.three-columns,
.grid.four-columns {
  grid-template-columns: 1fr;
}

/* Sections responsive */
.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
}

/* Service cards */
.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 163, 215, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 0 25px 80px rgba(0, 163, 215, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  margin: 0 auto 1.5rem;
  position: relative;
  width: 120px;
  height: 120px;
  object-fit: cover;
  overflow: hidden;
  border:  2px solid #ccc ;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 107, 168, 0.1), rgba(33, 158, 188, 0.15));
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(30, 107, 168, 0.15), rgba(33, 158, 188, 0.2));
  box-shadow: 0 10px 30px rgba(30, 107, 168, 0.2);
}

/* Styles pour la section contact en mode paysage */
.contact-landscape-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-landscape-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-landscape-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-landscape-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
  min-width: 24px;
  text-align: center;
  margin-top: 0.25rem;
}

.contact-landscape-item strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.contact-landscape-item p,
.contact-landscape-item a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-landscape-item a:hover {
  color: var(--color-accent);
}

.contact-landscape-item.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-landscape-item.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact-landscape-item.social-icons a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.contact-landscape-item.social-icons i {
  color: white;
  font-size: 1.2rem;
  margin: 0;
}

/* Ajustement de la grille du footer */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-contact-landscape {
  grid-column: span 2;
}

/* Footer responsive */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-col {
  position: relative;
}

.footer-col::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 2px;
}

/* Titres du footer */
.footer-title {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Menu du footer */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-menu li {
  position: relative;
  padding-left: 1.2rem;
}

.footer-menu li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.footer-menu li:hover::before {
  transform: translateX(3px);
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-menu a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

/* Horaires d'ouverture */
.opening-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours li:last-child {
  border-bottom: none;
}

.opening-hours li span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.opening-hours li span:first-child {
  color: var(--color-accent);
}

/* Contact rapide */
.footer-contact {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.footer-contact p {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  color: var(--color-accent);
  width: 20px;
  text-align: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-white);
}

/* Bas du footer */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

.copyright .country {
  color: var(--color-accent);
  font-weight: 500;
}

/* Description du footer */
.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Brand du footer */
.brand.light {
  color: var(--color-white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.brand.light:hover {
  transform: translateY(-2px);
}

.brand.light .brand-text span {
  color: rgba(255, 255, 255, 0.9);
}

.brand.light .brand-text strong {
  color: var(--color-white);
}

/* Images dans le footer */
.footer .brand-icon img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease;
}

.footer .brand:hover .brand-icon img {
  transform: scale(1.1);
}

/* Liens sociaux - Header */
.header .social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.header .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.header .social-links a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Liens sociaux - Footer */
.footer .social-links {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-links a:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Styles responsifs */
@media (max-width: 768px) {
  .header .social-links {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    gap: 10px;
  }
  
  .header .social-links a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    background: var(--color-primary);
    color: white;
  }
  
  .footer .social-links {
    margin: 1rem 0;
  }
  
  .footer .social-links a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* =============================================
   PETITS MOBILES (320px+)
   ============================================= */
@media (min-width: 320px) {
  .container {
    padding: 0 1.2rem;
  }
  
  .hero-text h1 {
    font-size: clamp(2rem, 5vw, 2.4rem);
  }
}

/* =============================================
   MOBILES (480px+)
   ============================================= */
@media (min-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero {
    padding: 3.5rem 0 2.5rem;
  }
  
  .hero-content {
    gap: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: auto;
    flex: 1;
    max-width: 200px;
  }
  
  .grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    padding: 2rem;
  }
}

/* =============================================
   TABLETTES (768px+)
   ============================================= */
@media (min-width: 768px) {
  .container {
    width: min(85vw, 1200px);
    padding: 0 2rem;
  }
  
  .header-content {
    padding: 1rem 0;
    gap: 2rem;
  }
  
  .nav-menu {
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }
  
  .header-phone {
    display: flex;
  }
  
  .brand-icon {
    width: 46px;
    height: 46px;
  }
  
  .brand-text span {
    font-size: 0.95rem;
  }
  
  .brand-text strong {
    font-size: 1.1rem;
  }
  
  .hero {
    padding: 5rem 0 4rem;
    min-height: 80vh;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
    text-align: left;
  }
  
  .hero-text h1 {
    font-size: clamp(2.2rem, 3vw, 3rem);
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: auto;
    flex: none;
    max-width: none;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid.four-columns {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-card {
    padding: 2.5rem;
    text-align: left;
  }
  
  .service-icon {
    margin: 0 0 1.5rem 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
  }
  
  .footer-col:last-child {
    grid-column: auto;
  }
  
  .footer-col::after {
    display: block;
  }
}

/* =============================================
   GRANDS ÉCRANS (1280px+)
   ============================================= */
@media (min-width: 1280px) {
  .container {
    width: min(80vw, 1400px);
  }
  
  .hero {
    padding: 6rem 0 5rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* =============================================
   TRÈS GRANDS ÉCRANS (1536px+)
   ============================================= */
@media (min-width: 1536px) {
  .container {
    max-width: 1600px;
  }
  
  .hero {
    padding: 7rem 0 6rem;
  }
  
  .section {
    padding: 7rem 0;
  }
}

/* =============================================
   ORIENTATION LANDSCAPE POUR MOBILES
   ============================================= */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 50vh;
    padding: 2rem 0 1.5rem;
  }
  
  .hero-text h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* =============================================
   PAGES LÉGALES
   ============================================= */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.legal-section h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.legal-section h3 {
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.legal-section p {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-section li {
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section strong {
  color: var(--color-secondary);
  font-weight: 600;
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.back-to-home {
  text-align: center;
  margin-top: 3rem;
}

/* Plan du site spécifique */
.sitemap-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.sitemap-section {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.sitemap-section h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.sitemap-list {
  list-style: none;
  padding: 0;
}

.sitemap-list li {
  margin-bottom: 0.8rem;
}

.sitemap-list a {
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.sitemap-list a:hover {
  color: var(--color-primary);
  border-left-color: var(--color-accent);
  padding-left: 1rem;
}

.sitemap-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.sitemap-stats .stat-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.sitemap-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sitemap-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .legal-section {
    padding: 2rem 1.5rem;
  }
  
  .legal-section h2 {
    font-size: 1.3rem;
  }
  
  .sitemap-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sitemap-section {
    padding: 1.5rem;
  }
  
  .sitemap-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .sitemap-stats .stat-box {
    padding: 1.5rem;
  }
  
  .sitemap-stats .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .sitemap-stats {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FOOTER RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  
  .footer-col::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .footer-contact {
    padding: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    font-size: 15px;
  }

  .container {
    width: min(95vw, 560px);
  }

  .grid.three-columns,
  .grid.four-columns {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-contact {
    padding: 1rem;
  }
  
  .social-links {
    gap: 0.8rem;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
}

/* =============================================
   ACCESSIBILITÉ DES IMAGES
   ============================================= */

/* Images décoratives */
img[alt=""],
img[role="presentation"] {
  display: none;
}

/* Images importantes */
img:not([alt]):not([role="presentation"]) {
  outline: 2px solid red;
  outline-offset: 2px;
}

/* =============================================
   DARK MODE POUR IMAGES (optionnel)
   ============================================= */
@media (prefers-color-scheme: dark) {
  .hero-image {
    filter: brightness(0.9) contrast(1.1);
  }
  
  .gallery-item img {
    filter: brightness(0.95);
  }
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-copyright p {
  margin: 0.3rem 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 163, 215, 0.3);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.brand.light {
  color: var(--color-white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.brand.light:hover {
  transform: translateY(-2px);
}

.brand.light .brand-text span {
  color: rgba(255, 255, 255, 0.9);
}

.brand.light .brand-text strong {
  color: var(--color-white);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  
  .footer-col::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .footer-contact {
    padding: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* =============================================
   PERFORMANCE ET CHARGEMENT
   ============================================= */

/* Lazy loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Placeholder pendant le chargement */
img:not([src]) {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   ACCESSIBILITÉ DES IMAGES
   ============================================= */

/* Images décoratives */
img[alt=""],
img[role="presentation"] {
  display: none;
}

/* Images importantes */
img:not([alt]):not([role="presentation"]) {
  outline: 2px solid red;
  outline-offset: 2px;
}

/* =============================================
   DARK MODE POUR IMAGES (optionnel)
   ============================================= */
@media (prefers-color-scheme: dark) {
  .hero-image {
    filter: brightness(0.9) contrast(1.1);
  }
  
  .gallery-item img {
    filter: brightness(0.95);
  }
}

/* Logo responsive */
.brand-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (min-width: 768px) {
  .brand-icon img {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 1024px) {
  .brand-icon img {
    width: 34px;
    height: 34px;
  }
}

/* Galerie */
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
}

/* Vidéos responsive */
video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Iframes (maps, vidéos YouTube, etc.) */
iframe {
  max-width: 100%;
  height: auto;
  border: none;
  border-radius: var(--radius-sm);
}

.map-frame iframe {
  width: 100%;
  min-height: 250px;
}

@media (min-width: 768px) {
  .map-frame iframe {
    min-height: 300px;
  }
}

@media (min-width: 1024px) {
  .map-frame iframe {
    min-height: 350px;
  }
}

/* Images dans les cartes */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .card img {
    height: 250px;
  }
}

/* Optimisation pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-icon img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Images dans le footer */
.footer .brand-icon img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease;
}

.footer .brand:hover .brand-icon img {
  transform: scale(1.1);
}

/* =============================================
   IMPRESSION
   ============================================= */
@media print {
  .header,
  .hero-actions,
  .social-links,
  .scroll-top {
    display: none !important;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .footer {
    background: white !important;
    color: black !important;
  }
}

/* =============================================
   SECTION À PROPOS
   ============================================= */

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 163, 215, 0.15);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 3s ease-in-out infinite;
}

.about-card:nth-child(2) i {
  animation-delay: 0.5s;
  color: var(--color-accent);
}

.about-card:nth-child(3) i {
  animation-delay: 1s;
  color: var(--color-secondary);
}

.about-card:hover i {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 10px 20px rgba(0, 163, 215, 0.3));
}

.about-card h3 {
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about-card:hover h3 {
  color: var(--color-primary);
}

.about-card p {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.about-card:hover p {
  color: var(--color-text);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =============================================
   SECTION À PROPOS - STATISTIQUES
   ============================================= */

.about-stats {
  margin-top: 2rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 163, 215, 0.08), rgba(20, 196, 216, 0.12));
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.stat-item {
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.stat-item:hover {
  transform: scale(1.05) translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
  color: var(--color-accent);
  filter: drop-shadow(0 5px 15px rgba(0, 163, 215, 0.3));
}

.stat-item:hover .stat-number::after {
  transform: scaleX(1);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .about-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-card {
    padding: 2rem 1.5rem;
  }
  
  .about-card i {
    font-size: 2.5rem;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .about-card {
    padding: 1.5rem 1rem;
  }
  
  .about-card i {
    font-size: 2.2rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
}

/* =============================================
   PERFORMANCE ET CHARGEMENT
   ============================================= */

/* Lazy loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Placeholder pendant le chargement */
img:not([src]) {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   ACCESSIBILITÉ DES IMAGES
   ============================================= */

/* Images décoratives */
img[alt=""],
img[role="presentation"] {
  display: none;
}

/* Images importantes */
img:not([alt]):not([role="presentation"]) {
  outline: 2px solid red;
  outline-offset: 2px;
}

/* =============================================
   DARK MODE POUR IMAGES (optionnel)
   ============================================= */
@media (prefers-color-scheme: dark) {
  .hero-image {
    filter: brightness(0.9) contrast(1.1);
  }
  
  .gallery-item img {
    filter: brightness(0.95);
  }
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-copyright p {
  margin: 0.3rem 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 163, 215, 0.3);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.brand.light {
  color: var(--color-white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.brand.light:hover {
  transform: translateY(-2px);
}

.brand.light .brand-text span {
  color: rgba(255, 255, 255, 0.9);
}

.brand.light .brand-text strong {
  color: var(--color-white);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  
  .footer-col::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .footer-contact {
    padding: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    font-size: 15px;
  }

  .container {
    width: min(95vw, 560px);
  }

  .grid.three-columns,
  .grid.four-columns {
    grid-template-columns: 1fr;
  }

/* Styles pour les boutons de la médiathèque */
.gallery-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.load-more {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 163, 215, 0.3);
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.load-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.load-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 163, 215, 0.4);
}

.load-more:active {
  transform: translateY(0);
}

.load-more:hover::before {
  left: 100%;
}

.load-more i {
  margin-right: 0.5rem;
  font-size: 1.2em;
}

/* Animation de pulsation au survol */
@keyframes pulse {
  0% {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 163, 215, 0.7);
  }
  70% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 0 10px rgba(0, 163, 215, 0);
  }
  100% {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 163, 215, 0);
  }
}

.load-more:hover {
  animation: pulse 1.5s infinite;
}

  .hero-card,
  .service-card,
  .about-cards article,
  .catalogue-highlight,
  .activity-card,
  .testimonial-card,
  .contact-form {
    padding: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .top-bar .container {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (min-width: 720px) {
  .cta-group {
    flex-direction: row;
  }

  .cta-group .btn {
    flex: 1;
  }

  .catalogue-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 420px) {
  .contact-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-frame iframe {
    min-height: 220px;
  }
}

/* Galerie d'images du catalogue */
.catalogue-gallery {
  margin: 3rem 0;
  width: auto;
  height: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 1.2rem;
  background: white;
  text-align: center;
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

/* Bouton Voir plus */
.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.load-more {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.load-more i {
  transition: transform 0.3s ease;
}

.load-more:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 180px;
  }
}
/* Styles pour le logo dans le footer */
.footer .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer .brand-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  flex-shrink: 0;
  overflow: visible;
}

.footer .brand-icon img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease;
}
/* Styles pour les icônes de contact dans le header */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-link i {
  font-size: 1.2rem;
  color: var(--color-primary);
}

/* Styles pour les réseaux sociaux dans le footer */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link i {
  font-size: 1rem;
}

/* Ajustements responsifs */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .header-right {
    gap: 0.75rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 992px) {
  .footer-social {
    justify-content: flex-start;
  }
}

.footer .brand:hover .brand-icon img {
  transform: scale(1.1);
}
