:root{
  --bg:#cfcfcf;
  --page:#ffffff;

  --dark:#3a3a3a;
  --dark2:#2a2a2a;

  --green:#2c8b3c;
  --green2:#1f6f2c;

  --purple:#8f83c9;
  --purple2:#6f65ad;

  --red:#d33a34;
  --blue:#2b63ff;

  --text:#1f1f1f;
  --muted:#6c6c6c;

  --border:#e7e7e7;

  --radius:8px;
  --radius-sm:4px;

  --shadow:0 10px 28px rgba(0,0,0,.18);
  --shadow-soft:0 8px 18px rgba(0,0,0,.10);

  --focus:0 0 0 3px rgba(43,99,255,.25);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:#111;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.site-shell{
  background:var(--bg);
  min-height:100vh;
  padding:14px 0 0;
}

.container{
  width:min(980px, calc(100% - 24px));
  margin:0 auto;
}

/* Header */
.header-top{
  background:linear-gradient(180deg, #3f3f3f, var(--dark2));
  border-bottom:2px solid #1b1b1b;
}

.header-top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0;
  gap:10px;
}

.header-logos{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-logos img{
  height:32px;
  width:auto;
  background:#fff;
  padding:2px 6px;
  border-radius:3px;
  box-shadow:0 3px 8px rgba(0,0,0,.20);
}

.social{
  display:inline-flex;
  width:30px;height:30px;
  align-items:center;justify-content:center;
  background:rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:800;
  transition:transform .12s ease, background .12s ease;
}
.social:hover{ transform:translateY(-1px); background:rgba(255,255,255,.18); }
.social:focus-visible{ outline:none; box-shadow:var(--focus); }

/* Nav */
.nav{
  display:flex;
  gap:6px;
  background:linear-gradient(#2fa44a, var(--green2));
  padding:6px;
  border-radius:6px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16), 0 6px 14px rgba(0,0,0,.18);
}

.nav-link{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  padding:7px 11px;
  border-radius:5px;
  background:rgba(0,0,0,.18);
  transition:background .12s ease, transform .12s ease;
}
.nav-link:hover{ background:rgba(255,255,255,.18); transform:translateY(-1px); }
.nav-link:focus-visible{ outline:none; box-shadow:var(--focus); }
.nav-link.is-active{
  background:rgba(255,255,255,.22);
  font-weight:800;
}

/* Title strip */
.header-title{
  background:#f2f2f2;
  border-bottom:1px solid #ddd;
}
.title-chip{
  padding:9px 0;
  text-align:center;
  font-weight:900;
  letter-spacing:.8px;
  color:#333;
}

/* Purple band */
.header-band{
  background:linear-gradient(180deg, var(--purple), var(--purple2));
  padding:10px 0 8px;
}

.band-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:10px;
  align-items:stretch;
}

/* Services */
.services-box{
  background:linear-gradient(180deg, #cf1f1f, #a80f0f);
  color:#fff;
  border-radius:10px;
  padding:10px 10px 12px;
  box-shadow:var(--shadow);
}

.services-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;
}

.services-phone{
  margin:8px 0 10px;
  font-size:16px;
  font-weight:900;
}

.services-cta{
  display:block;
  text-align:center;
  background:#fff;
  color:#a20000;
  text-decoration:none;
  font-weight:900;
  padding:9px 10px;
  border-radius:8px;
  transition:transform .12s ease, box-shadow .12s ease;
}
.services-cta:hover{ transform:translateY(-1px); box-shadow:0 8px 16px rgba(0,0,0,.18); }
.services-cta:focus-visible{ outline:none; box-shadow:var(--focus); }

