/* ============================================================
   OFCO GROUP — main.css
   Variables · Reset · Layout global · Typographie
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ── */
:root {
  --color-navy:      #0B1F3A;
  --color-navy-mid:  #122B52;
  --color-blue:      #1A6FC4;
  --color-blue-lt:   #3B8FE0;
  --color-white:     #FFFFFF;
  --color-off-white: #F4F7FB;
  --color-text:      #1C2B3A;
  --color-muted:     #5A7A99;
  --color-gold:      #C8A84B;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --navbar-h:    72px;
  --section-pad: clamp(60px, 8vw, 120px);
  --container-w: 1200px;
  --radius:      6px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.12);
  --shadow-md:   0 6px 24px rgba(0,0,0,.16);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.22);
  --transition:  250ms ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

h1 { font-size: clamp(2rem, 4vw, 3.2rem);   font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted  { color: var(--color-muted); }
.text-gold   { color: var(--color-gold); }
.text-blue   { color: var(--color-blue); }
.text-white  { color: var(--color-white); }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

/* ── Section wrapper ── */
.section {
  padding: var(--section-pad) 0;
}
.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--navy-mid {
  background: var(--color-navy-mid);
  color: var(--color-white);
}
.section--blue {
  background: var(--color-blue);
  color: var(--color-white);
}
.section--off-white {
  background: var(--color-off-white);
}

/* ── Grid utilities ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* ── Gold separator ── */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px 0 24px;
}
.gold-line--center { margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.reverse-mobile > *:first-child { order: 2; }
}
