/* nomara.css - Version finale avec responsive mobile optimisé */

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

:root {
  --bg-light: #F9FBFD;
  --bg-card: #FFFFFF;
  --bg-surface: #F2F5F9;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --gold: #C6A43B;
  --gold-dark: #A17F2A;
  --gold-glow: rgba(198, 164, 59, 0.1);
  --border-light: #EFF3F8;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --footer-bg: #0A2F5A;
  --footer-text: #FFFFFF;
  --footer-gold: #D4AF37;
  --topbar-bg: #0A2F5A;
  --topbar-text: #FFFFFF;
  --topbar-height: 48px;
  --header-height: 68px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.5;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.7;
}

.center-title {
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
}
.center-title::after {
  left: 0;
  transform: none;
}

.left-title {
  text-align: left;
  display: block;
  left: 0;
  transform: none;
}
.left-title::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 1rem 0 3rem 0;
}

.center-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

/* TOP BAR */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--text-primary);
  color: var(--topbar-text);
  padding: 0.5rem 1rem;
  z-index: 1002;
  text-align: center;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.top-bar .contact-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.top-bar .contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.top-bar .contact-info i {
  color: var(--gold);
  font-size: 0.9rem;
}
.top-bar a {
  color: var(--topbar-text);
  text-decoration: none;
}
.top-bar a:hover {
  opacity: 0.8;
}

/* HEADER avec DROPDOWN */
.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 164, 59, 0.2);
  z-index: 1001;
  transition: var(--transition);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.logo a {
  display: inline-block;
  line-height: 0;
}
.logo img {
  height: 58px;
  width: auto;
  display: block;
}

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

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
  letter-spacing: 0.3px;
  display: block;
  padding: 0.5rem 0;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 240px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.nav-links li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--gold-glow);
  color: var(--gold);
  padding-left: 1.8rem;
}

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

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  margin-top: 110px;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  color: white;
  text-align: center;
}

.hero h1 .gold-text {
  color: var(--gold);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--text-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(198, 164, 59, 0.2);
}

.btn-primary:hover {
  background-color: white;
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(198, 164, 59, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid white;
  color: white;
}

.btn-outline:hover {
  background: var(--text-primary);
  border: 1.5px solid var(--text-primary);
  color: white;
  transform: translateY(-3px);
}

.hero-slogan {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  opacity: 0.8;
}

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

/* Sections */
.section {
  padding: 5rem 0;
  border-bottom: none;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--bg-surface);
}
.section:nth-child(odd) {
  background-color: var(--bg-card);
}

.section:not(:last-of-type)::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 3rem auto 0;
  border-radius: 2px;
  opacity: 0.3;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-item {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 1.5rem;
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--border-light);
}
.value-item i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.value-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.expertise-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.expertise-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.expertise-card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.expertise-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.expertise-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.expertise-card ul {
  list-style: none;
  padding-left: 0;
}
.expertise-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.expertise-card li i {
  font-size: 0.7rem;
  margin-bottom: 0;
  color: var(--gold);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-card, .contact-info-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-info-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-card h3 i {
  color: var(--gold);
  font-size: 1.3rem;
}

.contact-info-card .info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info-card .info-item i {
  width: 28px;
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-info-card .social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.contact-info-card .social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-info-card .social-links a:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  transform: translateY(-3px);
}

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

input, textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Footer */
.site-footer {
  background: var(--text-primary);
  padding: 3rem 0 1.5rem 0;
  margin-top: 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact {
  margin-left: 70px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 1rem;
  }
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo a {
  display: inline-block;
  line-height: 0;
}
.footer-brand .footer-logo img {
  height: 38px;
  width: auto;
}
.footer-brand .footer-logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--footer-text);
  letter-spacing: -0.3px;
}

.footer-description {
  font-size: 0.85rem;
  color: var(--footer-text);
  line-height: 1.5;
  margin-top: 0.5rem;
  max-width: 240px;
  opacity: 0.9;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--footer-gold);
  margin-bottom: 1.25rem;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-links li a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--footer-text);
  transition: var(--transition);
  display: inline-block;
  opacity: 0.85;
}

.footer-nav-links li a:hover {
  color: var(--footer-gold);
  transform: translateX(4px);
  opacity: 1;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--footer-text);
  opacity: 0.9;
}

.footer-contact-item i {
  width: 1.3rem;
  color: var(--footer-gold);
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--footer-gold);
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.footer-social-icons a:hover {
  background: var(--footer-gold);
  color: var(--footer-bg);
  border-color: var(--footer-gold);
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.7rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

/* ===== STYLES POUR SERVICES.HTML ===== */
.services-hero {
  position: relative;
  min-height: 50vh;
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
  overflow: hidden;
}

.services-hero-content h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
}

