/* ============ ACI SOLUTIONS — STYLES FICHES PRODUIT ============ */
:root {
  --nuit: #1A1820; --anthracite: #4A4856; --ivoire: #FAF9F7; --ivoire-pur: #FFFFFF;
  --sable: #E8E3DC; --sable-clair: #F2EDE5; --pierre: #9A9590;
  --rouge: #D93A2B; --rouge-dark: #B82E20; --rouge-pale: #FDF0EE;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: 'DM Sans', sans-serif; background: var(--ivoire); color: var(--nuit); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; width: 100%; max-width: 100vw; }
body.menu-open { overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.12 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; width: 100%; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; width: 100%; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; background: rgba(250, 249, 247, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--sable); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nuit); flex-shrink: 0; }
.logo-mark { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.logo-bar { width: 24px; height: 3px; background: var(--nuit); }
.logo-bar.accent { background: var(--rouge); width: 17px; }
.logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 0.02em; white-space: nowrap; }
.logo-text .accent-word { color: var(--rouge); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--nuit); font-size: 14px; font-weight: 500; position: relative; transition: color 0.2s; }
.nav-links a:hover { color: var(--rouge); }
.nav-cta { padding: 10px 18px; background: var(--rouge); color: var(--ivoire) !important; border-radius: 2px; transition: background 0.2s; }
.nav-cta:hover { background: var(--rouge-dark); }
.back-link { font-size: 13px; color: var(--anthracite); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.back-link:hover { color: var(--rouge); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0; z-index: 10001; position: relative; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--nuit); margin: 5px 0; }

/* DRAWER MOBILE (commun) */
.menu-overlay { position: fixed; inset: 0; background: rgba(26, 24, 32, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer { display: flex; position: fixed; top: 0; right: 0; width: 320px; max-width: 85vw; height: 100vh; height: 100dvh; background: var(--ivoire); z-index: 9999; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1); box-shadow: -4px 0 24px rgba(26, 24, 32, 0.08); flex-direction: column; visibility: hidden; }
.mobile-drawer.active { transform: translateX(0); visibility: visible; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--sable); flex-shrink: 0; }
.drawer-close { background: none; border: none; cursor: pointer; padding: 8px; color: var(--nuit); }
.drawer-close svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; padding: 32px 28px; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 24px; }
.drawer-links { list-style: none; margin-bottom: 32px; }
.drawer-links li { border-bottom: 1px solid var(--sable); }
.drawer-links li:last-child { border-bottom: none; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; text-decoration: none; color: var(--nuit); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.drawer-links a::after { content: "→"; font-family: 'DM Sans', sans-serif; font-size: 18px; color: var(--rouge); }
.drawer-cta { display: block; background: var(--rouge); color: var(--ivoire); text-decoration: none; text-align: center; padding: 16px; font-weight: 500; font-size: 15px; border-radius: 2px; margin-top: auto; }
.drawer-footer { padding: 20px 28px; border-top: 1px solid var(--sable); font-size: 12px; color: var(--pierre); flex-shrink: 0; }
.drawer-footer a { color: var(--pierre); text-decoration: none; }

/* PRODUCT HERO */
.product-hero { padding: 140px 0 80px; position: relative; background: radial-gradient(circle at 90% 10%, var(--rouge-pale) 0%, transparent 50%), radial-gradient(circle at 10% 90%, var(--sable-clair) 0%, transparent 55%), var(--ivoire); }
.product-hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 60px; align-items: end; }
.product-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 20px; }
.product-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--rouge); }
.product-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 16px; }
.product-tagline { font-style: italic; font-weight: 300; font-size: clamp(18px, 2.2vw, 26px); color: var(--rouge); margin-bottom: 28px; line-height: 1.3; }
.product-pitch { font-size: clamp(16px, 1.8vw, 19px); color: var(--anthracite); max-width: 640px; margin-bottom: 36px; line-height: 1.55; }
.product-status-large { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; padding: 8px 14px; border-radius: 2px; margin-bottom: 24px; }
.status-live { background: var(--rouge); color: var(--ivoire); }
.status-dev { background: var(--sable); color: var(--anthracite); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-live .status-dot { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.product-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 2px; transition: all 0.3s ease; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--rouge); color: var(--ivoire); }
.btn-primary:hover { background: var(--rouge-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--nuit); border-color: var(--nuit); }
.btn-ghost:hover { background: var(--nuit); color: var(--ivoire); }
.btn svg { width: 16px; height: 16px; }

