@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #007ea2;
  --blue-dark: #006482;
  --orange: #ef4023;
  --ink: #231f20;
  --muted: #5d5a5b;
  --line: #d7dde0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 1.0625rem/1.55 "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

/* Arc bleu repris de la carte de visite */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  width: 140vmax;
  height: 140vmax;
  right: -122vmax;
  bottom: -100vmax;
  border-radius: 50%;
  background: var(--blue);
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

main {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  text-align: center;
  padding: clamp(40px, 9vh, 96px) 0 clamp(32px, 6vh, 64px);
}
.hero h1 { margin: 0; }
.hero img { width: min(472px, 100%); height: auto; }
.services {
  margin: 12px 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
}
.services span { color: var(--orange); font-weight: 600; padding: 0 .25em; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 64px;
}

h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
}

.coords address { font-style: normal; margin-bottom: 16px; }
.coords ul { list-style: none; margin: 0; padding: 0; }
.coords li { margin: 4px 0; }
.coords li::before {
  content: "";
  display: inline-block;
  width: .55em; height: .55em;
  margin-right: .5em;
  border-radius: 50%;
  background: var(--blue);
}
.coords li:first-child::before { background: var(--orange); }
.coords a { text-decoration: none; font-weight: 500; }

form {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgb(0 60 80 / .08);
}

label { display: block; margin-bottom: 14px; font-weight: 500; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
}
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea { resize: vertical; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.consent input { width: auto; margin-top: 5px; flex: none; }

.hp { position: absolute; left: -9999px; }

.cf-turnstile { margin: 6px 0 16px; }

button {
  padding: 12px 32px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background: var(--blue-dark); }
button:disabled { opacity: .6; cursor: wait; }

#form-status { margin: 14px 0 0; min-height: 1.5em; }
#form-status.ok { color: #1d7a3a; font-weight: 500; }
#form-status.error { color: #b3261e; font-weight: 500; }

footer {
  padding: 20px 16px;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

/* Page mentions légales */
.legal { max-width: 760px; padding-bottom: 64px; }
.legal .back { display: inline-block; margin: 32px 0 24px; }
.legal .back img { width: 200px; height: auto; display: block; }
.legal h1 { font-size: 2rem; font-weight: 600; color: var(--blue); margin: 0 0 24px; }
.legal h2 { margin-top: 32px; font-size: 1.25rem; }

@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  form { padding: 20px 16px; }
  body::before { right: -130vmax; bottom: -128vmax; }
}
