/* ─── TOMBOX Design System ─────────────────────────────────── */
:root {
  --navy: #1B2A4A;
  --navy-light: #253660;
  --steel: #8A9BB0;
  --steel-light: #C5CED9;
  --steel-dark: #5A6A7A;
  --white: #FFFFFF;
  --accent: #B8860B;
  --accent-light: #D4A817;
  --green: #2D7A4F;
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.12);
  --shadow-md: 0 4px 20px rgba(27, 42, 74, 0.18);
  --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--steel-light);
  max-width: 56ch;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.875rem; }

/* ─── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--steel-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: 1rem; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.mobile-open a { font-size: 1.1rem; }
}
@media (min-width: 769px) {
  .nav-hamburger { display: none; }
  .nav-links.mobile-open { display: flex; }
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(184, 134, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(138, 155, 176, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid rgba(184, 134, 11, 0.3);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--accent-light); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--steel-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 48ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--steel);
  font-size: 0.85rem;
}
.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-image { max-width: 400px; margin: 0 auto; }
}

/* ─── Pourquoi (B2B arguments for funeral directors) ───────── */
.pourquoi { padding: 6rem 0; }
.pourquoi-header { text-align: center; margin-bottom: 3.5rem; }
.pourquoi-header .section-sub { margin: 0 auto; }
.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.pourquoi-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), border-color var(--transition);
}
.pourquoi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 11, 0.3);
}
.pourquoi-icon {
  width: 40px; height: 40px;
  background: rgba(184, 134, 11, 0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.pourquoi-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.pourquoi-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.pourquoi-card p { font-size: 0.875rem; color: var(--steel-light); line-height: 1.6; }
.pourquoi-cta { text-align: center; margin-top: 3rem; }

/* ─── Avantages ────────────────────────────────────────────── */
.avantages { padding: 6rem 0; background: var(--navy-light); }
.avantages-header { text-align: center; margin-bottom: 3.5rem; }
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.avantage-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.avantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 11, 0.3);
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.1);
}
.avantage-icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 134, 11, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.avantage-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.avantage-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.avantage-desc { font-size: 0.875rem; color: var(--steel-light); line-height: 1.6; }

/* ─── Contenu ──────────────────────────────────────────────── */
.contenu { padding: 6rem 0; }
.contenu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contenu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.contenu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.contenu-item-icon {
  width: 32px;
  height: 32px;
  background: rgba(45, 122, 79, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contenu-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}
@media (max-width: 900px) {
  .contenu-inner { grid-template-columns: 1fr; }
  .contenu-list { grid-template-columns: 1fr; }
  .contenu-image { order: -1; margin-bottom: 2rem; }
}

/* ─── Gravure (multi-faith customization section) ──────────── */
.gravure { padding: 6rem 0; background: var(--navy-light); }
.gravure-header { text-align: center; margin-bottom: 3.5rem; }
.gravure-header .section-sub { margin: 0 auto; }
.gravure-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.gravure-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.gravure-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 11, 0.3);
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.1);
}
.gravure-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gravure-card-label {
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gravure-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.gf-item { display: flex; gap: 1rem; align-items: flex-start; }
.gf-icon {
  width: 40px; height: 40px;
  background: rgba(184, 134, 11, 0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.gf-text h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.gf-text p { font-size: 0.875rem; color: var(--steel-light); line-height: 1.6; }
.gravure-b2b {
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}
.gravure-b2b-inner { display: flex; gap: 1.5rem; align-items: flex-start; }
.gravure-b2b-icon {
  width: 48px; height: 48px;
  background: rgba(184, 134, 11, 0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.gravure-b2b-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.gravure-b2b-content p {
  font-size: 0.95rem;
  color: var(--steel-light);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .gravure-images { grid-template-columns: 1fr; }
  .gravure-b2b-inner { flex-direction: column; gap: 1rem; }
}

/* ─── Personnalisation (legacy) ───────────────────────────── */
.personnalisation { padding: 6rem 0; background: var(--navy-light); }
.personnalisation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.personnalisation-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}
.personnalisation-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.pf-item { display: flex; gap: 1rem; align-items: flex-start; }
.pf-icon {
  width: 40px;
  height: 40px;
  background: rgba(184, 134, 11, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.pf-text h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.pf-text p { font-size: 0.875rem; color: var(--steel-light); }
.quote-block {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote-block p { font-style: italic; color: var(--steel-light); font-size: 0.95rem; }
.quote-block cite { display: block; margin-top: 0.5rem; color: var(--accent-light); font-size: 0.8rem; font-style: normal; }
@media (max-width: 900px) {
  .personnalisation-inner { grid-template-columns: 1fr; }
}

/* ─── Caracteristiques ─────────────────────────────────────── */
.caracteristiques { padding: 6rem 0; }
.caracteristiques-header { text-align: center; margin-bottom: 3rem; }
.carac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.carac-table {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.carac-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.carac-row:last-child { border-bottom: none; }
.carac-key {
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  background: rgba(0,0,0,0.2);
  font-family: var(--font-heading);
}
.carac-val { padding: 1rem 1.25rem; font-size: 0.9rem; }
.carac-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 100%;
}
@media (max-width: 768px) {
  .carac-grid { grid-template-columns: 1fr; }
  .carac-row { grid-template-columns: 1fr; }
  .carac-key { padding-bottom: 0.25rem; border-bottom: none; }
}

/* ─── Contact ───────────────────────────────────────────────── */
.contact { padding: 6rem 0; background: var(--navy-light); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.contact-info > p { color: var(--steel-light); margin-bottom: 2rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(184, 134, 11, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item-label {
  font-size: 0.75rem;
  color: var(--steel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
}
.contact-item-value { font-size: 0.95rem; font-weight: 500; }

.form-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-sub { font-size: 0.9rem; color: var(--steel-light); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-light);
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--steel); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #E74C3C;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}
.form-error.show { display: block; }
.form-success {
  background: rgba(45, 122, 79, 0.15);
  border: 1px solid rgba(45, 122, 79, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #4ADE80;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}
.form-success.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Closing ────────────────────────────────────────────────── */
.closing {
  padding: 5rem 0;
  background: var(--navy-light);
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.closing-sub { font-size: 1rem; color: var(--steel-light); line-height: 1.7; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}
.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.footer-copy { font-size: 0.85rem; color: var(--steel); }
.footer-links { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 0.875rem; color: var(--steel); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-loc { font-size: 0.875rem; color: var(--steel); }
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}