/* styles.css */
:root{
  --green: #88c542;         /* approx. "vert MyDGP" */
  --green-dark: #6aa82e;
  --green-soft: #b7de8b;
  --text: #1e1e1e;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e7e7e7;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 14px;
  --max: 1200px;
}

*{ box-sizing: border-box; }
html,body{ 
  margin:0; 
  padding:0; 
  width: 100%;
  overflow-x: hidden;
}
body{
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.35;
  min-height: 100vh;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; height:auto; display:block; }

/* Prévention du débordement horizontal */
main, section, article, div, header, footer {
  max-width: 100%;
}

.container{
  /* Fallback pour les navigateurs qui ne supportent pas min() */
  width: 100%;
  max-width: var(--max);
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
  /* Version moderne pour les navigateurs récents */
  width: min(var(--max), calc(100% - 32px));
  padding-left: 0;
  padding-right: 0;
}

/* Header */
.site-header{
  /* Fallback pour les navigateurs qui ne supportent pas sticky */
  position: relative;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f5f5f5;
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  min-width: 0;         /* annule le min-width precedent */
}

.brand-img{
  height: 64px;         /* ajuste si tu veux plus petit/grand */
  width: auto;
  display: block;
}

.brand-title{
  display:flex;
  flex-direction:column;
  gap: 2px;
}

.brand-title .name{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-title .tagline{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* Boutons du header (menu) */
.nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--green-soft);
  border-radius: 12px;
  background: #ffffff;
  font-weight: 700;
  min-width: 150px;

  /* animation */
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}

/* Hover souris + focus clavier */
.nav a:hover,
.nav a:focus-visible{
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  transform: translateY(-1px);
}

/* Etat "page active" */
.nav a.active{
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(136,197,66,.25);
}

/* Hero */
.hero{
  position: relative;
  min-height: 430px;

  /* Image de fond + voile pour garder le texte lisible */
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.45) 55%, rgba(255,255,255,.15)),
    url("../assets/photo_acceuil.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid #e7e7e7;
}


.hero-inner{
  padding: 34px 0 28px;
}

.hero-content{
  width: min(720px, 100%);
  padding: 18px 0;
}

.hero h1{
  margin: 0 0 10px;
  font-size: 46px;
  font-weight: 900;
  color: #2a2a2a;
}

.hero p{
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #3a3a3a;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(136,197,66,.35);
}

.cta:hover{ background: var(--green-dark); }

.hero-micro{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 800;
  color:#2c2c2c;
  text-transform: uppercase;
  font-size: 14px;
}

.hero-micro span{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
}

/* Section title */
.section-title{
  text-align:center;
  padding: 26px 0 12px;
}

.section-title h2{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.section-title .underline{
  width: 360px;
  max-width: 80%;
  height: 4px;
  background: var(--green);
  margin: 10px auto 0;
  border-radius: 999px;
}

/* Pillars */
.pillars{
  padding: 18px 0 34px;
}

.pillar-grid{
  display:flex;
  gap: 26px;
  justify-content:space-between;
  flex-wrap: wrap;
}

.pillar{
  width: 200px;
  flex: 1 1 180px;
  text-align:center;
}

.pillar .ring{
  width: 104px;
  height: 104px;
  margin: 0 auto 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}

.ring-icon{
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

.pillar svg{
  width: 54px;
  height: 54px;
  stroke: #111;
  fill: none;
  stroke-width: 2;
}

.pillar .label{
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.pillar .sub{
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
  font-size: 13px;
}

/* Pages content */
.page{
  padding: 26px 0 50px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.h1{
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 8px;
}

.kicker{
  height: 4px;
  width: 140px;
  background: var(--green);
  border-radius: 999px;
  margin: 6px 0 18px;
}

.lead{
  color: #2c2c2c;
  font-size: 16px;
}

/* Ressources / equipe */
.team-hero{
  margin-top: 16px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position:relative;
  min-height: 420px;
  background: url("../assets/equipe.jpg") center/cover no-repeat;
}

.team-overlay{
  position:absolute;
  inset: 0;
  display:flex;
  align-items: flex-start;
  justify-content:flex-end;
  padding: 22px;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,0) 100%);
}

.team-box{
  width: min(520px, 100%);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  padding: 18px 18px 14px;
  color: #fff;
  backdrop-filter: blur(2px);
}

.team-box h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}

.team-box ul{
  margin: 0;
  padding-left: 18px;
  font-weight: 700;
}

/* Diagnostic pages */
.diag-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px 0;
}

