/* Site vitrine Ingetic - reecriture statique du site WordPress/Elementor (2026-10) */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bleu: #4cc0ff;
  --bleu-fonce: #1e9ad6;
  --texte: #333;
  --texte-doux: #666;
  --fond-gris: #f6f6f6;
  --entete: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--entete); }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--texte);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--bleu-fonce); }
h1, h2, h3 { font-weight: 500; line-height: 1.25; margin: 0 0 .8em; }
h2 { font-size: 2rem; text-transform: uppercase; }
h3 { font-size: 1.2rem; text-transform: uppercase; }

/* En-tete */
.entete {
  position: sticky; top: 0; z-index: 10;
  height: var(--entete);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 16px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.entete .logo { flex: none; }
.entete .logo img { display: block; height: 40px; width: auto; }
.entete nav { display: flex; gap: 1.4rem; overflow-x: auto; white-space: nowrap; }
.entete nav a { color: var(--texte); text-decoration: none; font-weight: 400; font-size: .9rem; }
.entete nav a:hover { color: var(--bleu-fonce); }
/* menu mobile sans JavaScript : case a cocher cachee + label */
#menu { display: none; }
.burger {
  display: none; width: 44px; height: 40px; align-items: center; justify-content: center;
  background: #f0f0f0; border-radius: 4px; cursor: pointer;
}
.burger svg { width: 24px; height: 24px; stroke: #333; stroke-width: 2.5; stroke-linecap: round; }

/* Blocs deux colonnes : texte + image */
.bloc { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.bloc > * { min-width: 0; }
.texte { display: flex; flex-direction: column; justify-content: center; padding: 60px 8%; }
.texte.centre { text-align: center; align-items: center; }
.texte p { text-align: justify; }
.texte.centre p { text-align: center; }
.image { position: relative; background-size: cover; background-position: center; min-height: 320px; }
.credit {
  position: absolute; left: 8px; bottom: 6px;
  font-size: .65rem; color: #fff; text-shadow: 0 0 3px #000;
}
.credit a { color: #fff; }
.fond-bleu { background: url("../img/Fond_bleu-e1696230539189.jpg") center / cover; color: #fff; }

.hero { min-height: calc(100vh - var(--entete)); }
.hero .marque { width: 260px; margin-bottom: 1.5rem; }
.hero h1 { font-size: 1.6rem; font-weight: 400; margin-bottom: .2em; }
.hero .accroche { font-size: 1.1rem; color: var(--bleu-fonce); margin-top: 0; text-align: left; }

.trait { width: 60%; border: 0; border-top: 1px solid #ccc; margin: 1.5rem auto; }
.trait.bleu { border-top: 2px solid var(--bleu); width: 100%; }

.icone { width: 44px; height: 44px; fill: var(--bleu); margin-bottom: .6rem; }
.titre-bleu { color: var(--bleu); }
.texte ul { text-align: left; padding-left: 1.2rem; margin: 0; }

/* Logos partenaires (sur fond bleu) */
.partenaires {
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center;
  gap: 14px; padding: 40px 6%;
}
.partenaires img {
  width: 120px; height: 72px; padding: 10px; object-fit: contain;
  background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Adresses */
.adresses { display: flex; flex-direction: column; justify-content: center; gap: 2rem; padding: 40px 8%; }
.site { background: #fff; color: var(--texte); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.site img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.site-bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 14px; }
.site-bas .bouton { flex: none; padding: .5rem 1rem; }
.adresse { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.adresse svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--bleu-fonce); stroke-width: 1.5; }

/* References clients */
.clients {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; padding: 40px 16px; max-width: 1200px; margin: 0 auto;
}
.clients a {
  display: flex; align-items: center; justify-content: center;
  width: 180px; height: 110px; padding: 16px; background: #fff;
  border: 1px solid #eee; border-radius: 6px;
}
.clients a:hover { border-color: var(--bleu); }
.clients img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(30%); }
.clients img:hover { filter: none; }
.autres { text-align: right; padding: 0 6% 30px; font-style: italic; }

/* Support */
.support-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; width: 100%; text-align: center; }
.support-choix a.lien-icone { text-decoration: none; color: var(--bleu); font-size: 1.2rem; text-transform: uppercase; display: block; }
.petit { font-size: .8rem; }

/* Contact */
.contact { background: var(--bleu); }
.contact .image { color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 60px 8%; }
.contact .image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.contact .image > * { position: relative; }
.contact .texte { background: #fff; }
.boutons { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 360px; }
.bouton {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem 1.2rem; border-radius: 4px;
  background: var(--bleu); color: #fff; text-decoration: none; font-weight: 500;
}
.bouton:hover { background: var(--bleu-fonce); }
.bouton svg { width: 20px; height: 20px; fill: currentColor; }
.bouton.whatsapp { background: #25d366; }
.bouton.whatsapp:hover { background: #1da851; }

/* Formulaire de contact */
.formulaire { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formulaire input:not([type=checkbox]), .formulaire textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--texte);
  border: 1px solid #ccc; border-radius: 4px; background: #fff;
}
.formulaire input:focus, .formulaire textarea:focus { outline: 2px solid var(--bleu); border-color: var(--bleu); }
.formulaire textarea { resize: vertical; }
.formulaire .case { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; }
.formulaire .case input { margin-top: .35rem; }
.formulaire .bouton { border: 0; font: inherit; font-weight: 500; cursor: pointer; text-transform: uppercase; }
.formulaire .bouton:disabled { opacity: .6; cursor: default; }
.formulaire altcha-widget { --altcha-max-width: 100%; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.retour { margin: 0; font-weight: 500; }
.retour.succes { color: #1a7f37; }
.retour.erreur { color: #c62828; }

/* Pied de page */
.pied { background: var(--fond-gris); text-align: center; color: #000; }
.pied a { color: inherit; text-decoration: none; }
.pied a:hover { color: var(--bleu-fonce); }
/* Ecran large : une seule ligne logo+slogan | horaires | telephone | adresses */
.pied-grille {
  display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.4fr;
  border-top: 1px solid #d5d5d5; border-bottom: 1px solid #d5d5d5;
}
.pied-grille > div { padding: 12px 16px; display: flex; align-items: center; gap: 1.2rem; }
.pied-grille > div + div { border-left: 1px solid #d5d5d5; }
.pied-marque { text-align: left; }
.pied-marque img { width: 96px; height: 96px; flex: none; }
.pied-marque p { margin: 0; font-size: 1rem; }
.pied-info > div { flex: 1; }
.pied-icone {
  width: 48px; height: 48px; flex: none;
  fill: none; stroke: #000; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round;
}
.pied h4 { margin: 0 0 .2rem; font-weight: 500; text-transform: uppercase; font-size: .95rem; }
.pied p { margin: 0; }
.pied .copyright { padding: 14px 16px; font-size: .85rem; }

/* Ecran moyen : logo+slogan sur une ligne, puis 3 colonnes icone au-dessus */
@media (max-width: 1100px) {
  .pied-grille { grid-template-columns: repeat(3, 1fr); }
  .pied-marque { grid-column: 1 / -1; justify-content: center; }
  .pied-grille > .pied-info { flex-direction: column; gap: .4rem; padding: 20px 16px; }
  .pied-grille > .pied-info { border-top: 1px solid #d5d5d5; }
  .pied-grille > div:nth-child(2) { border-left: 0; }
}

/* Bouton WhatsApp flottant */
.flottant {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.flottant svg { width: 28px; height: 28px; fill: #fff; }

/* Page informations legales */
.legal { max-width: 900px; margin: 0 auto; padding: 40px 16px 60px; }
.legal h1 { font-size: 2rem; text-transform: uppercase; text-align: center; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; text-transform: none; }
.legal h3 { font-size: 1rem; text-transform: none; margin-top: 1.5rem; }

/* Mobile : une seule colonne, l'image apres le texte */
@media (max-width: 800px) {
  .bloc { grid-template-columns: 1fr; min-height: 0; }
  .bloc .image { order: 2; min-height: 260px; }
  .texte, .adresses { padding: 40px 16px; }
  .hero { min-height: 0; }
  .hero .image { min-height: 220px; }
  h2 { font-size: 1.5rem; }
  .entete .logo img { height: 32px; }
  .entete nav { gap: 1rem; }
  .support-choix, .pied-grille { grid-template-columns: 1fr; }
  .pied-grille > div + div { border-left: 0; }
  .pied-marque { flex-direction: column; text-align: center; padding: 24px 16px; }
  /* contact : le texte avant le formulaire */
  .contact .image { order: 0; }
  .formulaire .deux { grid-template-columns: 1fr; }
  /* logos : 2 clients / 3 partenaires par ligne */
  .clients { gap: 12px; }
  .clients a { width: calc(50% - 6px); height: 90px; padding: 12px; }
  .partenaires { gap: 10px; padding: 30px 16px; }
  .partenaires img { width: 96px; height: 60px; padding: 8px; }
  /* menu hamburger */
  .burger { display: flex; }
  .entete nav {
    display: none; position: absolute; top: var(--entete); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; box-shadow: 0 4px 8px rgba(0,0,0,.1);
  }
  .entete nav a { padding: 12px 16px; border-top: 1px solid #eee; font-size: 1rem; }
  #menu:checked ~ nav { display: flex; }
  .texte p { text-align: left; }
}
