:root {
    --green-600: #2e8b57;
    /* sea green */
    --green-500: #34a76b;
    --green-100: #eaf7ee;
    --white: #ffffff;
    --muted: #6b7280;
    --radius: 14px;
    --glass: rgba(255, 255, 255, 0.6);
    --max-width: 1100px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #0f172a;
    background: linear-gradient(180deg, var(--green-100), #f9fffb);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px
}

/* Header */
header {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: transparent
}

.brand {
    display: flex;
    gap: 18px;
    align-items: center
}

.photo-circle {
  width: 192px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 6px solid var(--white);
  flex-shrink: 0;
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .photo-circle {
    width: 120px;
  }
}

@media (max-width: 600px) {
  .photo-circle {
    width: 90px;
  }
}

.photo-circle .initials {
    font-weight: 700;
    color: var(--white);
    font-size: 24px
}

.upload-hint {
    position: absolute;
    right: -8px;
    bottom: -8px;
    background: var(--white);
    color: var(--green-600);
    font-weight: 700;
    padding: 6px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.04);
    font-size: 12px
}

.title {
    font-size: 28px;
    font-weight: 700
}

nav {
    display: flex;
    gap: 12px
}

nav a {
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--green-700);
    color: var(--muted);
    font-weight: 600
}

nav a.active {
    background: var(--white);
    color: var(--green-600);
    box-shadow: var(--shadow)
}

/* Hero / Bienvenue */
.hero {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
    padding: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.9));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 10px
}

.info-side {
    display: flex;
    flex-direction: column;
    gap: 16px; /* espace vertical entre les deux cartes */
}

.welcome {
    padding: 12px
}

.welcome h1 {
    margin: 0;
    font-size: 28px;
    color: var(--green-600)
}

.welcome p {
    color: var(--muted);
    line-height: 1.6
}

.cta {
    margin-top: 16px;
    display: flex;
    gap: 8px
}

.btn {
    background: var(--green-600);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700
}

.btn.ghost {
    background: transparent;
    color: var(--green-600);
    border: 2px solid var(--green-100)
}

/* Sections */
section {
    margin-top: 28px
}

.card {
    background: var(--white);
    padding: 18px;
    border-radius: 14px;
    box-shadow: var(--shadow)
}

h2 {
    margin: 0 0 12px 0;
    color: var(--green-600)
}

/* Spécialités */
.skills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.skill {
    background: var(--green-100);
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--green-600)
}

/* Bon à savoir */
.faqs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px
}

.faq {
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #fbfffb);
    border: 1px solid rgba(0, 0, 0, 0.03)
}

/* Tarifs */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

th {
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 700px) {
  #tarifs table {
    table-layout: fixed;
  }

  #tarifs th:nth-child(1),
  #tarifs td:nth-child(1) {
    width: 45%;
    word-wrap: break-word;
  }

  #tarifs th:nth-child(2),
  #tarifs td:nth-child(2) {
    width: 30%;
  }

  #tarifs th:nth-child(3),
  #tarifs td:nth-child(3) {
    width: 25%;
  }

  #tarifs th,
  #tarifs td {
    font-size: 14px;
    padding: 10px 8px;
  }
}

/* --- Section Remboursements --- */
#remboursements {
  margin-top: 28px;
}

.mutuelles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.mutuelle {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mutuelle:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mutuelle h3 {
  margin: 0;
  color: var(--green-600);
  font-size: 18px;
}

.mutuelle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pdf-link {
  align-self: flex-start;
  background: var(--green-600);
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
  font-size: 14px;
}

.pdf-link:hover {
  background: var(--green-500);
}

/* Responsive */
@media (max-width: 700px) {
  .mutuelle h3 {
    font-size: 16px;
  }

  .pdf-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* Lieux + carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px 40px;
}

.slides {
  display: flex;
  transition: transform 400ms ease;
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px 40px;
}

.slide img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.slide .meta {
  flex: 1;
  color: var(--muted);
}

.slide .meta h3 {
  color: var(--green-600);
  margin-bottom: 6px;
}

/* Flèches de navigation */
.carousel .controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 10px;
}

.carousel button {
  pointer-events: auto;
  background: var(--white);
  border-radius: 999px;
  border: none;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel button:hover {
  background: var(--green-100);
}

/* Dots */
.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dot.active {
  background: var(--green-600);
}

@media (max-width: 700px) {
  .slide {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .slide img {
    width: 100%;
    height: auto;
    max-width: 380px;
  }

  .slide .meta {
    margin-top: 12px;
  }
}

/* Bottom boxes */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.contact-row {
    display: flex;
    gap: 8px;
    align-items: center
}

#contact {
  display: flex;
  flex-direction: column;
  gap: 24px; /* espace entre les infos et le formulaire */
}

/* Contact form */
form {
    display: flex;
    flex-direction: column;
    gap: 14px; /* espace entre tous les champs */
}

/* Champ ville */
select {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e6eef0;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

input,
textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Textarea fixe et bien aligné */
textarea {
  width: 100%;
  height: 160px; /* hauteur prédéfinie */
  resize: none;  /* empêche l’agrandissement */
  margin-top: 6px;
  box-sizing: border-box;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

footer {
    margin-top: 28px;
    padding: 12px;
    text-align: center;
    color: var(--muted)
}

/* Sticky floating nav */
.fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: var(--green-600);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.18);
    cursor: pointer;
    z-index: 1200
}

.fab.expanded {
    width: 240px;
    height: auto;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
}

.fab .links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%
}

.fab a {
    color: var(--white);
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700
}

.fab-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

#fabClose {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
}

/* Responsive */
@media (max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 14px
    }

    .two-col {
        grid-template-columns: 1fr
    }

    nav {
        display: none
    }

    header {
        gap: 12px
    }

    .photo-circle {
        width: 76px;
        height: 76px
    }
}

.map-link {
    display: inline-block; /* Permet d'appliquer une largeur/hauteur */
    padding: 10px 15px;
    background-color: #4285F4; /* Le bleu de Google */
    color: white;
    text-decoration: none; /* Enlève le soulignement */
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

.map-link:hover {
    background-color: #3367D6;
}