* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a2e; background: #ffffff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #ffffff; border-bottom: 1px solid #e5e5e5; padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: #0ea5e9; }
.logo a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo-img { width: auto; display: block; }
header .main-nav a,
header nav a { margin-left: 25px; text-decoration: none; color: #64748b; font-weight: 500; font-size: 1.25rem !important; } /* 18px - menu navigation */
header .main-nav a:hover,
header nav a:hover { color: #0ea5e9; }

/* Bouton hamburger (masqué sur desktop) */
.hamburger-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: none; background: transparent; cursor: pointer; border-radius: 8px; transition: background 0.2s; }
.hamburger-btn:hover { background: #f1f5f9; }
.hamburger-btn span { display: block; width: 22px; height: 2px; background: #64748b; border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 80px 0; text-align: center; background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%); }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; color: #1a1a2e; }
.hero h1 span { color: #0ea5e9; }
.hero p { font-size: 20px; color: #64748b; max-width: 700px; margin: 0 auto 30px; }
.btn-primary { display: inline-block; background: #0ea5e9; color: white; padding: 15px 35px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: background 0.3s; }
.btn-primary:hover { background: #0284c7; }

/* Sections */
section { padding: 80px 0; }
section:nth-child(even) { background: #f8fafc; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title span { display: block; color: #0ea5e9; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.section-title h2 { font-size: 36px; font-weight: 700; color: #1a1a2e; }

/* Secteurs Grid */
.secteurs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.secteur-card { background: white; border: 1px solid #e5e5e5; border-radius: 12px; padding: 30px; text-align: center; transition: all 0.3s; }
.secteur-card:hover { border-color: #0ea5e9; box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1); }
.secteur-icon { width: 50px; height: 50px; background: #e0f2fe; border-radius: 10px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* Savoir-faire */
.savoir-faire-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.sf-card { background: white; border-radius: 16px; padding: 30px; border: 1px solid #e5e5e5; }
.sf-card h3 { color: #1a1a2e; font-size: 20px; margin-bottom: 15px; }
.sf-card p { color: #64748b; }

/* Bénéfices */
.benefices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.benefice-card { display: flex; gap: 15px; background: white; border-radius: 12px; padding: 25px; border: 1px solid #e5e5e5; }
.benefice-icon { flex-shrink: 0; width: 48px; height: 48px; background: #fef3c7; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.benefice-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.benefice-card p { font-size: 14px; color: #64748b; }

/* Solution Timeline */
.timeline { max-width: 800px; margin: 0 auto; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 30px; }
.timeline-number { flex-shrink: 0; width: 40px; height: 40px; background: #0ea5e9; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.timeline-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.timeline-content p { color: #64748b; }

/* Offre */
.offre-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 900px; margin: 0 auto 40px; }
.offre-card { background: white; border: 2px solid #e0f2fe; border-radius: 16px; padding: 35px; text-align: center; transition: all 0.3s; }
.offre-card:hover { border-color: #0ea5e9; }
.offre-card h3 { font-size: 18px; font-weight: 700; margin: 20px 0 10px; color: #1a1a2e; }
.offre-card p { color: #64748b; font-size: 14px; }
.cta-banner { background: #fef3c7; border-radius: 16px; padding: 40px; text-align: center; max-width: 900px; margin: 0 auto; }
.cta-banner h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; color: #1a1a2e; }
.cta-banner p { color: #64748b; }

/* Qui sommes-nous */
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-content p { color: #64748b; margin-bottom: 20px; font-size: 18px; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 15px; overflow: hidden; }
.faq-question { padding: 20px 25px; font-weight: 600; color: #1a1a2e; cursor: pointer; }
.faq-answer { padding: 0 25px 20px; color: #64748b; display: none; }
.faq-item.open .faq-answer { display: block; }

/* Contact Form */
.contact-form { max-width: 600px; margin: 0 auto; background: white; padding: 40px; border-radius: 16px; border: 1px solid #e5e5e5; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #1a1a2e; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 16px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #0ea5e9; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group-checkbox { margin-bottom: 24px; }
.form-group-checkbox .checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500; color: #1a1a2e; }
.form-group-checkbox .checkbox-label input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; accent-color: #0ea5e9; cursor: pointer; }
.form-group-checkbox .checkbox-label a { color: #0ea5e9; text-decoration: underline; }
.form-group-checkbox .checkbox-label a:hover { color: #0284c7; }
.form-hint { display: block; margin-top: 6px; font-size: 13px; color: #64748b; }
.form-submit { width: 100%; background: #0ea5e9; color: white; padding: 15px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.form-submit:hover { background: #0284c7; }

/* Footer */
footer { background: #1a1a2e; color: white; padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-section a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 10px; }
.footer-section a:hover { color: #0ea5e9; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 30px; text-align: center; color: #64748b; font-size: 14px; }

/* Page mentions légales */
.legal-page { padding: 60px 0 80px; }
.legal-page .page-title { text-align: center; margin-bottom: 50px; }
.legal-page .page-title h1 { font-size: 36px; font-weight: 700; color: #1a1a2e; }
.legal-page .page-title .legal-site-ref { font-size: 16px; color: #64748b; margin-top: 8px; }
.legal-content section { margin-bottom: 40px; }
.legal-content h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 15px; margin-top: 28px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 17px; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; margin-top: 24px; }
.legal-content ul { color: #64748b; line-height: 1.7; margin-bottom: 16px; padding-left: 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content .legal-intro { color: #64748b; margin-bottom: 32px; }
.legal-content p { color: #64748b; line-height: 1.7; margin-bottom: 12px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: #0ea5e9; text-decoration: none; }
.legal-table { width: 100%; max-width: 500px; border-collapse: collapse; margin: 16px 0; color: #64748b; }
.legal-table th, .legal-table td { border: 1px solid #e5e5e5; padding: 12px 16px; text-align: left; }
.legal-table th { background: #f8fafc; font-weight: 600; color: #1a1a2e; }
.legal-content a:hover { text-decoration: underline; }

/* Bannière de consentement des cookies */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid #334155;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-consent-banner.show { transform: translateY(0); }
.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-consent-text { flex: 1; min-width: 280px; }
.cookie-consent-text h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; color: #fff; }
.cookie-consent-text p { margin: 8px 0; color: #94a3b8; font-size: 14px; line-height: 1.6; }
.cookie-consent-links { margin-top: 8px; }
.cookie-consent-links a { color: #0ea5e9; text-decoration: none; font-size: 13px; }
.cookie-consent-links a:hover { color: #38bdf8; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-refuse, .cookie-btn-settings {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.cookie-btn-accept { background: #0ea5e9; color: white; }
.cookie-btn-accept:hover { background: #0284c7; }
.cookie-btn-refuse, .cookie-btn-settings {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid #475569;
}
.cookie-btn-refuse:hover, .cookie-btn-settings:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
/* Modal paramètres cookies */
.cookie-settings-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-settings-modal.show { opacity: 1; visibility: visible; }
.cookie-settings-content {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-settings-modal.show .cookie-settings-content { transform: scale(1); }
.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e5e5;
}
.cookie-settings-header h3 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #1a1a2e; }
.cookie-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}
.cookie-close:hover { background: #f1f5f9; color: #1a1a2e; }
.cookie-settings-body { padding: 24px; }
.cookie-settings-intro { color: #64748b; margin-bottom: 20px; line-height: 1.6; font-size: 14px; }
.cookie-categories { display: flex; flex-direction: column; gap: 16px; }
.cookie-category {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
  background: #f8fafc;
  transition: border-color 0.2s;
}
.cookie-category:hover { border-color: #0ea5e9; }
.cookie-category-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.cookie-category-label input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; }
.cookie-category-info { flex: 1; }
.cookie-category-info strong { display: block; color: #1a1a2e; margin-bottom: 4px; font-weight: 600; }
.cookie-required { color: #0ea5e9; font-size: 12px; font-weight: 400; margin-left: 6px; }
.cookie-category-info p { color: #64748b; font-size: 13px; line-height: 1.6; margin: 4px 0 0; }
.cookie-settings-footer {
  padding: 20px 24px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
}
.cookie-btn-save {
  padding: 12px 24px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}
.cookie-btn-save:hover { background: #0284c7; }
.manage-cookies-btn {
  background: none;
  border: none;
  color: #64748b;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  margin: 0;
  transition: color 0.2s;
}
.manage-cookies-btn:hover { color: #0ea5e9; }
.form-message { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 8px; font-size: 14px; }
.form-message.success { border: 1px solid rgba(14, 165, 233, 0.4); background: rgba(14, 165, 233, 0.08); color: #0284c7; }
.form-message.error { border: 1px solid rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.08); color: #b91c1c; }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  header .main-nav,
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 80px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  body.menu-open header .main-nav,
  body.menu-open header nav {
    opacity: 1;
    visibility: visible;
  }
  header .main-nav a,
  header nav a {
    margin: 0;
    padding: 16px 0;
    font-size: 1.25rem !important;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
  }
  header .main-nav a:last-child,
  header nav a:last-child { border-bottom: none; }
  body.menu-open { overflow: hidden; }
  header .logo .logo-img,
  header .logo img.logo-img {
    height: 100px !important;
    max-height: 100px !important;
    width: auto !important;
    object-fit: contain;
  }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .section-title h2 { font-size: 28px; }
  .cookie-consent-content { flex-direction: column; align-items: stretch; }
  .cookie-consent-actions { flex-direction: column; }
  .cookie-consent-actions button { width: 100%; }
  .cookie-settings-content { max-width: 100%; }
  .cookie-settings-header, .cookie-settings-body, .cookie-settings-footer { padding: 16px; }
}