.services-hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.service-detail-section {
  padding: 80px 0;
  position: relative;
}

.service-detail-section.alt-bg {
  background-color: var(--bg-surface);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse .service-detail-content {
  direction: ltr;
}

.service-detail-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  background: none;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.service-detail-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

.service-detail-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(198, 164, 59, 0.2);
}

.feature i {
  color: var(--gold);
  font-size: 0.85rem;
  width: 18px;
}

.btn-service {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
}

.btn-service:hover {
  background: var(--text-primary);
  color: white;
  transform: translateY(-2px);
}

.service-detail-icon {
  text-align: center;
}

.service-detail-icon i {
  font-size: 5.5rem;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.service-detail-section:hover .service-detail-icon i {
  opacity: 1;
}

.cta-section {
  background: var(--text-primary);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  margin: 1.5rem 0 2rem;
  font-size: 1rem;
}

.btn-large {
  padding: 14px 40px;
  font-size: 1rem;
  border: 1.5px solid white;
  background: transparent;
  color: white;
}

.btn-large:hover {
  background: white;
  color: var(--text-primary);
}

/* ============================================ */
/* AMÉLIORATIONS RESPONSIVE MOBILE - VERSION PRO */
/* ============================================ */

/* Tablettes et petits écrans (max 1024px) */
@media (max-width: 1024px) {
  .services-grid, .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-detail-grid.reverse {
    direction: ltr;
  }
}

@media (max-width: 900px) {
  .contact-wrapper, .about-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  /* Header & Navigation */
  .site-header {
    top: var(--topbar-height);
    height: 73px;
    min-height: 60px;
  }
  
  .nav-container {
    padding: 1.2rem 1rem;
  }
  
  .logo img {
    height: 50px !important;
    width: auto;
    /* margin-left: 120px; */
  }
  
  
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    padding: 0.5rem;
  }
  
  .nav-links {
    display: flex;
    position: fixed;
    top: calc(var(--topbar-height) + 60px);
    left: -100%;
    width: 85%;
    height: calc(100vh - 110px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 5px 0 30px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links > li {
    width: 100%;
  }
  
  .nav-links > li > a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  
  /* Dropdown menu mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 1rem;
    background: var(--bg-surface);
    display: none;
  }
  
  .nav-links li.active-dropdown .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu a {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Top Bar mobile */
  .top-bar .contact-info {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .top-bar .contact-info span {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  
  
  /* Hero Section */
  .hero {
    height: 90vh;
    min-height: 600px;
  }
  
  .hero-content {
    margin-top: 75px;
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 5rem !important;
    line-height: 1.4;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 250px;
    margin: 0 auto 1.5rem;
  }
  
  .btn {
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero-slogan {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }
  
  /* Sections générales */
  .section {
    padding: 3rem 0;
  }
  
  h2 {
    font-size: 1.6rem !important;
  }
  
  h2::after {
    width: 40px;
    bottom: -8px;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
    min-height: auto;
  }
  
  .service-card i {
    font-size: 1.8rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  /* About section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .value-item {
    padding: 1.25rem;
  }
  
  /* Expertise Grid */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .expertise-card {
    padding: 1.5rem;
  }
  
  .expertise-card h3 {
    font-size: 1.2rem;
  }
  
  /* Contact section */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card, .contact-info-card {
    padding: 1.5rem;
  }
  
  input, textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .footer-contact {
    margin-left: 0;
  }
  
  .footer-brand .footer-logo img {
    height: 32px;
  }
  
  .footer-title {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .footer-nav-links li a,
  .footer-contact-item {
    font-size: 0.8rem;
  }
  
  .footer-social-icons a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .copyright {
    font-size: 0.65rem;
    text-align: center;
  }
  
  /* Services page mobile */
  .services-hero {
    padding: 120px 20px 60px;
    min-height: 40vh;
  }
  
  .services-hero-content h1 {
    font-size: 2rem;
  }
  
  .services-hero-content p {
    font-size: 1rem;
  }
  
  .service-detail-section {
    padding: 50px 0;
  }
  
  .service-detail-content h2 {
    font-size: 1.6rem;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
  
  .service-detail-icon i {
    font-size: 3.5rem;
  }
  
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-content h2 {
    font-size: 1.6rem;
  }
}

/* Petits mobiles (max 480px) */
@media (max-width: 480px) {
  /* Top bar */
  .top-bar {
    height: auto;
    min-height: 40px;
    padding: 0.5rem;
  }
  
  .top-bar .contact-info {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .top-bar .contact-info span {
    font-size: 0.65rem;
  }
  
  /* Header */
  :root {
    --topbar-height: 40px;
    --header-height: 60px;
  }
  
  .logo img {
    height: 35px;
  }
  
  /* Hero */
  .hero h1 {
    font-size: 1.5rem !important;
  }
  
  .hero-slogan {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }
  
  /* Sections */
  .section {
    padding: 2rem 0;
  }
  
  h2 {
    font-size: 1.4rem !important;
  }
  
  .service-card h3 {
    font-size: 1rem;
  }
  
  .service-card p {
    font-size: 0.8rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
  
  /* Contact form */
  .contact-info-card h3 {
    font-size: 1.1rem;
  }
  
  .info-item {
    font-size: 0.85rem;
  }
  
  /* Footer */
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-description {
    font-size: 0.75rem;
  }
}

/* Très petits mobiles (max 375px) */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.3rem !important;
  }
  
  .btn-group {
    max-width: 200px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 1.2rem;
  }
  
  .expertise-card ul li {
    font-size: 0.75rem;
  }
}

/* Amélioration des touches tactiles */
@media (max-width: 768px) {
  .btn, 
  .service-card-link,
  .nav-links a,
  .footer-social-icons a,
  .contact-info-card .social-links a {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .btn:active,
  .service-card:active {
    transform: scale(0.98);
  }
  
  input, textarea, button {
    font-size: 16px !important; /* Empêche le zoom sur iOS */
  }
}

/* Amélioration des images et vidéos */
@media (max-width: 768px) {
  .hero-video-bg video {
    object-position: center;
  }
  
  .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
  }
}

/* Fix pour le scroll sur mobile */
body.menu-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .nav-links > li:has(> a[href="services.html"]), 
  .nav-links > li:has(> a[href="#services"]) {
    position: relative;
  }
  
  .nav-links > li > a[href="services.html"],
  .nav-links > li > a[href="#services"] {
    padding-right: 40px;
  }
  
  .dropdown-toggle-mobile {
    background: none !important;
    border: none !important;
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    cursor: pointer !important;
    color: #475569 !important;
    padding: 10px !important;
    z-index: 10 !important;
    width: auto !important;
    height: auto !important;
  }
  
  .dropdown-toggle-mobile i {
    pointer-events: none;
  }
  
  .nav-links .dropdown-menu {
    display: none;
    position: static !important;
    box-shadow: none !important;
    background: #F2F5F9 !important;
    margin-top: 10px !important;
    margin-left: 15px !important;
    border-radius: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}
/* ===== RESPONSIVE HERO H1 ===== */

/* Mobiles très petits (max 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
}

/* Mobiles moyens (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem !important;
    line-height: 1.3;
  }
}

/* Petits tablets (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.3;
  }
}

/* Tablettes (769px - 1024px) - HADI HIYA LI KANT MCHKLA */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    min-height: 70vh;
    height: auto;
  }
  
  .hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.3;
  }
  
  .hero-slogan {
    font-size: 0.8rem;
    letter-spacing: 4px;
  }
  
  .btn-group {
    gap: 1rem;
  }
}

/* Desktop normaux (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

/* Grands écrans (1441px et plus) */
@media (min-width: 1441px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* iPad Mini spécifique (768px - 820px) */
@media (min-width: 768px) and (max-width: 820px) {
  .hero h1 {
    font-size: 2.2rem !important;
  }
  
  .hero-content {
    margin-top: 80px;
  }
}

/* iPad Air (820px - 1024px) */
@media (min-width: 820px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem !important;
  }
}
/* ===== FAQ TEASER SECTION (à ajouter à la fin du fichier) ===== */
.faq-teaser-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, #FFFFFF 100%);
}

.faq-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.faq-teaser-item {
  background: white;
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.faq-teaser-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.faq-teaser-icon i {
  font-size: 1.5rem;
  color: var(--gold);
}

.faq-teaser-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-teaser-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.faq-teaser-item p strong {
  color: var(--gold-dark);
}

.faq-teaser-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.faq-teaser-link:hover {
  gap: 10px;
  color: var(--gold-dark);
}

.faq-teaser-footer {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .faq-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .faq-teaser-section {
    padding: 50px 0;
  }
  .faq-teaser-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .faq-teaser-item {
    padding: 1.2rem;
  }
}
/* Agrandissement du champ texte dans le formulaire de contact */
.contact-card .form-group textarea,
#contactForm .form-group textarea {
    min-height: 260px;
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    /* border: 1px solid rgba(212, 175, 55, 0.25); */
    border-radius: 12px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-card .form-group textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    outline: none;
}

/* Pour les écrans plus grands, encore plus grand */
@media (min-width: 992px) {
    .contact-card .form-group textarea {
        min-height: 180px;
    }
}