/* ===========================================================================
   INTERESCAP — Design system Landings investisseurs
   Style : Aman/Belmond minimaliste — cohérent avec site-premium
   =========================================================================== */

:root {
  --crimson:  #C8203D;
  --black:    #0a0a0a;
  --white:    #ffffff;
  --paper:    #faf8f3;
  --line:     #e8e4dc;
  --muted:    #6e6a62;
  --soft:     #1a1a1a;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--crimson); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===========================================================================
   Header (commun aux 4 pages)
   =========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: .5px;
  color: var(--black);
}
.brand .accent { color: var(--crimson); }
.nav-links {
  display: flex; gap: 28px;
  font-size: 13px; letter-spacing: .8px;
  text-transform: uppercase; font-weight: 500;
}
.nav-links a {
  color: var(--soft); transition: color .15s;
}
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--black);
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600;
  transition: all .15s;
}
.nav-cta:hover { background: var(--crimson); border-color: var(--crimson); color: white; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ===========================================================================
   Hero (variant entre les pages — base ici)
   =========================================================================== */
.hero {
  padding: 96px var(--gutter) 80px;
  text-align: center;
  max-width: var(--maxw); margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  color: var(--crimson);
  margin-bottom: 24px; display: inline-block;
}
.hero h1 {
  max-width: 18ch; margin: 0 auto .5em;
}
.hero-sub {
  font-size: 18px; color: var(--muted);
  max-width: 56ch; margin: 0 auto 32px;
  line-height: 1.55;
}

/* ===========================================================================
   Buttons
   =========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700;
  cursor: pointer;
  border: none; transition: all .15s;
}
.btn-primary {
  background: var(--black); color: white;
}
.btn-primary:hover { background: var(--crimson); color: white; }
.btn-outline {
  background: transparent; color: var(--black);
  border: 1px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: white; }

/* ===========================================================================
   Sections
   =========================================================================== */
.section {
  padding: 80px 0;
}
.section-eyebrow {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  color: var(--crimson);
  margin-bottom: 12px;
}
.section h2 { max-width: 22ch; }
.section-lead {
  font-size: 17px; line-height: 1.6;
  color: var(--muted); max-width: 60ch;
  margin-bottom: 48px;
}

/* Grid 3 colonnes (offre, valeurs, etc.) */
.grid-3 {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: white;
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: border-color .15s;
}
.card:hover { border-color: var(--crimson); }
.card-num {
  font-family: var(--serif);
  font-size: 44px; color: var(--crimson);
  line-height: 1; margin-bottom: 16px;
}
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

/* ===========================================================================
   Form contact (lead capture)
   =========================================================================== */
.form-wrap {
  background: white; border: 1px solid var(--line);
  padding: 48px 40px; max-width: 580px; margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; margin-bottom: 6px;
  color: var(--soft);
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 14px;
  font-family: var(--sans); font-size: 15px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--black);
  transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--crimson);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-feedback {
  margin-top: 16px; padding: 14px; font-size: 14px;
  display: none; border-radius: 0;
}
.form-feedback.success {
  display: block;
  background: #e8f5ed; color: #1a5c3d;
  border-left: 3px solid #2d7a4f;
}
.form-feedback.error {
  display: block;
  background: #fceaea; color: #8c1a1a;
  border-left: 3px solid var(--crimson);
}
.form-disclaimer {
  font-size: 12px; color: var(--muted);
  margin-top: 14px; line-height: 1.5;
}

/* ===========================================================================
   Announcement banner (fetched depuis OS public API)
   =========================================================================== */
.announcement-banner {
  background: var(--black); color: white;
  padding: 12px 20px; text-align: center;
  font-size: 14px; letter-spacing: .3px;
}
.announcement-banner.warning { background: #b8860b; }
.announcement-banner a {
  color: white; text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================================================================
   Footer
   =========================================================================== */
.footer {
  background: var(--black); color: white;
  padding: 64px var(--gutter) 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 32px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer h4 {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; font-size: 14px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--crimson); }
.footer-brand {
  font-family: var(--serif); font-size: 26px;
  margin-bottom: 12px; color: white;
}
.footer-brand .accent { color: var(--crimson); }
.footer-bottom {
  max-width: var(--maxw); margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.5);
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ===========================================================================
   Utilities
   =========================================================================== */
.text-center { text-align: center; }
.mb-32 { margin-bottom: 32px; }
.mt-48 { margin-top: 48px; }
.hidden { display: none; }
