/* Mitrale — page d'attente
   Palette et typographie : Mitrale Brand Identity Guideline (Raleway Light, #9be0f9 / #183a54 / #999999) */

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --light-blue: #9be0f9;
  --deep-navy: #183a54;
  --neutral-gray: #999999;
  --white: #ffffff;
  --ink-900: #1a1a1a;
  --ink-800: #282829;
  --ink-700: #323031;
  --ink-600: #4d4d4d;
  --blue-100: #ebeff6;
  --mark-blue: #4fc8f4;
  --margin: 132px;
  --section-y: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-700);
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--deep-navy); }
a:hover { color: var(--mark-blue); }

h1, h2, p, ul, dl, dd { margin: 0; }

.wrap { padding-left: var(--margin); padding-right: var(--margin); }

/* Header */
.site-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header .logo { display: flex; align-items: center; text-decoration: none; }
.site-header .logo img { height: 44px; width: auto; }
.site-header .status,
.site-header .back {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--deep-navy);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Signature bar */
.bar { display: flex; }
.bar span { display: block; height: 6px; }
.bar span:first-child { width: 70px; background: var(--light-blue); }
.bar span:last-child { width: 30px; background: var(--deep-navy); }
.on-blue .bar span:first-child { background: var(--deep-navy); }
.on-blue .bar span:last-child { background: var(--blue-100); }

.eyebrow {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--deep-navy);
}

.kicker { display: flex; flex-direction: column; gap: 24px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero > * { position: relative; }
.hero .watermark {
  position: absolute;
  right: 48px;
  top: -100px;
  width: 520px;
  height: auto;
  pointer-events: none;
}
.display {
  font-size: 88px;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--deep-navy);
  max-width: 900px;
  text-wrap: balance;
}
.lead {
  font-size: 18px;
  line-height: 1.5;
  max-width: 720px;
  margin-top: 8px;
  text-wrap: pretty;
}

/* Sections */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 32px; }
.on-blue { background: var(--light-blue); color: var(--deep-navy); }
.on-navy { background: var(--deep-navy); color: var(--white); }
.on-navy a { color: var(--white); }
.on-navy a:hover { color: var(--light-blue); }

.title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--ink-800);
  max-width: 1000px;
  text-wrap: balance;
}
.on-blue .title { color: var(--deep-navy); }
.on-blue .lead { color: var(--deep-navy); max-width: 860px; margin-top: 0; }

.values { gap: 48px; }
.values ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}
.values li { display: flex; flex-direction: column; gap: 16px; }
.subtitle {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--ink-800);
}
.values li span { display: block; width: 30px; height: 6px; background: var(--light-blue); }

.contact {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}
.contact .text { display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.tagline { font-size: 48px; line-height: 1.1; font-weight: 300; font-style: italic; }
.contact p { max-width: 560px; }
.contact .mail {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.contact .mark { width: 120px; height: auto; flex-shrink: 0; }

/* Footer */
.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-600);
}
.site-footer nav { display: flex; align-items: center; gap: 32px; }
.site-footer a {
  color: var(--ink-600);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Mentions légales */
.legal { padding-top: 72px; padding-bottom: 96px; gap: 48px; }
.legal .title { margin-top: 0; }
.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; }
.legal-grid section { display: flex; flex-direction: column; gap: 24px; }
.legal-grid dl { display: flex; flex-direction: column; gap: 16px; }
.legal-grid dl > div { display: flex; flex-direction: column; gap: 4px; }
.legal-grid dt { font-size: 13px; line-height: 1.4; color: var(--ink-600); }
.legal-grid dd { color: var(--ink-700); overflow-wrap: anywhere; }
.legal-grid dd a { text-decoration: underline; text-underline-offset: 4px; }
.legal-grid dd a.tel { color: var(--ink-700); text-decoration: none; }
.placeholder { color: var(--ink-600); }

/* Mobile */
@media (max-width: 900px) {
  .desktop-only { display: none; }
  :root { --margin: 24px; --section-y: 56px; }
  .site-header { height: 80px; }
  .site-header .logo img { height: 32px; }
  .site-header .status, .site-header .back { letter-spacing: 0.3em; }
  .kicker { gap: 16px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 20px; }
  .hero .watermark { right: 16px; top: 40px; width: 240px; }
  .display { font-size: 44px; }
  .lead { font-size: 16px; line-height: 1.55; }
  .section { gap: 24px; }
  .title { font-size: 30px; }
  .values { gap: 32px; }
  .values ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .values li { gap: 12px; }
  .subtitle { font-size: 22px; }
  .contact { flex-direction: column; align-items: stretch; gap: 24px; }
  .contact .text { gap: 24px; }
  .tagline { font-size: 30px; }
  .contact .mark { width: 80px; align-self: flex-end; margin-top: 16px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 16px; padding-bottom: 24px; min-height: 0; }
  .site-footer nav { gap: 24px; }
  .legal { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .legal-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 48px; }
}
