/* =========================================================
   iSysteme — Design tokens
   ========================================================= */
:root {
  /* Couleurs */
  --navy: #0F172A;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #EFF4FF;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --success: #16A34A;

  /* Typographie */
  --font-display: "General Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rythme */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --container: 1140px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
p { margin: 0 0 16px; color: var(--gray-600); }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@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;
  }
}

/* =========================================================
   Layout utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 0px 0; }
.section--muted { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: var(--gray-400); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold); }
.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--gray-200); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-mobile-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 32px;
    gap: 0;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-links a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 16.5px;
    text-align: center;
  }
  .nav-links .nav-mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    border-bottom: none;
    color: var(--white);
  }
  .nav-toggle { display: block; }
  .nav-actions .btn-secondary { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: #92650A;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  margin-bottom: 20px;
}
.hero h1 .price-highlight { color: var(--blue); }
.hero-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.badge-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.badge-check svg { flex-shrink: 0; color: var(--success); }

.hero-visual { position: relative; }
.browser-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); }
.browser-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 10px;
  flex: 1;
}
.browser-body {
  padding: 28px;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 55%);
}
.mock-site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.mock-logo { font-weight: 700; font-size: 14px; color: var(--navy); }
.mock-nav { display: flex; gap: 14px; }
.mock-pill { width: 40px; height: 8px; border-radius: 4px; background: var(--gray-200); }
.mock-hero-title { width: 78%; height: 16px; border-radius: 4px; background: var(--navy); margin-bottom: 10px; }
.mock-hero-line { width: 55%; height: 10px; border-radius: 4px; background: var(--gray-200); margin-bottom: 22px; }
.mock-btn { width: 120px; height: 30px; border-radius: 6px; background: var(--blue); margin-bottom: 26px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card { height: 64px; border-radius: 8px; background: var(--white); border: 1px solid var(--gray-200); }

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  padding: 10px 16px 10px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.floating-chip .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-light); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.floating-chip--time { top: -18px; right: 18px; }
.floating-chip--support { bottom: -16px; left: -10px; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(22,163,74,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .floating-chip--support { display: none; }
}

/* =========================================================
   Benefit cards ("Pourquoi choisir iSysteme ?")
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.benefit-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-card h3 { font-size: 16px; margin-bottom: 6px; }
.benefit-card p { font-size: 14px; margin-bottom: 0; }

@media (max-width: 980px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Steps ("Comment ça marche")
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step { position: relative; padding-left: 4px; }
.step-index {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; }
.step p { font-size: 15px; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--navy); margin: 0; }
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.person-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.person-role { font-size: 13px; color: var(--gray-500); }

@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* =========================================================
   Pricing
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.price-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.price-badge {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-value { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price-value .amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--navy); }
.price-value .period { color: var(--gray-500); font-size: 15px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--navy); }
.price-features svg { flex-shrink: 0; margin-top: 2px; color: var(--success); }
.price-card .btn { width: 100%; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card--featured { transform: none; }
}

/* =========================================================
   Guarantee strip
   ========================================================= */
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid #DCE7FF;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-top: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.guarantee svg { flex-shrink: 0; color: var(--blue); }

/* =========================================================
   Audience ("Pour qui ?")
   ========================================================= */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.audience-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.audience-tag svg { color: var(--blue); flex-shrink: 0; }

/* =========================================================
   Refonte CTA (bandeau)
   ========================================================= */
.refonte-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.refonte-cta h2 { font-size: 24px; margin-bottom: 8px; }
.refonte-cta p { margin-bottom: 0; }
.refonte-cta .btn { white-space: nowrap; }

@media (max-width: 760px) {
  .refonte-cta { grid-template-columns: 1fr; text-align: center; padding: 32px 26px; }
}

