/* =============================================
   TRIANGLE DE SÉCURITÉ — Design System
   Palette : fond sombre, or mat, ivoire
   ============================================= */

:root {
  --bg:        #0D0F0E;
  --bg-card:   #141918;
  --bg-alt:    #111413;
  --gold:      #B8992A;
  --gold-light:#D4B84A;
  --gold-dim:  #8A7020;
  --text:      #F0EDE6;
  --text-muted:#8A9690;
  --text-dim:  #566059;
  --border:    rgba(184,153,42,0.18);
  --border-subtle: rgba(240,237,230,0.07);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius: 4px;
  --max-w:  1100px;
  --gap:    2rem;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,15,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}
.logo-mark {
  color: var(--gold);
  font-size: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-muted);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Triangle visualization */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.triangle-viz {
  position: relative;
  width: 340px;
  height: 300px;
}
.t-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.t-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  min-width: 110px;
}
.t-node--top  { top: 0; left: 50%; transform: translateX(-50%); }
.t-node--left { bottom: 10px; left: 0; }
.t-node--right{ bottom: 10px; right: 0; }
.t-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.t-sub {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.4;
}
.t-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.t-center-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
}
.t-center-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =============================================
   BOUTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  display: inline-block;
  color: var(--text-muted);
  font-size: 13px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border); }
.btn-outline {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-full { width: 100%; text-align: center; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 150px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* =============================================
   SECTIONS CONTENU
   ============================================= */
.content-section { padding: 6rem 2rem; }
.content-section--alt { background: var(--bg-alt); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

/* Filet or — signature visuelle */
.section-eyebrow {
  position: relative;
  padding-left: 1.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 16px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Cards 3 colonnes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.card:hover { border-top-color: var(--gold-light); }
.card-icon {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-dim);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.card-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Deux colonnes */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.check-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.check-icon {
  color: var(--gold);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}
.check-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.check-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.pullquote {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.pullquote cite {
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.article-card:hover { border-color: var(--border); }
.article-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.article-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.article-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.article-link {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-text .section-title { margin-bottom: 1rem; }
.contact-text > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.contact-reassurance {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-reassurance li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.contact-reassurance li::before {
  content: '';
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; }
.form-legal {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0A0C0B;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}
.footer-brand .logo-mark { color: var(--gold); margin-right: 0.5rem; }
.footer-brand .logo-text {
  font-size: 14px;
  font-weight: 500;
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-muted); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--text-dim);
}
.footer-bottom a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer {
  font-style: italic;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
    text-align: center;
  }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { justify-content: flex-start; }
  .stat-divider { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 500px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
