/* ═══════════════════════════════════════════════════════════
   style.css — Synalit — Feuille de styles commune
   Toutes les pages du site partagent ces règles.
   ═══════════════════════════════════════════════════════════ */


/* ─── EMOJI (Twemoji) ───────────────────────────────────── */
img.emoji { height: 1em; width: 1em; margin: 0 .05em 0 .1em; vertical-align: -0.1em; display: inline-block; }


/* ─── BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, span, a, button, input, textarea, select, label {
  font-family: 'Inter', sans-serif;
}
body { background: #fff; color: #111827; -webkit-font-smoothing: antialiased; }


/* ─── PROGRESS BAR ──────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #007BFF, #2ECC71);
  z-index: 9999; transition: width .1s linear;
}


/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; transition: background .35s, box-shadow .35s;
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.07);
}

/* Variante pour mentions-légales & politique-confidentialité
   (ID nav#navbar sans progress-bar séparé) */
nav#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: box-shadow .3s, background .3s; }
nav#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }


/* ─── NAV LINKS ──────────────────────────────────────────── */
.nav-link {
  position: relative; font-weight: 500; color: #374151;
  transition: color .25s; text-decoration: none; font-size: .95rem;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #007BFF, #2ECC71);
  transition: width .3s ease;
}
.nav-link:hover { color: #007BFF; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #007BFF; }
.nav-link.active::after { width: 100%; }


/* ─── BOUTONS ────────────────────────────────────────────── */
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  background: #007BFF; color: #fff;
  cursor: pointer; border: none;
  transition: background .2s, transform .2s;
  text-decoration: none; font-family: 'Inter', sans-serif;
}
.btn-blue:hover { background: #0062CC; transform: translateY(-1px); }

.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, #2ECC71, #1a9e52); color: #fff;
  cursor: pointer; border: none;
  box-shadow: 0 8px 28px rgba(46,204,113,.38);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; font-family: 'Inter', sans-serif;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(46,204,113,.5); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid #E5E7EB; color: #374151;
  transition: border-color .25s, color .25s, background .25s;
  text-decoration: none; font-family: 'Inter', sans-serif;
}
.btn-outline:hover { border-color: #007BFF; color: #007BFF; background: rgba(0,123,255,.04); }


/* ─── HERO ACCENT (dégradé texte) ───────────────────────── */
.hero-accent {
  background: linear-gradient(120deg, #007BFF 0%, #2ECC71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ─── PILLS ──────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.pill-blue  { background: #EFF6FF; color: #1D4ED8; }
.pill-green { background: #F0FDF4; color: #15803D; }


/* ─── ANIMATIONS FADE-IN (.fi) ───────────────────────────── */
.fi { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fi.show { opacity: 1; transform: none; }
.fi.d1 { transition-delay: .1s; }
.fi.d2 { transition-delay: .2s; }
.fi.d3 { transition-delay: .3s; }
.fi.d4 { transition-delay: .4s; }
.fi.d5 { transition-delay: .5s; }


/* ─── COULEURS FOND ──────────────────────────────────────── */
.bg-navy { background: #0B1D3E; }
.bg-ink  { background: #060E1E; }


/* ─── SERVICE CARDS (index & services) ──────────────────── */
.svc-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 14px;
  padding: 28px 24px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-card:hover { border-color: #007BFF; box-shadow: 0 8px 28px rgba(0,123,255,.07); transform: translateY(-3px); }
.svc-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }


/* ─── CHECK ITEMS (a-propos & services) ──────────────────── */
.check-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.check-dot {
  width: 20px; min-width: 20px; height: 20px; border-radius: 50%;
  background: #007BFF; display: flex; align-items: center; justify-content: center;
  margin-top: 2px; flex-shrink: 0;
}


/* ─── FAQ (index & services) ────────────────────────────── */
.faq-item   { border-bottom: 1px solid #F3F4F6; }
.faq-btn    { width: 100%; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; background: none; border: none; font-family: 'Inter', sans-serif; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer.open { max-height: 300px; }
.faq-icon   { transition: transform .35s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(180deg); }
.faq-card   { transition: border-color .25s, box-shadow .25s; padding-bottom: 3%; padding-top: 3%;}
.faq-card:hover { border-color: rgba(0,123,255,.3) !important; box-shadow: 0 6px 24px rgba(0,123,255,.1) !important; }


/* ─── ODOO IMAGE ─────────────────────────────────────────── */
.odoo-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 48px rgba(0,0,0,.10)); }


/* ─── LEGAL SECTIONS (mentions-légales & politique-confidentialité) */
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 {
  font-size: 1.15rem; font-weight: 700; color: #0B1D3E;
  margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid #E5E7EB;
}
.legal-section p, .legal-section li { color: #374151; line-height: 1.75; margin-bottom: .5rem; font-size: .95rem; }
.legal-section ul { list-style: disc; padding-left: 1.5rem; }
.legal-section table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: .75rem; }
.legal-section table th { background: #F9FAFB; font-weight: 600; color: #0B1D3E; text-align: left; padding: .6rem .9rem; border: 1px solid #E5E7EB; }
.legal-section table td { padding: .6rem .9rem; border: 1px solid #E5E7EB; color: #374151; vertical-align: top; }
.legal-section table tr:nth-child(even) td { background: #F9FAFB; }

/* placeholder highlight (mentions-légales) */
.placeholder { background: #FEF3C7; color: #92400E; padding: 1px 6px; border-radius: 4px; font-size: .85em; }

/* info-box (politique-confidentialité) */
.info-box { background: #EFF6FF; border-left: 4px solid #007BFF; border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 1rem 0; }
.info-box p { margin: 0; color: #1E40AF; font-size: .9rem; }


/* ─── SOCIAL LINKS (footer) ─────────────────────────────── */
.social-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: #9CA3AF; text-decoration: none; font-size: .875rem;
  transition: color .2s;
}
.social-link:hover { color: #fff; }
.social-link svg { flex-shrink: 0; }


/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding-top: 64px; padding-bottom: 64px; }
}


/* ════════════════════════════════════════════════════════════
   STYLES SPÉCIFIQUES PAR PAGE
   ════════════════════════════════════════════════════════════ */

/* ── index.html ── */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg,#007BFF,#2ECC71); z-index: 9999; transition: width .1s; }
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
#nav.scrolled { box-shadow: 0 1px 0 #E5E7EB; }

.efact-item {
  padding: 18px 20px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.odoo-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid #F3F4F6; }
.odoo-row:last-child { border-bottom: none; }
.odoo-dot { width: 8px; height: 8px; border-radius: 50%; background: #007BFF; flex-shrink: 0; margin-top: 5px; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
@keyframes sway {
  0%   { transform: translateY(0px) rotate(0deg); }
  30%  { transform: translateY(-10px) rotate(-1.5deg); }
  65%  { transform: translateY(-5px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%       { opacity: .6;  transform: scale(1.06); }
}
@keyframes glow-pulse-green {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%       { opacity: .55; transform: scale(1.08); }
}
@keyframes ring-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes logo-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: 1; } }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { animation: float 5s ease-in-out infinite; filter: drop-shadow(0 24px 48px rgba(0,123,255,.18)); }
.hero-img-wrap.sway img { animation: sway 8s ease-in-out infinite; filter: drop-shadow(0 24px 48px rgba(46,204,113,.15)); }
.hero-glow {
  position: absolute; bottom: -30px; left: 10%; right: 10%; height: 60px;
  background: radial-gradient(ellipse, rgba(0,123,255,.25) 0%, transparent 70%);
  animation: glow-pulse 5s ease-in-out infinite;
  pointer-events: none;
}
.hero-img-wrap.sway .hero-glow {
  background: radial-gradient(ellipse, rgba(46,204,113,.22) 0%, transparent 70%);
  animation: glow-pulse-green 8s ease-in-out infinite;
}
.logo-orbit { animation: ring-spin 22s linear infinite; }
.logo-breathe { animation: logo-breathe 3.5s ease-in-out infinite; }

.odoo-apps-wrap {
  display: flex; gap: 14px;
  transform: rotate(-3deg);
  padding: 32px 16px 56px;
  margin: 0 auto; width: fit-content;
}
.odoo-apps-col { display: flex; flex-direction: column; gap: 14px; }
.odoo-apps-col:nth-child(2) { transform: translateY(32px); }
.odoo-apps-col:nth-child(3) { transform: translateY(64px); }
.odoo-app-tile {
  display: block; width: 96px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease;
}
.odoo-app-tile:hover {
  transform: scale(1.12) rotate(3deg);
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
}
.odoo-app-tile img { width: 100%; height: auto; display: block; }


/* ── a-propos.html ── */
.person-card { border: 1.5px solid #E5E7EB; border-radius: 24px; padding: 40px 36px; transition: border-color .3s, box-shadow .3s; }
.person-card:hover { border-color: rgba(0,123,255,.25); box-shadow: 0 20px 60px rgba(0,0,0,.07); }
.avatar { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; margin-bottom: 20px; }
.value-card { border: 1.5px solid #E5E7EB; border-radius: 18px; padding: 28px 24px; transition: border-color .3s; }
.value-card:hover { border-color: rgba(0,123,255,.2); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.timeline-item { display: flex; gap: 20px; padding-bottom: 32px; position: relative; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: #E5E7EB; }
.timeline-dot { width: 40px; min-width: 40px; height: 40px; border-radius: 50%; border: 2px solid #007BFF; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; color: #007BFF; flex-shrink: 0; }


/* ── contact.html ── */
.form-input { width: 100%; padding: 14px 18px; border-radius: 10px; border: 1.5px solid #E5E7EB; font-family: 'Inter', sans-serif; font-size: .95rem; color: #111827; outline: none; transition: border-color .25s, box-shadow .25s; background: #fff; }
.form-input:focus { border-color: #007BFF; box-shadow: 0 0 0 3px rgba(0,123,255,.1); }
.form-input::placeholder { color: #9CA3AF; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
label.form-label { display: block; font-weight: 600; font-size: .875rem; color: #374151; margin-bottom: 6px; }
.info-card { border: 1.5px solid #E5E7EB; border-radius: 16px; padding: 28px 24px; transition: border-color .25s; }
.info-card:hover { border-color: rgba(0,123,255,.3); }
@media (max-width: 768px) { .hero-pad { padding-top: 100px; padding-bottom: 64px; } }


/* ── services.html ── */
.svc-card { border: 1.5px solid #E5E7EB; border-radius: 20px; padding: 36px 32px; transition: border-color .3s, box-shadow .3s; }
.svc-card:hover { border-color: rgba(0,123,255,.3); box-shadow: 0 16px 48px rgba(0,123,255,.07); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #F3F4F6; }
.step-row:last-child { border-bottom: none; }
.step-num { width: 36px; min-width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: rgba(0,123,255,.1); color: #007BFF; }


/* ── decouvrir-odoo.html ── */
.grad-text { background: linear-gradient(135deg,#007BFF 0%,#1abc9c 50%,#2ECC71 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-dark { background: linear-gradient(135deg,#0B1D3E 0%,#0e3460 60%,#0a3d2e 100%); }
.btn-green { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 1rem; background: linear-gradient(135deg,#2ECC71,#1a9e52); color: #fff; cursor: pointer; border: none; box-shadow: 0 8px 28px rgba(46,204,113,.38); transition: transform .25s, box-shadow .25s; }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(46,204,113,.5); }
.mod-card { border: 1.5px solid #f0f0f0; border-radius: 18px; padding: 28px 24px; transition: all .25s; cursor: default; }
.mod-card:hover { border-color: rgba(0,123,255,.25); box-shadow: 0 10px 30px rgba(0,123,255,.08); transform: translateY(-4px); }
.comp-table th { background: #f9fafb; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; padding: 14px 18px; }
.comp-table td { padding: 16px 18px; border-bottom: 1px solid #f3f4f6; font-size: .9rem; }
.comp-table tr:last-child td { border-bottom: none; }
.timeline-line { position: absolute; left: 24px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(to bottom,#007BFF,rgba(46,204,113,.3)); }
.hero-odoo { background: radial-gradient(ellipse 70% 70% at 90% 20%,rgba(46,204,113,.06) 0%,transparent 70%),radial-gradient(ellipse 50% 50% at 10% 80%,rgba(0,123,255,.06) 0%,transparent 70%),#fff; }
.industry-card { border: 1.5px solid #f0f0f0; border-radius: 18px; padding: 24px 20px; transition: all .25s; }
.industry-card:hover { border-color: rgba(0,123,255,.2); box-shadow: 0 8px 24px rgba(0,123,255,.07); transform: translateY(-3px); }
.cta-glow { position: relative; overflow: hidden; border-radius: 28px; }
.cta-glow::before { content: ''; position: absolute; top: -40%; right: -20%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle,rgba(46,204,113,.18) 0%,transparent 70%); }
.cta-glow::after { content: ''; position: absolute; bottom: -30%; left: -15%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle,rgba(0,123,255,.15) 0%,transparent 70%); }
.carousel-wrap { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: 20px; box-shadow: 0 24px 64px rgba(0,0,0,.13); }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.carousel-track img { min-width: 100%; width: 100%; height: auto; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,.14); transition: transform .2s, box-shadow .2s; z-index: 2; }
.carousel-btn:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-footer { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: #D1D5DB; border: none; cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.carousel-dot.active { background: #007BFF; transform: scale(1.3); }
.carousel-counter { font-size: .82rem; color: #9CA3AF; font-weight: 500; min-width: 36px; }