.progress-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 6px;
  min-width: 280px;
}

.progress-label{
  font-weight: 900;
  color: #2d2d2d;
  font-size: 14px;
}

.progress{
  width: 280px;
  height: 10px;
  background: #d9d9d9;
  border-radius: 999px;
  overflow:hidden;
}

.progress > div{
  width: 0%;
  height: 100%;
  background: var(--green);
}

.diag-body{
  padding: 6px 0 40px;
}

.diag-grid{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;
  align-items:start;
}

.pillar-badge{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
  padding-top: 12px;
}

.pillar-badge .ring{
  width: 150px;
  height: 150px;
  font-size: 64px;
}

.ring{
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon{
  width: 130px;          /* taille proche de ton SVG actuel */
  height: 130px;
  object-fit: contain;
  display: block;
}


.pillar-title{
  font-size: 34px;
  font-weight: 900;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.question{
  margin-top: 14px;
  font-size: 26px;
  font-weight: 900;
}

.answers{
  margin-top: 18px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.answer-btn{
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid var(--green-soft);
  background:#fff;
  font-weight: 900;
  text-align:center;
}

.answer-btn:hover{ border-color: var(--green); }

.answer-btn.wide{ min-width: 374px; }

.diag-actions{
  margin-top: 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}

.primary-btn{
  display:inline-flex;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--green);
  color:#fff;
  font-weight: 900;
  border: none;
  cursor:pointer;
}

.primary-btn:hover{ background: var(--green-dark); }

.link-btn{
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 2px solid #2d2d2d;
  padding-bottom: 2px;
}

/* Identite form */
.form-card{
  max-width: 980px;
  margin: 0 auto;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #f7f7f7;
}

.form-head{
  padding: 20px 24px 10px;
  text-align:center;
}

.form-head h1{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 18px 24px 12px;
}

fieldset{
  border: none;
  padding: 0;
  margin: 0;
}

legend{
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 18px;
}

.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-bottom: 12px;
}

label{
  font-size: 13px;
  font-weight: 800;
  color: #3a3a3a;
}

input, select{
  height: 44px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  padding: 0 16px;
  background:#fff;
  font-weight: 700;
  outline: none;
}

input:focus, select:focus{
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(136,197,66,.22);
}

.form-footer{
  padding: 10px 24px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.conf{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px){
  .hero h1{ font-size: 36px; }
  .nav a{ min-width: 140px; }
  .diag-grid{ grid-template-columns: 1fr; }
  .progress-wrap{ align-items:flex-start; }
  .form-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .hero{ min-height: 460px; }
  .hero h1{ font-size: 30px; }
  .answer-btn{ min-width: 100%; }
  .answer-btn.wide{ min-width: 100%; }
  .progress{ width: 100%; }
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
}

.team-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; /* garde des blocs propres */
  background: #111;
}

.team-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}

/* Overlay masque par defaut */
.team-overlay{
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background: linear-gradient(180deg,
    rgba(0,0,0,.70) 0%,
    rgba(0,0,0,.35) 55%,
    rgba(0,0,0,.12) 100%);

  color: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}

/* Apparition au hover (et au focus clavier) */
.team-card:hover .team-overlay,
.team-card:focus-within .team-overlay{
  opacity: 1;
}

.team-card:hover img{
  transform: scale(1.07);
}

/* Styles texte */
.team-badge{
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 10px;
  border: 2px solid #a8d66f; /* vert proche */
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 10px;
  background: rgba(0,0,0,.25);
}

