/* Muffat Pierre-Yves – landing page d'attente
   Charte : logo goutte bleue / feuillage vert, gris anthracite, Titillium Web */

@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/titillium-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/titillium-web-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #3a3a3a;          /* texte */
  --ink-soft: #5f5f5f;     /* gris du logo */
  --blue: #2fb4ea;         /* bleu eau (décor, fonds) */
  --blue-dark: #2f6fb0;    /* bleu profond (boutons, liens) */
  --blue-deeper: #24578c;  /* survol */
  --green: #bfd730;        /* vert anis (accents) */
  --green-soft: #eef4c8;
  --bg: #ffffff;
  --bg-alt: #eceef0;
  --line: #d6dadd;
  --shadow: 0 10px 30px rgba(36, 87, 140, .12);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: .15em; }
a:hover { color: var(--blue-deeper); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; }
h2, .h3 { font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--blue-deeper); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost:hover { background: var(--blue-dark); color: #fff; }
.btn-call { background: var(--green); color: var(--ink); }
.btn-call:hover { background: #aac421; color: var(--ink); }

/* Header */
.site-header { position: relative; z-index: 3; background: #fff; border-top: 5px solid var(--blue); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand img { width: 170px; }
@media (min-width: 720px) { .brand img { width: 210px; } }
.header-call { display: none; }
@media (min-width: 720px) { .header-call { display: inline-flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f4f7f9 100%); padding: 48px 0 56px; }
.hero-wave { position: absolute; right: -180px; top: -40px; width: 620px; height: 620px; opacity: .35; pointer-events: none; }
@media (min-width: 960px) { .hero-wave { right: -120px; top: -80px; width: 760px; height: 760px; opacity: .9; } }
.hero-inner { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 600; color: var(--blue-dark); margin-bottom: .8em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; max-width: 520px; margin-left: auto; border-radius: 22px; box-shadow: var(--shadow); border: 6px solid #fff; }

/* Coordonnées */
.infos { background: var(--bg-alt); padding: 40px 0; }
.infos-inner { display: grid; gap: 24px; }
@media (min-width: 720px) { .infos-inner { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.infos h2 { margin-bottom: .4em; }
.infos h2::after { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; margin-top: .35em; background: linear-gradient(90deg, var(--blue) 0 50%, var(--green) 50% 100%); }
.infos p, address { font-style: normal; margin: 0; }

/* Footer */
.site-footer { background: #2b2f33; color: #d9dde0; padding: 36px 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: #fff; }

/* Pages légales */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
