/* ==========================================================================
   PEMAI MAROC - Design Système Industriel Haute Performance
   Optimisé pour la vitesse, l'ergonomie mobile & le SEO
   Palette : Monochrome Noir & Blanc / Carbone & Titane
   ========================================================================== */

:root {
  --color-black: #0a0c10;
  --color-dark: #12161f;
  --color-surface: #181d27;
  --color-surface-hover: #212836;
  --color-border-dark: #2a3242;
  --color-border-light: #e2e8f0;
  
  --color-white: #ffffff;
  --color-bg-light: #f8fafc;
  --color-card-light: #ffffff;
  --color-muted: #64748b;
  --color-muted-light: #94a3b8;
  
  --color-accent: #0f172a;
  --color-accent-light: #f1f5f9;
  --color-amber: #eab308;
  --color-green: #10b981;
  --color-whatsapp: #25D366;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-dark: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

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

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

button, input, select, textarea {
  font: inherit;
  font-size: 16px; /* Empêche le zoom auto forcé sur iPhone Safari */
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding-left: 14px; padding-right: 14px; }
}

/* Top Bar Notice */
.topbar {
  background-color: var(--color-black);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.topbar-badge {
  background: #22c55e;
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(10px, 1.3vw, 22px);
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding: 8px 4px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 2px;
  background-color: #000000;
  border-radius: 2px;
}

.nav-badge-pill {
  background-color: #000000;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  font-weight: 800;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  touch-action: manipulation;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  fill: #0f172a;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn-primary:hover {
  background-color: #222222;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

.btn-outline:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0c10 0%, #151922 60%, #1c2230 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
  width: 100%;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  min-width: 0;
  width: 100%;
}

.hero-content {
  min-width: 0;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title span.highlight {
  color: #ffffff;
  border-bottom: 3px solid #ffffff;
  display: inline;
}

.hero-desc {
  font-size: 1.08rem;
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.65;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
  width: 100%;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-heading);
}

.trust-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual / Interactive Card */
.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  width: 100%;
  box-sizing: border-box;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.hero-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Sections */
.section {
  padding: 70px 0;
  width: 100%;
  overflow: hidden;
}

.section-dark {
  background-color: var(--color-black);
  color: #ffffff;
}

.section-muted {
  background-color: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #64748b;
  margin-bottom: 8px;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-lead {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-dark .section-lead {
  color: #94a3b8;
}

/* Cards & Image Cards */
.card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  width: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #000000;
}

.card-dark {
  background-color: var(--color-surface);
  border-color: var(--color-border-dark);
  color: #ffffff;
}

.card-dark:hover {
  border-color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #0f172a;
  overflow: hidden;
}

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

.card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: inherit;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card-desc {
  color: var(--color-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.6;
}

.card-dark .card-desc {
  color: #94a3b8;
}

.spec-list {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.card-dark .spec-list {
  border-top-color: var(--color-border-dark);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px dashed #edf2f7;
  gap: 8px;
}

.card-dark .spec-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.spec-label {
  color: var(--color-muted);
}

.card-dark .spec-label {
  color: #94a3b8;
}

.spec-val {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

.card-dark .spec-val {
  color: #ffffff;
}

/* Questionnaire & Interactive Form Boxes */
.estimator-box {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-xl);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: #0f172a;
  transition: var(--transition);
  box-sizing: border-box;
  max-width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Custom interactive Option Pills */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 8px;
  width: 100%;
}

.choice-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  cursor: pointer;
  background: #ffffff;
  transition: var(--transition);
  user-select: none;
  min-width: 0;
  box-sizing: border-box;
}

.choice-pill input[type="radio"],
.choice-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice-pill:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.choice-pill.selected,
.choice-pill:has(input:checked) {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.choice-pill.selected .choice-icon,
.choice-pill:has(input:checked) .choice-icon {
  fill: #ffffff;
}

.choice-pill.selected .choice-sub,
.choice-pill:has(input:checked) .choice-sub {
  color: #cbd5e1;
}

.choice-title {
  font-weight: 700;
  font-size: 0.9rem;
  word-break: break-word;
}

.choice-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.25;
}

/* Field for "Autre" */
.custom-input-wrap {
  margin-top: 10px;
  display: none;
  animation: fadeIn 0.3s ease;
  width: 100%;
}

.custom-input-wrap.visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step Indicator */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-right: 8px;
}

/* Accordion FAQs */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.faq-item:hover {
  border-color: #000000;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  touch-action: manipulation;
  gap: 12px;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 20px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  background: #fff;
  margin: 20px 0;
  box-sizing: border-box;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.comparison-table tr:hover td {
  background-color: #f8fafc;
}

/* Call to Action Bar */
.cta-banner {
  background: linear-gradient(135deg, #000000 0%, #1e293b 100%);
  color: #ffffff;
  padding: 44px 30px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  box-sizing: border-box;
}

.cta-banner-content h3 {
  font-size: 1.85rem;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.cta-banner-content p {
  color: #94a3b8;
  font-size: 1.02rem;
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid #1e293b;
  width: 100%;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 46px;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 999;
  background-color: #25D366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  touch-action: manipulation;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* Page Header Titles (Fluid on all devices) */
.page-header-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 12px 0 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #ffffff;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVE (100% ZÉRO DÉBORDEMENT SUR MOBILE)
   ========================================================================== */

/* Écrans intermédiaires / Laptops & Tablettes horizontales (max-width: 1080px) */
@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 18px;
    box-shadow: var(--shadow-xl);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .mobile-toggle { 
    display: flex; 
    align-items: center;
    justify-content: center;
  }
  
  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero-title { font-size: 2.2rem; }
}

/* MOBILES & PETITS ÉCRANS (Galaxy A55, iPhone SE, etc. : max-width: 768px) */
@media (max-width: 768px) {
  .topbar { display: none; }
  
  .container {
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
    max-width: 100%;
  }

  .navbar-inner {
    height: 64px;
  }
  
  .brand-logo img {
    height: 36px;
  }
  
  .nav-menu {
    top: 64px;
    height: calc(100vh - 64px);
    padding: 20px 16px;
    gap: 12px;
  }
  
  .page-header-title {
    font-size: clamp(1.45rem, 6.4vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin: 8px 0 12px !important;
  }
  
  /* Hero Mobile */
  .hero {
    padding: 36px 0 44px;
    width: 100%;
  }
  
  .hero-tag {
    font-size: 0.72rem;
    padding: 5px 10px;
    gap: 6px;
    line-height: 1.3;
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    margin-bottom: 14px;
  }
  
  .hero-title { 
    font-size: clamp(1.45rem, 6.4vw, 1.85rem); 
    line-height: 1.22;
    letter-spacing: -0.01em;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 14px;
  }

  .hero-title span.highlight {
    display: inline;
    border-bottom: 2px solid #ffffff;
    white-space: normal;
  }
  
  .hero-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 22px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 26px;
  }
  
  .hero-cta .btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 13px 14px;
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    padding-top: 16px;
  }
  
  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
  }
  
  .trust-number {
    font-size: 1.25rem;
    line-height: 1.1;
  }
  
  .trust-label {
    font-size: 0.65rem;
    line-height: 1.2;
    letter-spacing: 0;
    word-break: break-word;
  }
  
  /* Hero Card Form Mobile */
  .hero-card {
    padding: 18px 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-card-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .hero-card-title {
    font-size: 0.95rem;
  }

  .hero-card .form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .hero-card .btn {
    padding: 11px 12px;
    font-size: 0.85rem;
    white-space: normal;
  }
  
  .estimator-box {
    padding: 22px 14px;
  }
  
  .section {
    padding: 45px 0;
  }
  
  .section-title { 
    font-size: 1.6rem; 
    line-height: 1.25;
  }
  
  .section-header {
    margin-bottom: 28px;
  }
  
  .choice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .choice-pill {
    padding: 10px 6px;
  }
  
  .cta-banner {
    padding: 30px 16px;
    border-radius: var(--radius-md);
  }
  
  .cta-banner-content h3 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .cta-banner-content p {
    font-size: 0.92rem;
  }
  
  .footer-top { 
    grid-template-columns: 1fr; 
    gap: 28px;
  }
  
  .card-img-wrapper {
    height: 185px;
  }
  
  .floating-whatsapp {
    bottom: 16px;
    right: 14px;
    width: 50px;
    height: 50px;
  }
  
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* Très petits écrans (< 360px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.45rem;
  }
  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-item {
    align-items: flex-start;
    text-align: left;
  }
}