.team-title{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 16px;
  position: relative;
}

.team-title::after{
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: #a8d66f;
  border-radius: 999px;
  margin-top: 8px;
}

.team-text{
  margin: 0;
  font-weight: 1;
  line-height: 1.35;
  color: rgba(255,255,255,.92);
}

/* Responsive */
@media (max-width: 980px){
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .team-grid{ grid-template-columns: 1fr; }
}


/* contact.css */
:root{
  --green: #8CC63E;
  --green-dark: #6FAE2E;
  --border: #2F2F2F;
  --muted: #6B6B6B;
  --bg: #FFFFFF;
  --panel: #F3F3F3;
  --line: #3B7FA6; /* bleu separateur */
  --radius: 18px;
  --shadow: 0 8px 22px rgba(0,0,0,.10);
  --maxw: 1120px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: var(--font);
  color: #1E1E1E;
  background: var(--bg);
}

/* HEADER */
.site-header{
  background: #fff;
}
.header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-logo{
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.brand-title{
  font-size: 44px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1;
}
.brand-subtitle{
  margin-top: 6px;
  font-size: 14px;
  color: #2E2E2E;
  position: relative;
  padding-top: 8px;
}
.brand-subtitle::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 2px;
  background: var(--green);
}
.nav{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 18px;
  border: 2px solid var(--green);
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  background: #fff;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-btn:hover{
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}
.nav-btn.is-active{
  box-shadow: 0 0 0 3px rgba(140,198,62,.25) inset;
}
.header-divider{
  height: 4px;
  background: var(--line);
}

/* PAGE */
.page{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 20px 60px;
}

.contact-head h1{
  margin: 0;
  font-size: 44px;
  font-weight: 800;
  color: #3A3A3A;
}
.contact-head p{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}

