/* ==========================================================================
   PIRABI SOFT — STYLESHEET OFFICIEL 2026
   Style : Premium SaaS, Minimaliste, High-Performance
   ========================================================================== */

/* --- Variables de Style --- */
:root {
  /* Nuancier officiel inspiré du logo */
  --primary: #047857;         /* Vert émeraude profond */
  --primary-hover: #065f46;
  --primary-light: #ecfdf5;
  --secondary: #0f172a;       /* Bleu marine profond */
  --accent-electric: #2563eb; /* Bleu électrique subtil */
  
  /* Surfaces & Fonds */
  --background: #fafafb;      /* Blanc cassé premium */
  --surface: #ffffff;
  --surface-subtle: #f4f5f7;
  --surface-border: #e4e7ec;
  
  /* Typographie */
  --text-main: #0f172a;       /* Presque noir */
  --text-muted: #64748b;      /* Gris d'accompagnement */
  --text-inverse: #ffffff;

  /* Polices */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Ombres */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  --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;
  background-color: var(--background);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

/* --- Typographie --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

/* --- Layouts réutilisables --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 840px;
}

.section {
  padding: 6rem 0;
}

.bg-subtle {
  background-color: var(--surface-subtle);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* --- Badges & Titres de Sections --- */
.section-head {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Boutons Premium --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.25);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

/* ================= 1. NAVBAR ================= */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 250, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar-wrapper.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--surface-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* --- Style du Logo PNG --- */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 38px;          /* Hauteur idéale pour le header de 72px */
  width: auto;           /* Préserve les proportions de l'image */
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.02);
}

/* Ajustement spécifique au Footer */
.footer-logo .site-logo-img {
  height: 34px;
  filter: brightness(0.95); /* Assure un contraste parfait avec le footer */
}

/* Ajustement mobile */
@media (max-width: 768px) {
  .site-logo-img {
    height: 32px;        /* Réduction subtile pour les petits écrans */
  }
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--secondary);
}

.brand-text span {
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* ================= 2. HERO ================= */
.hero-section {
  padding: 5rem 0 6rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: #ffffff;
  border: 1px solid var(--surface-border);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(4, 120, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-reassurance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* UI Preview Mockup Hero */
.tech-card-preview {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.card-browser-bar {
  background: #f1f5f9;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--surface-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-address {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.75rem;
}

.card-content-grid {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.code-box {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.token-k { color: #f43f5e; }
.token-p { color: #38bdf8; }
.token-s { color: #34d399; }
.token-b { color: #fbbf24; }
.ind { padding-left: 1.25rem; }

.status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.status-indicator.live {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.status-item p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.status-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ================= 3. TRUST SECTION ================= */
.trust-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

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

.trust-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.num-step {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--secondary);
}

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

/* ================= 4. SERVICES ================= */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-card-highlight {
  border-color: var(--primary);
  background: #ffffff;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-index {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ================= 5. TIMELINE PROCESS ================= */
.timeline-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.timeline-step {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ================= 6. WHY PIRABI SOFT ================= */
.why-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.why-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--secondary);
}

.why-item p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ================= 7. PORTFOLIO ================= */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.portfolio-thumb {
  background: #f1f5f9;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.project-mockup {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-bar {
  height: 16px;
  background: #e2e8f0;
  width: 100%;
}

.mockup-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

.mock-line {
  height: 10px;
  background: #e2e8f0;
  border-radius: 4px;
  width: 70%;
}

.mock-line.short { width: 40%; }

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mock-box {
  height: 50px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
}

.mock-button-rect {
  width: 90px;
  height: 24px;
  background: var(--primary);
  border-radius: 4px;
}

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-row {
  height: 14px;
  background: #f1f5f9;
  border-radius: 3px;
}

.portfolio-details {
  padding: 1.75rem;
}

.portfolio-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.portfolio-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-details p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ================= 8. PRICING ================= */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.price-header {
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.price-header h3 {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price-val {
  font-size: 1.15rem;
  font-weight: 600;
}

.price-val span {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.925rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================= 9. TECHNOLOGIES ================= */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tech-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ================= 10. ABOUT ================= */
.about-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ================= 11. FAQ ================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  padding-bottom: 1.25rem;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================= 12. FINAL CTA & FORM ================= */
.final-cta-section {
  background: #090e17; /* Sombre premium */
  color: var(--text-inverse);
  padding: 6.5rem 0;
}

.cta-box-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-sub {
  color: #94a3b8;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.direct-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 3.5rem;
}

.direct-mail {
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px dotted #94a3b8;
}

.direct-mail:hover {
  color: #10b981;
}

.response-badge {
  color: #34d399;
}

/* Formulaire B2B */
.contact-form {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.form-checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--primary);
}

.form-checkbox label {
  font-size: 0.825rem;
  color: #94a3b8;
  line-height: 1.4;
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* ================= 13. FOOTER ================= */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--surface-border);
  padding: 5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-location {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-email a {
  font-weight: 600;
  color: var(--text-main);
}

.footer-nda-notice {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Sticky Mobile CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--surface-border);
  z-index: 99;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  /* 2 colonnes confortables sur tablette */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
	 /* Aligner la trust-grid en 1 colonne comme le reste des sections */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-card {
    padding: 1.75rem 1.5rem;
  }

  .trust-section {
    padding: 3.5rem 0;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--surface-border);
    padding: 2rem 1.5rem;
    display: none;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .timeline-container {
    grid-template-columns: 1fr;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 60px; /* Espace pour le sticky bar */
  }
}

/* Accessibilité: Respect de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* --- Bouton d'envoi WhatsApp du Formulaire --- */
.btn-whatsapp {
  background-color: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 1rem 1.75rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
  transition: var(--transition);
}

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

/* --- Bouton Flottant WhatsApp Fixe --- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
  z-index: 999;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 80px; /* Évite de masquer la barre d'action mobile */
    right: 16px;
    width: 50px;
    height: 50px;
  }
}