/* ============================================================
   Inovario Immobilier : maquette v1 (Pratcom Media)
   base.css : reset, variables, typographie
   Mapping theme.json : chaque variable --brand-* / --font-* devient un preset
   ============================================================ */

:root {
  /* Couleurs de marque (relevées sur inovario.com) */
  --brand-primary: #222222;        /* charbon des textes et bandeaux */
  --brand-primary-soft: #414142;
  --brand-accent: #00AEEF;         /* cyan Inovario */
  --brand-accent-dark: #0092C9;
  --brand-accent-light: #6EC1E4;
  --brand-accent-soft: #E6F6FD;

  /* Neutres */
  --paper: #FFFFFF;
  --ink: #1C1C1C;
  --ink-soft: #444444;
  --ink-muted: #6B6B6B;
  --bg-soft: #F5F7F9;
  --bg-warm: #F9F8F5;
  --border: #E1E5E9;

  /* Marqueur de données à confirmer (visible pour le client) */
  --todo: #E8771C;
  --todo-bg: #FFF1E6;

  /* Typographie */
  --font-headings: 'Squada One', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-size-base: 1.125rem;      /* 18 px : cible 40 à 75 ans */
  --line-height-body: 1.65;

  /* Échelle d'espacement */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Mise en page */
  --container-max: 1200px;
  --container-padding: 1.25rem;

  /* Rayons et ombres */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .16);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 0 0 var(--space-sm);
  color: var(--brand-primary);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-accent-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--brand-primary); }

ul, ol { padding-left: 1.25rem; }

strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section { padding-block: var(--space-lg); }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--brand-primary); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__header { max-width: 760px; margin-bottom: var(--space-md); }
.section__header--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-accent-dark);
  margin-bottom: var(--space-xs);
}
.section--dark .eyebrow { color: var(--brand-accent-light); }
.lead { font-size: 1.25rem; color: var(--ink-soft); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand-accent); color: #000;
  padding: .75rem 1rem; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }

@media (min-width: 768px) {
  :root { --container-padding: 2rem; }
  .section { padding-block: var(--space-xl); }
}