/* =========================================================
   WhatsApp flottant
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { color: var(--white); }

/* =========================================================
   Portfolio ("Réalisations")
   ========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-thumb {
  padding: 22px;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 60%);
  border-bottom: 1px solid var(--gray-200);
}
.portfolio-thumb .mock-site-header { margin-bottom: 16px; }
.portfolio-thumb .mock-hero-title { width: 70%; height: 12px; margin-bottom: 8px; }
.portfolio-thumb .mock-hero-line { width: 45%; height: 8px; margin-bottom: 16px; }
.portfolio-thumb .mock-cards { grid-template-columns: repeat(3, 1fr); }
.portfolio-thumb .mock-card { height: 40px; }
.portfolio-body { padding: 22px 24px; }
.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.portfolio-body h3 { font-size: 17px; margin-bottom: 6px; }
.portfolio-body p { font-size: 14px; margin-bottom: 0; }

@media (max-width: 980px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--gray-600); }

/* =========================================================
   CTA final
   ========================================================= */
.cta-final {
  text-align: center;
  padding: 88px 0;
}
.cta-final h2 { color: var(--white); margin-bottom: 14px; }
.cta-final p { max-width: 520px; margin: 0 auto 32px; }
.cta-final .hero-cta { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 56px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { max-width: 280px; font-size: 14px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--gray-400); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-payments-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-right: 4px;
}
.footer-payments img { height: 22px; width: auto; display: block; }
.footer-payments .footer-payment-icann img { height: 30px; }

@media (max-width: 700px) {
  .footer-grid, .footer-bottom { flex-direction: column; }
}

/* =========================================================
   Formulaire de contact
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-info-card h3 { color: var(--white); font-size: 19px; }
.contact-info-card p { color: var(--gray-400); font-size: 14.5px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  font-size: 14.5px;
}
.contact-info-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item a, .contact-info-item span { color: var(--white); }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy);
  background: var(--gray-50);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy);
  background-color: var(--gray-50);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background-color: var(--white);
}

.form-radio-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.form-radio-option {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-radio-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}
.form-radio-option input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  margin: 0;
  flex-shrink: 0;
}

/* Compense la hauteur du header sticky lors d'un lien d'ancrage (#devis-form) */
#devis-form { scroll-margin-top: 96px; }
.form-honeypot { position: absolute; left: -9999px; top: -9999px; }

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
.form-alert--success { background: #DCFCE7; color: #15803D; }
.form-alert--error { background: #FEE2E2; color: #B91C1C; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
.page-hero {
  padding: 20px 0 0px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 17px; }

/* =========================================================
   PORTFOLIO — Réalisations (avec vraies captures)
   ========================================================= */

/* --- Grille --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 620px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Carte --- */
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* --- Vignette avec la capture d'écran --- */
.portfolio-thumb {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 600 / 342; /* correspond exactement à 600×342px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
  background: var(--gray-100);
}

.portfolio-card:hover .portfolio-screenshot {
  transform: scale(1.04);
}

/* --- Fallback si l'image est absente --- */
.screenshot-fallback {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.screenshot-fallback:hover {
  background: linear-gradient(135deg, var(--gray-200) 0%, #c0c9d6 100%);
}

.screenshot-fallback span {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.screenshot-fallback strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.2rem;
  color: var(--navy);
}

/* --- Corps de la carte --- */
.portfolio-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.portfolio-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--navy);
  font-family: var(--font-display);
}

.portfolio-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0 0 18px 0;
  flex: 1;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
  margin-top: auto;
  align-self: flex-start;
}

.portfolio-link:hover {
  color: var(--blue-dark);
  gap: 14px;
}

/* --- Effet de chargement subtil (shimmer) --- */
.portfolio-screenshot {
  background: var(--gray-100);
  background-image: linear-gradient(
    90deg,
    var(--gray-100) 25%,
    var(--gray-200) 50%,
    var(--gray-100) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 44px;  /* Header - agrandi */
  width: auto;
  display: block;
}

/* Footer - taille conservée */
.site-footer .logo img {
  height: 36px;
}

/* Ajustement mobile */
@media (max-width: 900px) {
  .logo img {
    height: 36px; /* Réduit sur mobile pour ne pas prendre trop de place */
  }
}