/* Banner */
.bath-banner{
  background:linear-gradient(180deg, #5e55a3, #4d4690);
  color:#fff;
  border-radius:10px;
  padding:12px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.bath-title{
  font-weight:900;
  text-align:center;
  font-size:14px;
}

.bath-cta-row{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}

/* Buttons */
.btn{
  border:0;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:8px;
  font-weight:900;
  font-size:12px;
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
  user-select:none;
}
.btn:hover{ transform:translateY(-1px); box-shadow:0 10px 18px rgba(0,0,0,.18); }
.btn:active{ transform:translateY(0px); filter:brightness(.98); }
.btn:focus-visible{ outline:none; box-shadow:var(--focus); }

.btn.red{ background:var(--red); color:#fff; }
.btn.dark{ background:#2d2d2d; color:#fff; }

.btn-primary{ background:var(--blue); color:#fff; }
.btn-soft{
  background:#eef2ff;
  color:#1d3fff;
  box-shadow:inset 0 0 0 1px rgba(43,99,255,.18);
}

/* Red strip */
.mandataire{
  margin-top:8px;
  background:linear-gradient(180deg, #e23a34, #c82f2a);
  color:#fff;
  border-radius:8px;
  padding:7px 12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:12px;
  font-weight:900;
}

/* Page box */
.page{
  width:min(980px, calc(100% - 24px));
  margin:0 auto 16px;
  background:var(--page);
  box-shadow:var(--shadow);
  border-radius:6px;
  padding-bottom:20px;
}

/* Sections */
.values{
  margin-top:14px;
  padding:18px 16px 20px;
  background:linear-gradient(180deg, #f7f8ff, #ffffff);
  border-top:1px solid #eee;
}
.values-page-top{ margin-top:0; }
.values-head{ text-align:center; }

.values-title{
  font-weight:900;
  color:#1a5bff;
  letter-spacing:.6px;
}
.values-sub{
  margin-top:6px;
  color:#777;
  font-size:12px;
}

.values-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
}

.val{
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 10px;
  text-align:center;
  box-shadow:var(--shadow-soft);
}
.val-ico{ font-size:20px; }
.val-h{ font-weight:900; margin-top:6px; font-size:13px; }
.val-p{ color:#666; font-size:11px; line-height:1.35; margin-top:6px; }

/* Centered block helper */
.contact-wrap{
  margin-top:14px;
  display:flex;
  justify-content:center;
}

/* Form system */
.form{
  width:min(560px, 100%);
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px;
  box-shadow:var(--shadow-soft);
}
.form-wide{ width:min(720px, 100%); }

.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.field{ display:flex; flex-direction:column; gap:6px; }
.field label{
  font-size:12px;
  font-weight:800;
  color:#303030;
}

.field input,
.field textarea{
  width:100%;
  border:1px solid #dcdcdc;
  border-radius:10px;
  padding:10px 10px;
  font-size:12px;
  background:#fff;
  transition:border-color .12s ease, box-shadow .12s ease;
}
.field textarea{ resize:vertical; }

.field input:focus,
.field textarea:focus{
  outline:none;
  border-color:rgba(43,99,255,.55);
  box-shadow:var(--focus);
}

.field-full{ grid-column:1 / -1; }

.checkbox{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:11px;
  color:#555;
  line-height:1.25;
}
.checkbox input{ margin-top:2px; }

.form-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  padding-top:4px;
}

/* Notices */
.notice-wrap{ margin:14px auto 0; width:min(720px, 100%); }
.notice{
  border-radius:12px;
  padding:12px 14px;
  border:1px solid var(--border);
  box-shadow:var(--shadow-soft);
  background:#fff;
  font-size:12px;
}
.notice-title{ font-weight:900; margin-bottom:6px; }
.notice-list{ margin:0; padding-left:18px; }
.notice-list li{ margin:2px 0; }

.notice-success{
  border-color:rgba(46, 160, 67, .25);
  background:linear-gradient(180deg, #effaf1, #ffffff);
}
.notice-error{
  border-color:rgba(211, 58, 52, .25);
  background:linear-gradient(180deg, #fff1f0, #ffffff);
}

/* Gallery reusable */
.turnkey{ padding:18px 16px 0; }
.turnkey-title{ text-align:center; font-weight:900; color:#444; margin:0; }
.turnkey-sub{ text-align:center; color:#666; margin:6px 0 12px; font-size:12px; }
.turnkey-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
  align-items:center;
}
.tk-img{
  border-radius:12px;
  overflow:hidden;
  border:6px solid #fff;
  box-shadow:var(--shadow-soft);
  background:#eee;
}
.tk-img.round{
  border-radius:999px;
  width:120px;
  height:120px;
  justify-self:center;
}
.tk-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.turnkey-text{ text-align:center; margin:14px 0 10px; }
.tk-h{ font-weight:900; }
.tk-red{ color:#c00000; font-weight:900; margin-top:4px; }
.tk-list{ color:#666; font-size:12px; margin-top:6px; }

/* Footer */
.footer{
  background:linear-gradient(180deg, #757575, #5f5f5f);
  color:#eee;
  padding:12px 0;
  margin-top:10px;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  align-items:center;
}

.foot-center{ display:flex; gap:10px; }
.foot-center a{ color:#fff; text-decoration:none; opacity:.95; }
.foot-center a:hover{ text-decoration:underline; opacity:1; }
.foot-right{ white-space:nowrap; }

/* Responsive */
@media (max-width: 980px){
  .band-row{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:repeat(2, 1fr); }
  .form-grid{ grid-template-columns:1fr; }
}

@media (max-width: 520px){
  .header-top-row{ flex-wrap:wrap; }
  .mandataire{ flex-direction:column; align-items:flex-start; }
}
