/* ============================================
   O'Diag Expert — Style Principal
   Diagnostic Immobilier en Auvergne
   ============================================ */

/* --- Variables & Reset --- */
:root {
  --charcoal: #2B2D31;
  --charcoal-light: #3A3D42;
  --red: #A81E2B;
  --red-dark: #8B1823;
  --red-light: #C4323F;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --gray-100: #E8E8E8;
  --gray-200: #D0D0D0;
  --gray-500: #7A7A7A;
  --gray-700: #4A4A4A;
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }

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

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(43, 45, 49, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo svg { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo-text span { color: var(--red-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-light); }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(43,45,49,0.92) 0%, rgba(43,45,49,0.75) 100%),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80') center/cover no-repeat;
  padding: 120px 0 80px;
}
.hero .container {
  display: flex;
  justify-content: center;
}
.hero-content {
  max-width: 700px;
  width: 100%;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--red-light); }
.hero p {
  font-size: 1.15rem;
  color: var(--gray-200);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--charcoal); }
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-light); transform: translateY(-2px); }

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--off-white);
}
.section-dark {
  background: var(--charcoal);
  color: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
}
.section-dark .section-header p { color: var(--gray-200); }
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(168,30,43,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Why Us / Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
.features-image {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, rgba(43,45,49,0.3), rgba(168,30,43,0.2)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80') center/cover no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.features-list { display: flex; flex-direction: column; gap: 28px; }
.feature-item {
  display: flex;
  gap: 20px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 0.93rem;
  color: var(--gray-500);
}

/* --- Zones --- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.zone-card {
  background: var(--charcoal-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.zone-card:hover {
  background: var(--red);
  transform: translateY(-3px);
}
.zone-card h3 { font-size: 1rem; font-weight: 600; }
.zone-card p { font-size: 0.85rem; color: var(--gray-200); margin-top: 4px; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.testimonial-stars {
  color: #F5A623;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial-location {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Diagnostics Page --- */
.diag-hero {
  background: linear-gradient(135deg, rgba(43,45,49,0.92), rgba(43,45,49,0.8)),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&q=80') center/cover no-repeat;
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}
.diag-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.diag-hero p {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto;
}

.diag-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-100);
}
.diag-detail:last-child { border-bottom: none; }
.diag-detail.reverse { direction: rtl; }
.diag-detail.reverse > * { direction: ltr; }
.diag-detail-img {
  height: 300px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}
.diag-detail-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.diag-detail-content h2 span { color: var(--red); }
.diag-detail-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 14px;
}
.diag-tag {
  display: inline-block;
  background: rgba(168,30,43,0.08);
  color: var(--red);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* --- Tarifs Page --- */
.tarifs-hero {
  background: linear-gradient(135deg, rgba(43,45,49,0.92), rgba(43,45,49,0.8)),
    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&q=80') center/cover no-repeat;
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}
.tarifs-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.tarifs-hero p {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}
.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.93rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
}

.tarif-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tarif-table thead {
  background: var(--charcoal);
  color: var(--white);
}
.tarif-table th, .tarif-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.95rem;
}
.tarif-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
}
.tarif-table tbody tr:hover {
  background: rgba(168,30,43,0.03);
}
.tarif-table .price-cell {
  font-weight: 700;
  color: var(--red);
}

/* --- Contact Page --- */
.contact-hero {
  background: linear-gradient(135deg, rgba(43,45,49,0.92), rgba(43,45,49,0.8)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}
.contact-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-hero p {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-info-card p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--charcoal);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question .faq-toggle {
  font-size: 1.4rem;
  color: var(--red);
  transition: transform var(--transition);
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--gray-200);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.93rem;
  margin-top: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--white); }
.footer-partners {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-partners span { color: var(--gray-500); }
.footer-partners a { color: var(--gray-500); transition: color var(--transition); }
.footer-partners a:hover { color: var(--red-light); }

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: var(--off-white);
}
.page-404 h1 {
  font-size: 8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}
.page-404 h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-404 p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page hero for inner pages --- */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--gray-500); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }
  .nav-cta { text-align: center; margin-top: 10px; }

  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.7rem; }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }
  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-image {
    height: 280px;
    order: -1;
  }
  .diag-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .diag-detail.reverse { direction: ltr; }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured { margin-top: 16px; }
  .diag-hero h1, .tarifs-hero h1, .contact-hero h1, .page-hero h1 {
    font-size: 2rem;
  }
  .page-404 h1 { font-size: 5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .section { padding: 60px 0; }
  .stats-bar { padding: 24px 16px; }
  .stat-number { font-size: 1.8rem; }
  .process-steps { grid-template-columns: 1fr; }
  .tarif-table th, .tarif-table td { padding: 12px 14px; font-size: 0.85rem; }
}
