:root {
  --primary: #6B1E2A;
  --primary-dark: #4A1219;
  --primary-light: #8B2E3C;
  --accent: #C9A227;
  --accent-hover: #B8911F;
  --gold-soft: #E8D5A3;
  --bg: #FAF8F5;
  --bg-alt: #F3EEE8;
  --text: #1A1210;
  --gray: #6B5E58;
  --white: #FFFFFF;
  --border: #E5DDD4;
  --shadow: 0 8px 30px rgba(107,30,42,0.08);
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* Privacy strip */
.privacy-strip {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
}
.privacy-strip a { color: var(--gold-soft); text-decoration: underline; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--white); box-shadow: 0 -8px 40px rgba(0,0,0,.15);
  padding: 20px; transform: translateY(110%); transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.cookie-inner p { flex: 1; min-width: 240px; font-size: 0.9rem; color: var(--gray); }
.cookie-inner a { color: var(--primary); font-weight: 600; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-accept {
  background: var(--primary); color: #fff; border: none; padding: 12px 22px;
  border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.9rem;
}
.btn-accept:hover { background: var(--primary-dark); }
.btn-reject {
  background: transparent; color: var(--gray); border: 1px solid var(--border);
  padding: 12px 22px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.9rem;
}

/* Header */
.header {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img.logo-img { height: 42px; width: auto; border-radius: 6px; }
.logo-text {
  font-weight: 800; font-size: 1.3rem; color: var(--primary);
  letter-spacing: -0.02em;
}
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--gray); font-weight: 500; font-size: 0.9rem;
  padding: 8px 12px; border-radius: 8px; transition: all .2s;
}
.nav a:hover, .nav a.active { color: var(--primary); background: var(--bg-alt); }
.lang-switch {
  display: flex; gap: 2px; margin-left: 8px;
  background: var(--bg-alt); border-radius: 8px; padding: 3px;
}
.lang-switch a {
  padding: 5px 10px !important; font-size: 0.75rem !important;
  font-weight: 700 !important; border-radius: 6px !important;
  color: var(--gray) !important; background: transparent !important;
}
.lang-switch a.active {
  background: var(--primary) !important; color: #fff !important;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all .2s; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-gold { background: var(--accent); color: #1A1210; }
.btn-gold:hover { background: var(--accent-hover); color: #1A1210; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.mobile-toggle {
  display: none; background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--primary);
}

/* Hero */
.hero {
  position: relative; padding: 72px 0 64px; overflow: hidden;
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, #8B2E3C 100%);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.18; pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero .subtitle {
  font-size: 1.1rem; opacity: 0.92; margin-bottom: 28px; max-width: 520px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badge {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 500;
}
.hero-form {
  background: var(--white); border-radius: 18px; padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2); color: var(--text);
}
.hero-form h3 {
  color: var(--primary); font-size: 1.2rem; margin-bottom: 18px; font-weight: 700;
}

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gray); margin-bottom: 5px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 0.95rem; font-family: inherit;
  background: var(--bg); transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.checkbox-group {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.82rem; color: var(--gray); margin-bottom: 16px;
}
.checkbox-group input { margin-top: 3px; flex-shrink: 0; }
.checkbox-group a { font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
.section.bg-light { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800;
  color: var(--primary); margin-bottom: 12px; letter-spacing: -0.02em;
}
.section-header p { color: var(--gray); font-size: 1.05rem; }

/* Cards */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cards-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(107,30,42,0.12); }
.card-img {
  width: 100%; height: 180px; object-fit: cover; border-radius: 10px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem; color: var(--primary); margin-bottom: 10px; font-weight: 700;
}
.card p { color: var(--gray); font-size: 0.92rem; }

/* Clients */
.clients-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px;
}
.client-logo {
  font-weight: 700; font-size: 0.95rem; color: var(--gray);
  opacity: 0.55; letter-spacing: 0.04em; text-transform: uppercase;
}

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white); border-radius: 18px; padding: 32px 28px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent); box-shadow: 0 12px 40px rgba(201,162,39,0.2);
  position: relative;
}
.price-card.featured::before {
  content: 'Populaire'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--accent); color: #1A1210;
  font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 20px;
}
.price { font-size: 2.4rem; font-weight: 800; color: var(--primary); margin: 8px 0; }
.price span { font-size: 1rem; font-weight: 500; color: var(--gray); }
.period { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.price-card ul {
  list-style: none; margin-bottom: 24px; flex: 1;
}
.price-card ul li {
  padding: 8px 0; padding-left: 24px; position: relative;
  color: var(--gray); font-size: 0.92rem; border-bottom: 1px solid var(--bg-alt);
}
.price-card ul li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent);
  font-weight: 700;
}

