:root{
  --blue:#f2f3f5;   /* gris clair header + footer */
  --blue2:#f28c28;  /* orange pour les icônes / accents */
  --text:#4f5b66;
  --title:#5a6672;
  --line:#d8dde3;
  --link:#0a2bff;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:#fff;
  color: var(--text);
}

/* Bandeau */
.topbar{
  background: var(--blue);
  height: 72px; 
  display: flex;
  align-items: center;                 /* centrage vertical réel */
  border-bottom: 1px solid rgba(0,0,0,.08);
  justify-content: center;
}
.topbar-inner{
  width:min(1200px, 100%);
  padding: 0 22px;
  display: flex;
  align-items: center; 
}
.brand{display:inline-flex; align-items:center; text-decoration:none}
.brand-logo{
  height: auto;
  width: 230px;
  display:block;
}

/* Fond géométrique */
.page{
  min-height: calc(100vh - 92px - 70px);
  display:flex;
  justify-content:center;
  padding: 40px 18px 24px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.92), rgba(255,255,255,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700'%3E%3Cg fill='none' stroke='%2397c7ff' stroke-opacity='.35' stroke-width='1'%3E%3Cpath d='M80 80 200 20 320 80 200 140Z'/%3E%3Cpath d='M340 110 460 50 580 110 460 170Z'/%3E%3Cpath d='M640 80 760 20 880 80 760 140Z'/%3E%3Cpath d='M900 120 1020 60 1140 120 1020 180Z'/%3E%3Cpath d='M140 250 260 190 380 250 260 310Z'/%3E%3Cpath d='M440 260 560 200 680 260 560 320Z'/%3E%3Cpath d='M760 250 880 190 1000 250 880 310Z'/%3E%3Cpath d='M260 430 380 370 500 430 380 490Z'/%3E%3Cpath d='M560 430 680 370 800 430 680 490Z'/%3E%3Cpath d='M860 430 980 370 1100 430 980 490Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 1200px 700px;
  background-position: 0 0, center 40px;
}

.panel{
  width: min(980px, 100%);
  text-align:center;
  padding: 12px 10px 26px;
}

.cone{color: var(--blue2); margin-bottom: 8px}

h1{
  margin: 6px 0 10px;
  font-weight: 500;
  color: var(--title);
  font-size: clamp(30px, 4vw, 46px);
}

.divider{
  height: 1px;
  background: var(--line);
  width: min(520px, 85%);
  margin: 14px auto 22px;
  position: relative;
}
.divider::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  width: 54%;
  height: 2px;
  background: rgba(0,0,0,.08);
  filter: blur(1px);
}

.subtitle{
  font-size: 18px;
  color: var(--title);
  margin: 0 0 22px;
  font-weight: 500;
}

/* Icône unique */
.icons.one{
  display:flex;
  justify-content:center;
  margin: 18px auto 0;
}
.icon-card{
  text-decoration:none;
  color: var(--link);
  display:grid;
  gap: 10px;
  justify-items:center;
  padding: 8px 14px;
}
.icon-card:hover .label{ text-decoration: underline; }
.icon{ color: var(--blue2); opacity: .95; }
.label{ font-size: 18px; font-weight: 500; }

/* Formulaire */
.contact-panel{ text-align:center; }
.form{
  margin: 0 auto;
  width: min(860px, 100%);
  text-align:left;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.6);
  border-radius: 12px;
  padding: 16px;
}
.form label{
  display:grid;
  gap:6px;
  font-size: 14px;
  color: #5c6772;
  margin-bottom: 12px;
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.16);
  background: #fff;
  font-size: 14px;
}
textarea{min-height: 120px; resize: vertical}
.actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Boutons */
.btn{
  appearance:none;
  border: 0;
  cursor:pointer;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--blue2);
  color:#fff;
  font-weight: 600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn.secondary{
  background: transparent;
  border: 1px solid rgba(10,43,255,.35);
  color: var(--blue2);
}

.hint{
  margin: 12px 0 0;
  color: #6d7782;
  line-height: 1.5;
  font-size: 14px;
}
a{ color: var(--link); }

.hp{ display:none; } /* champ anti-spam */

/* Footer */
.footer{
  background: var(--blue);
  height: 70px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#3a3f45;
  border-top: 1px solid rgba(0,0,0,.08);
}
.footer-inner{
  padding: 0 18px;
  opacity: .95;
  font-size: 14px;
}

@media (max-width: 600x){
  .row{ grid-template-columns: 1fr; }
  .brand-logo{ height: 56px; }
}

.hero-img-wrap{
  display:flex;
  justify-content:center;
  margin-bottom: 10px;
}

.hero-img{
  width: min(220px, 60vw);
  height: auto;
  display:block;
}