.product-aside { background: var(--ivoire-pur); padding: 28px; border: 1px solid var(--sable); border-left: 3px solid var(--rouge); }
.product-aside-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 14px; }
.product-aside-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 12px; line-height: 1.3; }
.product-aside-text { font-style: italic; font-weight: 300; font-size: 14.5px; color: var(--anthracite); line-height: 1.55; }
.product-aside-author { margin-top: 14px; font-size: 12px; color: var(--pierre); font-style: normal; }

/* SECTIONS GENERIQUES */
section.product-section { padding: 90px 0; }
.product-section.alt-bg { background: var(--sable-clair); }
.product-section.dark-bg { background: var(--nuit); color: var(--ivoire); }
.product-section.dark-bg p, .product-section.dark-bg li { color: var(--sable); }
.section-eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.section-eyebrow::before { content: "—"; color: var(--rouge); }
.section-h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 28px; max-width: 900px; }
.section-h2 .italic { font-family: 'DM Sans', sans-serif; font-style: italic; font-weight: 300; color: var(--rouge); }
.section-lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--anthracite); max-width: 720px; line-height: 1.6; margin-bottom: 48px; }
.product-section.dark-bg .section-lead { color: var(--sable); }

/* TEMOIGNAGE / CONSTAT */
.testimonial-block { background: var(--ivoire-pur); padding: 48px 44px; border-left: 4px solid var(--rouge); margin: 48px 0; position: relative; box-shadow: 0 8px 32px -16px rgba(26, 24, 32, 0.1); }
.testimonial-quote { font-family: 'Syne', sans-serif; font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -0.01em; color: var(--nuit); margin-bottom: 20px; }
.testimonial-quote::before { content: "« "; color: var(--rouge); font-weight: 800; }
.testimonial-quote::after { content: " »"; color: var(--rouge); font-weight: 800; }
.testimonial-author { font-size: 13px; color: var(--anthracite); font-weight: 600; letter-spacing: 0.05em; }
.testimonial-author-role { color: var(--pierre); font-weight: 400; }

/* GRILLE PROBLEMES (4 cases) */
.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.problem-card { background: var(--ivoire-pur); padding: 32px 28px; border-top: 3px solid var(--rouge); transition: transform 0.3s ease; }
.problem-card:hover { transform: translateY(-3px); }
.problem-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 19px; margin-bottom: 12px; line-height: 1.3; color: var(--nuit); }
.problem-card p { font-size: 14.5px; color: var(--anthracite); line-height: 1.6; }

/* GRILLE FONCTIONNALITES (6 cases) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-card { background: var(--ivoire-pur); padding: 28px 24px; border: 1px solid var(--sable); transition: all 0.3s ease; }
.feature-card:hover { border-color: var(--rouge); transform: translateY(-3px); box-shadow: 0 12px 32px -16px rgba(217, 58, 43, 0.2); }
.feature-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 12px; color: var(--rouge); margin-bottom: 12px; letter-spacing: 0.1em; }
.feature-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 10px; line-height: 1.3; color: var(--nuit); }
.feature-card p { font-size: 13.5px; color: var(--anthracite); line-height: 1.6; }

/* TABLEAU COMPARATIF */
.comparison-wrap { overflow-x: auto; margin-top: 40px; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 580px; background: var(--ivoire-pur); }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid var(--sable); text-align: left; font-size: 14.5px; }
.comparison-table thead th { background: var(--nuit); color: var(--ivoire); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; }
.comparison-table thead th:last-child { background: var(--rouge); }
.comparison-table tbody td:first-child { font-weight: 600; color: var(--nuit); }
.comparison-table tbody td:nth-child(2) { color: var(--pierre); }
.comparison-table tbody td:last-child { color: var(--rouge); font-weight: 600; }
.comparison-table tbody tr:hover { background: var(--sable-clair); }

/* POUR QUI */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.audience-card { padding: 24px 22px; background: var(--ivoire-pur); border: 1px solid var(--sable); }
.audience-card-icon { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: var(--rouge); margin-bottom: 10px; }
.audience-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 8px; color: var(--nuit); }
.audience-card p { font-size: 13.5px; color: var(--anthracite); line-height: 1.55; }