/* FORM */
.contact-form{
  padding: 6px 0 0;
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.field label{
  display: block;
  font-weight: 700;
  margin: 0 0 10px;
  color: #2F2F2F;
  font-size: 18px;
}
.field input,
.field textarea{
  width: 100%;
  border: 2px solid #2B2B2B;
  border-radius: 22px;
  background: #EDEDED;
  padding: 16px 18px;
  font-size: 16px;
  outline: none;
}
.field textarea{
  border-radius: 18px;
  min-height: 170px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus{
  box-shadow: 0 0 0 4px rgba(140,198,62,.22);
  border-color: #1F1F1F;
}

.submit{
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
}
.submit:hover{
  background: var(--green-dark);
  transform: translateY(-1px);
}
.submit:active{
  transform: translateY(0px);
}

/* CARD */
.contact-card{
  border: 2px solid #2B2B2B;
  border-radius: 18px;
  padding: 18px 18px 14px;
  background: #F7F7F7;
  box-shadow: var(--shadow);
}
.contact-card h2{
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
  color: #3A3A3A;
}

.card-list{
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 14px;
}
.card-item{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #2D2D2D;
}
.card-item .ico{
  width: 46px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #2B2B2B;
}
.card-item svg{
  display: block;
}

.socials{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}
.social{
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: inline-flex;
  justify-content: center;
}

.social-icon{
  width: 104px;             /* taille du logo */
  height: 104px;
  object-fit: contain;
  display: block;
}

.social-badge{
  width: 92px;
  height: 64px;
  border-radius: 14px;
  border: 2px solid #2B2B2B;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
  .social-badge{ width: 100%; }
  .nav-btn{ min-width: 120px; }
}
@media (max-width: 720px){
  .brand-title{ font-size: 36px; }
  .contact-head h1{ font-size: 36px; }
  .form-row{ grid-template-columns: 1fr; }
}


/* diagnostic-identite.css */
:root{
  --green: #8CC63E;
  --green-dark: #6FAE2E;
  --text: #232323;
  --muted: #6B6B6B;
  --line: #D9D9D9;
  --panel: #FFFFFF;
  --input: #EDEDED;
  --border: #1F1F1F;
  --maxw: 1180px;
  --radius: 22px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}

/* TOP BAR */
.topbar{
  background: #fff;
}
.topbar-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 22px 12px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  align-items: center;
  gap: 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 320px;
}
.brand-logo{
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.brand-title{
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .2px;
}
.brand-subtitle{
  margin-top: 8px;
  font-size: 14px;
  color: #2E2E2E;
  position: relative;
  padding-top: 8px;
}
.brand-subtitle::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 2px;
  background: var(--green);
}

/* Center tab/button */
.top-center{
  display: flex;
  justify-content: center;
}
.big-tab{
  width: min(560px, 100%);
  text-align: center;
  padding: 20px 24px;
  border: 3px solid var(--green);
  border-radius: 12px;
  font-size: 34px;
  font-weight: 900;
  color: #3B3B3B;
  background: #fff;
}

/* Progress */
.progress-wrap{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.progress-label{
  font-weight: 800;
  letter-spacing: .6px;
  color: #3A3A3A;
}
.progress-bar{
  width: 340px;
  max-width: 100%;
  height: 14px;
  background: #E7E7E7;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill{
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 999px;
}

.top-sep{
  height: 3px;
  background: #E5E5E5;
}

/* PAGE */
.page{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 22px 70px;
}

.page-title{
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  margin: 26px 0 34px;
  color: #3A3A3A;
}

/* FORM GRID */
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.panel h2{
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
  color: #3A3A3A;
}

.field{
  margin-top: 16px;
}
.field label{
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #3A3A3A;
  margin: 0 0 10px;
}

.field input{
  width: 100%;
  height: 52px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--input);
  padding: 0 18px;
  font-size: 16px;
  outline: none;
}
.field input:focus{
  box-shadow: 0 0 0 4px rgba(140,198,62,.22);
}

.cta-row{
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
}
.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .4px;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
  transition: transform .18s ease, background .18s ease;
}
.cta:hover{
  background: var(--green-dark);
  transform: translateY(-1px);
}
.cta:active{
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1020px){
  .topbar-inner{
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }
  .progress-wrap{
    align-items: center;
  }
  .page-title{
    font-size: 32px;
  }
  .form-grid{
    grid-template-columns: 1fr;
    gap: 44px;
  }
}


:root{
  --green: #97C844;          /* bordures */
  --green-soft: #E6F3D0;     /* fond leger (onglets) */
  --blue-line: #528EB1;      /* trait sous header */
  --text: #353838;           /* titres + texte */
  --muted: #4F4F4F;
  --lead: #3581C5;           /* sous-titre */
  --container: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.topbar{
  background: #fff;
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 10px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__tagline{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #2b2b2b;
}

.nav{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-width: 120px;
  border: 2px solid var(--green);
  background: #fff;
  color: #2d2d2d;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  box-shadow:
    0 1px 0 rgba(151, 200, 68, 0.35),
    0 0 0 1px rgba(151, 200, 68, 0.08) inset;
}

.nav__item.is-active{
  background: var(--green-soft);
  font-weight: 800;
}

.topbar__rule{
  height: 3px;
  background: var(--blue-line);
}

/* Main */
.main{
  padding: 22px 0 40px;
}

.page-title{
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.page-lead{
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--lead);
}

/* Two columns */
.mission{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.mission__text{
  margin: 0 0 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  max-width: 520px;
}

.section-title{
  margin: 14px 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.mission__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

/* Values */
.values{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 520px;
}

.value{
  text-align: center;
  padding-top: 8px;
}

.value__icon{
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: #000;
}

.value__title{
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.value__desc{
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #4b4b4b;
}

/* Responsive */
@media (max-width: 900px){
  .mission{
    grid-template-columns: 1fr;
  }
  .mission__text, .values{
    max-width: 100%;
  }
  .nav__item{
    min-width: unset;
  }
}

.value__icon-img{
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}


