/* DIVERSIA — feuille de style principale */
:root {
  --navy: #0B2A5B;
  --navy-deep: #071D40;
  --navy-2: #12366F;
  --blue: #1565C0;
  --orange: #F7931E;
  --orange-dark: #B4520A;
  --ink: #1B2638;
  --text: #3D4A5C;
  --muted: #5B6575;
  --line: #DCE4F0;
  --bg: #F6F7FA;
  --bg-2: #EAF0F8;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 42, 91, 0.10);
  --font-head: 'Montserrat', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); color: #DCE4F0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: 12px;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--orange); }
.lead { font-size: 1.15rem; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 40px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease; cursor: pointer; font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--navy-deep); }
.btn--primary:hover { background: #FFA436; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }

/* En-tête */
.topbar { background: var(--navy-deep); color: #C9D6EA; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #C9D6EA; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar span { display: inline-flex; align-items: center; gap: 8px; margin-right: 20px; }
.topbar svg { width: 15px; height: 15px; stroke: var(--orange); }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 56px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a {
  display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--bg-2); }
.nav .btn { margin-left: 10px; padding: 11px 22px; color: var(--navy-deep); }
.nav .btn:hover { background: #FFA436; }
.menu-toggle {
  display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 30px; height: 30px; }

/* Héros */
.hero {
  position: relative; color: var(--white); min-height: 640px; display: flex; align-items: center;
  background: var(--navy) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,29,64,.94) 0%, rgba(11,42,91,.82) 45%, rgba(11,42,91,.35) 100%);
}
.hero .container { position: relative; padding: 110px 0; }
.hero h1 { color: var(--white); max-width: 760px; }
.hero p { font-size: 1.2rem; max-width: 620px; color: #DCE4F0; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero--page { min-height: 380px; }
.hero--page .container { padding: 90px 0 80px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero__tags span { border: 1px solid rgba(255,255,255,.35); padding: 6px 14px; border-radius: 30px; font-size: .88rem; background: rgba(7,29,64,.4); }

/* Bandeau atouts */
.strip { background: var(--orange); color: var(--navy-deep); }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip div { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.strip svg { width: 28px; height: 28px; flex: none; stroke: var(--navy-deep); }

/* Grilles et cartes */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split--rev > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card__img { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body p { font-size: .98rem; }
.card__link { margin-top: auto; font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card__link:hover { color: var(--orange-dark); }
.icon-badge {
  width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; flex: none;
}
.icon-badge svg { width: 28px; height: 28px; stroke: var(--orange); }
.card .icon-badge { margin-top: -54px; position: relative; border: 4px solid var(--white); width: 64px; height: 64px; }

.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.section--alt .feature { border-color: transparent; box-shadow: var(--shadow); }
.feature p { margin: 0; font-size: .98rem; }

/* Étapes */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 22px; border-top: 6px solid var(--navy); box-shadow: var(--shadow); }
.step:last-child { border-top-color: var(--orange); }
.step::before {
  counter-increment: step; content: counter(step); display: block; font-family: var(--font-head);
  font-weight: 800; font-size: 2.2rem; color: var(--orange); line-height: 1; margin-bottom: 12px;
}
.step p { font-size: .95rem; margin: 0; }

/* Valeurs */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-left: 4px solid var(--orange); padding: 6px 0 6px 22px; }
.value h3 { color: var(--white); }

/* Liste à puces */
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { background: var(--bg-2); color: var(--navy); border-radius: 30px; padding: 6px 14px; font-size: .88rem; font-weight: 600; }

/* Bloc secteur (page services) */
.sector { scroll-margin-top: 110px; }
.sector + .sector { margin-top: 96px; }
.sector__num { font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: 1rem; letter-spacing: .1em; }
.sector__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sector__nav a { text-decoration: none; padding: 10px 18px; border-radius: 30px; background: var(--white); color: var(--navy); font-weight: 700; box-shadow: var(--shadow); font-size: .95rem; }
.sector__nav a:hover { background: var(--navy); color: var(--white); }

/* Appel à l'action */
.cta {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 100%); color: #DCE4F0; border-radius: 24px;
  padding: 56px 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border: 22px solid var(--orange); border-radius: 50%; opacity: .9; }
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta > * { position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .icon-badge { margin: 0; width: 48px; height: 48px; }
.info-list .icon-badge svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--navy); font-family: var(--font-head); }
.info-list a { color: var(--text); text-decoration: none; }
.info-list a:hover { color: var(--blue); }
.form { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: 40px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #C9D3E3; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.18); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form small { color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.alert--ok { background: #E3F6EA; color: #17663A; }
.alert--err { background: #FDE7E4; color: #A12A1C; }
.map { border: 0; width: 100%; height: 360px; border-radius: 20px; box-shadow: var(--shadow); margin-top: 48px; }

/* Pied de page */
.footer { background: var(--navy-deep); color: #B9C7DD; padding: 72px 0 0; font-size: .95rem; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #B9C7DD; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__logo { width: 220px; margin-bottom: 18px; }
.footer__bottom { border-top: 1px solid #1E3A66; margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Bouton WhatsApp */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.whatsapp svg { width: 32px; height: 32px; fill: #FFFFFF; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Mentions légales */
.legal h2 { font-size: 1.4rem; margin-top: 40px; }

/* Responsive */
@media (max-width: 1080px) {
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 30px rgba(11,42,91,.12); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--rev > :first-child { order: 0; }
  .grid--3, .grid--2, .values { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .grid--4, .steps, .strip .container, .footer .grid, .form__row { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .cta { padding: 40px 28px; }
  .form { padding: 26px; }
  .brand img { height: 46px; }
}