/* Cases */
.case-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.case-card img { width: 100%; height: 180px; object-fit: cover; }
.case-body { padding: 20px; }
.case-tag {
  display: inline-block; background: var(--bg-alt); color: var(--primary);
  font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px;
  margin-bottom: 10px;
}
.case-body h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.case-body p { color: var(--gray); font-size: 0.9rem; margin-bottom: 12px; }
.case-result {
  font-weight: 700; color: var(--primary); font-size: 0.9rem;
  border-top: 1px solid var(--border); padding-top: 12px;
}

/* Testimonials */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial p {
  color: var(--gray); font-size: 0.95rem; font-style: italic; margin-bottom: 20px;
  line-height: 1.65;
}
.author { display: flex; align-items: center; gap: 12px; }
.author img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top;
}
.author strong { display: block; font-size: 0.9rem; color: var(--text); }
.author span { font-size: 0.8rem; color: var(--gray); }

/* Team */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.team-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center;
}
.team-card img {
  width: 100%; height: 300px; object-fit: cover; object-position: top center;
  background: #2a1518;
}
.team-info { padding: 24px 20px; }
.team-info h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 4px; }
.team-info .role {
  color: var(--accent); font-weight: 600; font-size: 0.85rem;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em;
}
.team-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.linkedin-btn {
  display: inline-block; padding: 8px 16px; border: 1.5px solid var(--primary);
  border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--primary);
}
.linkedin-btn:hover { background: var(--primary); color: #fff; }

/* News */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-body { padding: 18px; }
.news-meta {
  display: flex; gap: 12px; font-size: 0.75rem; color: var(--gray);
  margin-bottom: 8px; flex-wrap: wrap;
}
.news-body h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 8px; }
.news-body p { color: var(--gray); font-size: 0.88rem; }

/* Process */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step { text-align: center; padding: 20px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary);
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h4 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.step p { color: var(--gray); font-size: 0.88rem; }

/* CTA */
.cta-block {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; text-align: center; padding: 72px 20px;
}
.cta-block h2 { font-size: 2rem; margin-bottom: 12px; font-weight: 800; }
.cta-block p { opacity: 0.9; margin-bottom: 28px; font-size: 1.1rem; }

/* Page hero */
.page-hero {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 56px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
}
.contact-item {
  display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start;
}
.icon-box {
  width: 42px; height: 42px; border-radius: 10px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-item strong { display: block; color: var(--primary); margin-bottom: 2px; }
.contact-item div { color: var(--gray); font-size: 0.95rem; }

/* FAQ */
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  padding: 18px 20px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--primary);
}
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  padding: 0 20px; color: var(--gray); font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* Legal */
.legal-content {
  max-width: 800px; margin: 0 auto; padding: 48px 20px 72px;
}
.legal-content h1 { color: var(--primary); margin-bottom: 8px; font-size: 2rem; }
.expanded-block { margin-bottom: 28px; }
.expanded-block h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.2rem; }
.expanded-block p, .expanded-block li { color: var(--gray); margin-bottom: 10px; }
.expanded-block ul { padding-left: 20px; margin-bottom: 16px; }

/* Footer */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff; font-size: 0.95rem; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.footer a {
  display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem;
  margin-bottom: 8px; transition: color .2s;
}
.footer a:hover { color: var(--gold-soft); }
.footer .logo-text { color: #fff; }
.footer .logo img.logo-img { filter: none; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  font-size: 0.82rem; line-height: 1.7; opacity: 0.8;
}
.footer-legal a { display: inline; color: var(--gold-soft); }

/* Thank you */
.ty-wrap {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 50%, #8B2E3C 100%);
}
.ty-card {
  background: #fff; border-radius: 20px; padding: 48px 40px;
  max-width: 560px; width: 100%; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.ty-icon {
  width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #E8D5A3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(201,162,39,.35);
}
.ty-icon svg { width: 44px; height: 44px; }
.ty-card h1 { font-size: 1.85rem; color: var(--primary); margin: 0 0 12px; font-weight: 800; }
.ty-card .lead { color: var(--gray); font-size: 1.05rem; line-height: 1.6; margin-bottom: 28px; }
.ty-steps {
  text-align: left; background: var(--bg-alt); border-radius: 14px;
  padding: 20px 22px; margin-bottom: 28px;
}
.ty-steps h3 { font-size: 0.95rem; color: var(--primary); margin: 0 0 12px; font-weight: 700; }
.ty-steps ol { margin: 0; padding-left: 20px; color: var(--gray); font-size: 0.92rem; line-height: 1.7; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ty-actions .btn { min-width: 160px; }

@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-3, .pricing-grid, .testimonial-grid, .team-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .cards-4, .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff; padding: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1); border-top: 1px solid var(--border);
  }
  .mobile-toggle { display: block; }
  .header-inner { position: relative; }
}
@media (max-width: 600px) {
  .cards-3, .pricing-grid, .testimonial-grid, .team-grid, .news-grid,
  .cards-4, .process-steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
}
