/* Geofix — site de présentation (geofix.dev), 10/10/2026.
   Même palette que les applications : navy #0c447c, bleu clair #a1d0ea, rouge #e24b4a, vert #1d9e75.
   Police système (rien à charger), pages statiques, lisibles sur téléphone. */

:root {
  --navy: #0c447c; --bleu: #a1d0ea; --bleu-pale: #dbeafb; --rouge: #e24b4a; --vert: #1d9e75;
  --fond: #f4f7fa; --texte: #222; --gris: #5b6470; --trait: #c9d3dd; --logo-fond: #a1d0ea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fond); color: var(--texte); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.conteneur { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Bandeau */
.bandeau { background: var(--logo-fond); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 4px rgba(12, 68, 124, .18); }
.bandeau .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.bandeau .logo img { height: 44px; width: auto; }
.bandeau nav { display: flex; gap: 6px; flex-wrap: wrap; }
.bandeau nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.bandeau nav a:hover, .bandeau nav a.actif { background: rgba(255, 255, 255, .55); }

/* Sections */
section { padding: 56px 0; }
section.blanc { background: #fff; }
.accroche { padding-top: 48px; }
.accroche .conteneur { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.accroche h1 { margin-bottom: 20px; }
.accroche p { font-size: 19px; color: var(--gris); }
.bouton { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 9px; margin-top: 8px; border: none; font-size: 16px; font-family: inherit; cursor: pointer; }
.bouton:hover { background: #0a3864; }
.bouton.secondaire { background: #fff; color: var(--navy); border: 1px solid var(--navy); }

.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.etape { background: #fff; border: 1px solid var(--trait); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.etape .visuel { aspect-ratio: 4 / 3; background: var(--bleu-pale); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.etape .visuel img { width: 100%; height: 100%; object-fit: cover; }
.etape .visuel.contenu img { object-fit: contain; padding: 14px; }
.etape p { padding: 18px 20px; margin: 0; font-size: 17px; font-weight: 500; color: var(--navy); }

.defauts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.defaut { text-align: center; }
.defaut img { width: 100%; border-radius: 16px; }
.defaut span { display: block; margin-top: 8px; font-weight: 600; color: var(--navy); font-size: 15px; }

.bande { background: var(--bleu) url(img/fond-points.webp) center / cover; }
.bande .conteneur { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.bande .photo img { border-radius: 14px; box-shadow: 0 6px 18px rgba(12, 68, 124, .25); }
.bande h2 { margin-bottom: 26px; }
.bande .experience { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, .7); border-radius: 14px; padding: 16px 20px; }
.bande .experience img { width: 72px; flex: none; }
.bande .experience p { margin: 0; font-weight: 600; color: var(--navy); font-size: 18px; }

/* Services */
.services { display: grid; gap: 22px; }
.service { background: #fff; border: 1px solid var(--trait); border-radius: 14px; padding: 22px 26px; }
.service h3 { margin-bottom: 8px; }
.service p { margin: 0; color: #333; }

/* Contact */
.contact .conteneur { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
form .champ { margin-bottom: 14px; }
form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; color: var(--navy); }
form input, form textarea { width: 100%; padding: 11px 12px; font-size: 16px; border: 1px solid #bcc7d2; border-radius: 8px; font-family: inherit; background: #fff; color: var(--texte); }
form input:focus, form textarea:focus { outline: 2px solid var(--bleu); border-color: var(--navy); }
form textarea { min-height: 150px; resize: vertical; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.retour { margin-top: 12px; font-weight: 600; min-height: 1.5em; }
.retour.ok { color: var(--vert); }
.retour.ko { color: var(--rouge); }
.coordonnees { background: #fff; border: 1px solid var(--trait); border-radius: 14px; padding: 22px 26px; }
.coordonnees p { margin: 0 0 10px; }
.coordonnees b { color: var(--navy); }
.coordonnees a { text-decoration: none; font-weight: 600; }
.coordonnees .nc { font-weight: 600; color: var(--texte); }
/* Coordonnées non copiables (anti-collecte) : le texte est reconstitué par le CSS depuis les attributs data-* */
.nc { user-select: none; -webkit-user-select: none; white-space: nowrap; }
.nc::after { content: attr(data-a) attr(data-b) attr(data-c); }
.contact.seul .conteneur { grid-template-columns: 1fr; max-width: 780px; }
.contact-page .conteneur { grid-template-areas: "form coord" "form illu"; grid-template-rows: auto 1fr; }
.contact-page .conteneur > div:first-child { grid-area: form; }
.contact-page .titre { display: block; }
/* le haut de la carte des coordonnées = le haut du champ « Nom / Prénom » (hauteur du libellé + sa marge) */
.contact-page .coordonnees { grid-area: coord; margin-top: calc(15px * 1.55 + 5px); }
.contact-page .illustration { grid-area: illu; }
.contact-page .illustration img { border-radius: 16px; }

/* Pied de page */
footer { background: var(--navy); color: #d6e4f2; padding: 26px 0; font-size: 14px; }
footer .conteneur { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #fff; }

/* Pages intérieures */
.page { padding: 40px 0 60px; }
.page .intro { font-size: 18px; color: var(--gris); max-width: 760px; }
.mentions h2 { font-size: 22px; margin-top: 34px; }
.mentions .carte { background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 16px 20px; margin-bottom: 16px; }
.mentions table { border-collapse: collapse; width: 100%; background: #fff; }
.mentions td, .mentions th { border: 1px solid var(--trait); padding: 8px 10px; text-align: left; vertical-align: top; font-size: 15px; }
.mentions th { background: var(--bleu-pale); color: var(--navy); }

@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 40px 0; }
  .accroche .conteneur, .contact .conteneur, .bande .conteneur { grid-template-columns: 1fr; gap: 26px; }
  .contact-page .conteneur { grid-template-areas: "form" "coord" "illu"; grid-template-rows: auto; }
  .contact-page .coordonnees { margin-top: 0; }
  .bande .photo { max-width: 260px; margin: 0 auto; }
  .etapes { grid-template-columns: 1fr; }
  .defauts { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .bandeau .logo img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