/* OFFRE / CTA FINAL */
.offer-block { background: var(--nuit); color: var(--ivoire); padding: 64px 56px; margin-top: 32px; position: relative; overflow: hidden; }
.offer-block::before { content: ""; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: radial-gradient(circle, var(--rouge) 0%, transparent 70%); opacity: 0.2; }
.offer-eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 16px; }
.offer-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin-bottom: 24px; max-width: 720px; }
.offer-text { font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; max-width: 680px; margin-bottom: 32px; color: var(--sable); }
.offer-features { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; }
.offer-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ivoire); }
.offer-feature::before { content: "✓"; color: var(--rouge); font-weight: 800; font-size: 18px; }
.offer-block .btn-primary { background: var(--rouge); }
.offer-block .btn-primary:hover { background: var(--rouge-dark); }
.offer-block .btn-ghost { color: var(--ivoire); border-color: var(--ivoire); }
.offer-block .btn-ghost:hover { background: var(--ivoire); color: var(--nuit); }

/* PRODUITS LIES */
.related-products { padding: 80px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.related-card { background: var(--ivoire-pur); padding: 28px 24px; border: 1px solid var(--sable); text-decoration: none; color: var(--nuit); transition: all 0.3s ease; display: flex; flex-direction: column; }
.related-card:hover { border-color: var(--rouge); transform: translateY(-3px); box-shadow: 0 12px 32px -16px rgba(217, 58, 43, 0.15); }
.related-card-status { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; color: var(--rouge); margin-bottom: 10px; }
.related-card h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 6px; line-height: 1.1; }
.related-card-tagline { font-style: italic; font-weight: 300; font-size: 13.5px; color: var(--rouge); margin-bottom: 16px; line-height: 1.4; }
.related-card-link { margin-top: auto; font-size: 13px; font-weight: 500; color: var(--nuit); display: inline-flex; align-items: center; gap: 6px; }
.related-card:hover .related-card-link { color: var(--rouge); }

/* FOOTER */
footer { background: var(--ivoire); color: var(--anthracite); padding: 64px 0 28px; border-top: 1px solid var(--sable); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--anthracite); max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--nuit); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--anthracite); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--rouge); }
.footer-bottom { border-top: 1px solid var(--sable); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--pierre); flex-wrap: wrap; gap: 16px; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--pierre); text-decoration: none; }
.footer-bottom a:hover { color: var(--rouge); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .product-hero { padding: 110px 0 60px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .problems-grid { grid-template-columns: 1fr; gap: 14px; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .audience-grid { grid-template-columns: 1fr; gap: 14px; }
  .related-grid { grid-template-columns: 1fr; gap: 14px; }
  .offer-block { padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section.product-section { padding: 64px 0; }
  .testimonial-block { padding: 36px 32px; }
}
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 20px; max-width: 100%; }
  nav { padding: 14px 0; }
  .product-hero { padding: 96px 0 50px; }
  .product-title {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.08;
    word-break: keep-all;
    overflow-wrap: normal;
    -webkit-hyphens: none;
    hyphens: none;
  }
  .product-tagline { font-size: 17px; margin-bottom: 22px; word-break: normal; }
  .product-pitch { font-size: 14.5px; word-break: normal; overflow-wrap: break-word; }
  .product-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 16px 20px; }
  .product-aside { padding: 22px; }
  section.product-section { padding: 56px 0; }
  .section-h2 {
    font-size: clamp(22px, 7vw, 30px);
    margin-bottom: 22px;
    word-break: keep-all;
    overflow-wrap: normal;
    -webkit-hyphens: none;
    hyphens: none;
  }
  .section-lead { font-size: 14.5px; margin-bottom: 32px; word-break: normal; overflow-wrap: break-word; }
  .testimonial-block { padding: 28px 24px; margin: 32px 0; }
  .testimonial-quote { font-size: 18px; word-break: normal; }
  .problem-card, .feature-card, .audience-card, .related-card { padding: 24px 20px; }
  .problem-card h3, .feature-card h3, .audience-card h4 { word-break: normal; }
  .offer-block { padding: 36px 24px; }
  .offer-title { word-break: normal; }
  .offer-features { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-bottom { padding-top: 22px; gap: 12px; font-size: 11.5px; }
}
@media (max-width: 375px) {
  .container, .container-narrow { padding: 0 18px; max-width: 100%; }
  .product-title { font-size: 26px; }
}
@media (max-width: 340px) {
  .container, .container-narrow { padding: 0 14px; max-width: 100%; }
  .product-title { font-size: 23px; }
}
