:root {
  --teal: #009999;
  --teal-dark: #007777;
  --bg-light: #f5f5f5;
  --text: #333;
  --text2: #666;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* ---------- HEADER + MENU ---------- */
.header {
  background: var(--bg-light);
  text-align: center;
  padding-bottom: 2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 600;
}

.logo img {
  height: 40px;           /* ajuste selon ton SVG */
  margin-right: 0.6rem;
  display: block;
}

.logo span {
  display: inline-block;
  vertical-align: middle;
}


.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--teal); }

/* --- burger --- */
#menu-toggle { display: none; }
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--teal);
}

/* ---------- HERO ---------- */
.hero {
  padding: 3rem 1rem 2rem;
}
.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--teal);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
}
.btn:hover { background: var(--teal-dark); }

/* ---------- SECTIONS ---------- */
section {
  text-align: center;
  padding: 3rem 1rem;
}
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 2rem;
}
.card, .profile {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.card img {
  width: 120px;            /* taille visible comme sur l’exemple */
  height: auto;
  border-radius: 50%;      /* garde la forme ronde */
  background: #E0F2F2;     /* cercle vert d’eau derrière l’icône */
  padding: 10px;           /* respiration visuelle */
  display: inline-block;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 0.8rem;
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

/* ---------- INFOS ---------- */
.infos {
  background: var(--teal);
  color: #fff;
}
.infos h3 { color: #fff; }

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  background: var(--teal-dark);
  color: #fff;
  padding: 1rem;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav { 
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    border-radius: 0 0 0 var(--radius);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    display: none;
  }
  .menu-icon { display: block; }
  #menu-toggle:checked + .menu-icon + .nav { display: flex; }
}
/* ----- PAGE PRATICIEN ----- */
.header.small { background: var(--bg-light); padding-bottom: 1rem; }
.profile-page {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 700px;
  margin: auto;
}
.profile-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--teal);
}
.bio {
  text-align: left;
  margin: 2rem auto;
  line-height: 1.7;
  color: var(--text2);
}

/* --------- PAGE APPROCHE --------- */
.header.small { background: var(--bg-light); padding-bottom: 1rem; }
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.intro { text-align: center; margin-bottom: 2rem; }
.lead { color: var(--text2); max-width: 800px; margin: 0.5rem auto 0; }

.tiles {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1rem;
}
.tile {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.tile img {
  width: 96px; height: 96px; border-radius: 50%;
  background: #E0F2F2; padding: 10px; object-fit: contain;
  margin-bottom: 0.75rem;
}
.tile h2 { margin: 0.25rem 0 0.5rem; color: var(--teal); }
.tile p { color: var(--text2); margin: 0 0 0.75rem; }
.tile ul { text-align: left; margin: 0 auto 1rem; padding-left: 1.2rem; max-width: 320px; }
.cta-center { text-align: center; margin-top: 2rem; }
.nav a.active { color: var(--teal); font-weight: 600; }

/* --- HERO image avec slogan --- */
.hero-banner {
  position: relative;
  min-height: 48vh;                /* ajuste 40–60vh selon rendu */
  display: grid;
  place-items: center;             /* centre vertical + horizontal */
  padding: 3rem 1rem;
  color: #fff;
  text-align: center;
  background: center / cover no-repeat url('img/hero.png');
}
/*.hero-banner::before{              /* voile pour lisibilité du texte */
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    rgba(0,0,0,.35), rgba(0,0,0,.25)
  );
}
*/

.hero-banner p{
  position: relative;              /* au-dessus du voile */
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.3;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* on retire le bouton hérité si présent ailleurs */
.hero .btn{ display:none; }

/* HOME: header transparent pour la bannière */
.header { background: transparent; padding-bottom: 0; }

:root { --avatar-size: 160px; }      /* taille des portraits */
@media (max-width: 640px){ :root { --avatar-size: 120px; } }

.team .profile img{
  width: var(--avatar-size);
  height: var(--avatar-size);        /* force un carré */
  border-radius: 50%;                /* cercle parfait */
  object-fit: cover;                 /* recadre sans déformer */
  object-position: center;           /* centre le visage */
  display: block;
  border: 4px solid var(--teal);     /* optionnel : liseré */
}

/* --- Portraits de l’équipe : cercles centrés --- */
.team .profile {
  text-align: center;          /* centre tout le contenu du bloc */
  display: flex;
  flex-direction: column;
  align-items: center;         /* centre horizontalement l’image */
}

.team .profile img {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 4px solid var(--teal);
  margin-bottom: 1rem;         /* espace sous la photo */
}


/* --- CONTACT --- */
.contact-page { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.contact-card { background: var(--bg-light); border-radius: var(--radius); padding: 1rem 1.25rem; display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; }
.contact-card .avatar { width:96px; height:96px; border-radius:50%; object-fit:cover; border:4px solid var(--teal); }
.contact-card .info h2 { margin:.1rem 0 .25rem; font-size:1.15rem; }
.contact-card .info h2 span { color: var(--text2); font-weight:500; }
.reveal { border:2px solid var(--teal); background:transparent; color:var(--teal); padding:.4rem .8rem; border-radius:6px; cursor:pointer; }
.reveal:hover { background: var(--teal); color:#fff; }
a.phone { color: var(--text); font-weight:600; text-decoration:none; }
a.phone:hover { text-decoration: underline; }
