@charset "UTF-8";
/* ==================================================
   style.css ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ Version finale tout-en-un
   1. RESET GLOBAL
   2. UTILITAIRES
   3. HEADER & NAVIGATION
   4. HERO SECTION
   5. CAROUSEL SWIPER (16/9)
   6. BUTTONS
   7. MAIN CONTENT
   8. PRICING & FLIP-CARDS
   9. BACK-TO-TOP
  10. FOOTER
  11. MEDIA QUERIES
================================================== */

/* 1. RESET GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #C8E6C9, #A5D6A7);
  color: #333;
  line-height: 1.6;
}
h1, h2, h3 {
  margin-bottom: 15px;
}
a {
  text-decoration: none;
  color: inherit;
}
/* -------------------------------
   FORCER LE MENU AU-DESSUS DU CARROUSSEL
   ------------------------------- */
/* 1) Le header-bar doit ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂªtre au-dessus */
.header-bar {
  position: relative; 
  z-index: 1000;
}

/* 2) Le dropdown-menu doit flotter au-dessus */
.dropdown-menu {
  position: absolute; 
  z-index: 1010;
}

/* 2. UTILITAIRES */
.hidden {
  display: none !important;
}

/* 3. HEADER & NAVIGATION */
.logo-header {
  padding: 10px 20px;
  max-width: 250px;
  margin: 20px auto 0;
  text-align: left;
}
.logo-header img {
  max-height: 300px;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}
.header-bar {
  background: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  margin: 10px auto 20px;
  max-width: 1100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
nav li {
  position: relative;
}
nav a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: #558C61;
  font-weight: bold;
  border-radius: 25px;
  border: 1px solid #558C61;
  transition: background 0.3s, transform 0.2s;
}
nav a:hover,
nav a.active {
  background: #558C61;
  color: #fff;
  transform: scale(1.05);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  padding: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: none;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: #558C61;
  transition: background 0.3s;
}
.dropdown-menu a:hover {
  background: #558C61;
  color: #fff;
}

/* 4. HERO SECTION */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: rgba(130,179,130,0.8);
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* 5. CAROUSEL SWIPER (16/9) */
.hero-carousel {
  max-width: 1100px;
  margin: 0 auto 60px;
  position: relative;
}
.hero-carousel .mySwiper {
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16/9 */
  position: relative;
}
.hero-carousel .swiper-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
}
.hero-carousel .swiper-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}
/* wrapper pour centrer sans dÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©former */
.slide-ratio16-9 {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}
.slide-ratio16-9 img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* navigation/swiper bullets */
.hero-carousel .swiper-button-prev,
.hero-carousel .swiper-button-next {
  position: absolute;
  top: 50%;
  width: 35px; height: 35px;
  margin-top: -17.5px;
  background: rgba(0,0,0,0.4);
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
.hero-carousel .swiper-button-prev { left: 10px; }
.hero-carousel .swiper-button-next { right: 10px; }
.hero-carousel .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}
.hero-carousel .swiper-pagination-bullet-active {
  opacity: 1;
}

/* 6. BUTTONS */
.btn {
  display: inline-block;
  background: #558C61;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  margin-top: 15px;
}
.btn:hover {
  background: #3A6643;
  transform: scale(1.05);
}

/* 7. MAIN CONTENT */
.main-content {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 50px 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  line-height: 1.8;
}
.main-content h2 {
  font-size: 1.8rem;
}
.main-content h2::before {
  content: "";
  display: block;
  margin: 30px 0 10px;
  border-top: 1px solid #ccc;
}
.main-content p {
  margin-bottom: 20px;
  font-size: 1rem;
}
.main-content img {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* 7.1 CONTACT GRID: CARTE & FORMULAIRE */
.main-content.contact-page {
  padding: 40px 20px;
}
.main-content.contact-page .contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: start;
}
.main-content.contact-page .contact-map,
.main-content.contact-page .contact-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 25px;
}
.main-content.contact-page .contact-map {
  text-align: center;
}
.main-content.contact-page .contact-map h2 {
  font-size: 1.8rem;
  color: #2d603b;
  margin-bottom: 12px;
}
.main-content.contact-page .contact-map .address {
  font-size: 1rem;
  color: #555;
  margin-bottom: 16px;
}
.main-content.contact-page .contact-map .map-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #2d603b;
  font-weight: 600;
  text-decoration: none;
}
.main-content.contact-page .contact-map .map-link:hover {
  text-decoration: underline;
}
.main-content.contact-page .contact-map iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 6px;
}
.main-content.contact-page .contact-form h2 {
  font-size: 1.8rem;
  color: #2d603b;
  margin-bottom: 20px;
  text-align: center;
}
.main-content.contact-page .contact-form .form-group {
  margin-bottom: 18px;
}
.main-content.contact-page .contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}
.main-content.contact-page .contact-form input,
.main-content.contact-page .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.main-content.contact-page .contact-form input:focus,
.main-content.contact-page .contact-form textarea:focus {
  border-color: #2d603b;
  box-shadow: 0 0 0 3px rgba(45,96,59,0.15);
  outline: none;
}
.main-content.contact-page .btn-submit {
  width: 100%;
  background: #2d603b;
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.main-content.contact-page .btn-submit:hover {
  background: #244f30;
  transform: translateY(-2px);
}

/* 8. PRICING & FLIP-CARDS */
.pricing {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 60px;
}
.pricing h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2d603b;
}
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.flip-container {
  perspective: 1000px; width: 280px; height: 340px;
}
.flipper {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.8s ease; transform-style: preserve-3d;
}
.flip-container:hover .flipper {
  transform: rotateY(180deg);
}
.front, .back {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden; overflow: hidden;
  border-radius: 12px; border: 1px solid #ccc;
  box-sizing: border-box;
}
.front {
  background: #fff; display: flex;
  flex-direction: column; justify-content: center;
  align-items: center; padding: 20px;
}
.front h3 { font-size: 18px; }
.front .price {
  font-size: 22px; color: #558C61; font-weight: bold;
}
.front .small { font-size: 13px; color: #777; }
.card-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; overflow: hidden;
}
.card-img img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: auto; height: 100%;
  object-fit: contain;
}
.back {
  transform: rotateY(180deg); background: #fff;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px;
}
.back .btn {
  position: relative; z-index: 2; margin-bottom: 10px;
}
/* 8. PRICING & FLIP-CARDS */
.pricing {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 60px;
}
.pricing h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2d603b;
}
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.flip-container {
  perspective: 1000px;
  width: 280px;
  height: 340px;
}
.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}
.flip-container:hover .flipper {
  transform: rotateY(180deg);
}
.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
}
.front {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.front h3 {
  font-size: 18px;
}
.front .price {
  font-size: 22px;
  color: #558C61;
  font-weight: bold;
}
.front .small {
  font-size: 13px;
  color: #777;
}
.card-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}
.card-img img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  object-fit: contain;
}
.back {
  transform: rotateY(180deg);
  background: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.back .btn {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

/* 9. BACK-TO-TOP BUTTON */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #558C61;
  color: #fff;
  font-size: 32px;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  z-index: 9999;
}
#backToTop.show {
  display: flex;
}
#backToTop:hover {
  background: #3A6643;
  transform: scale(1.1);
}

/* 10. FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(37,156,87,0.9);
  color: #fff;
  margin-top: 50px;
}

/* 11. MEDIA QUERIES */
@media (max-width: 768px) {
  .hero-carousel .mySwiper {
    padding-top: 75%; /* ratio 4/3 sur ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©crans moyens */
  }
  .flip-container {
    width: 220px;
    height: 270px;
  }
  .main-content {
    padding: 30px 20px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 40px 10px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
/* -------------------------------------------------
   8.1. Correction alignement des titres des cartes
   ------------------------------------------------- */
.pricing-grid .flip-container .front {
  text-align: center;     /* centre horizontalement le h3 et la/or price */
}

/* ajuste lÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂespacement autour du titre si besoin */
.pricing-grid .flip-container .front h3 {
  margin: 0 0 10px;       /* 10px sous le titre */
  line-height: 1.2;       /* pour gÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©rer les titres sur 2 lignes */
}

/* -------------------------------------------------
   8.2. Remonter verticalement les boutons Choisir
   ------------------------------------------------- */
.pricing-grid .flip-container .back {
  display: flex;          /* mode flex pour le container */
  align-items: center;    /* place le bouton au centre vertical */
  justify-content: center;/* centre aussi horizontalement */
  padding: 20px;          /* padding uniforme autour */
}

.pricing-grid .flip-container .back .btn {
  margin-top: 0;          /* supprime lÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ¢ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂespacement par dÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©faut */
  margin-bottom: 30px;    /* crÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©e un dÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©calage vers le haut */
  transition: transform .3s ease;
}

/* optionnel : effet lÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©ger au survol pour bien voir le bouton */
.pricing-grid .flip-container .back .btn:hover {
  transform: translateY(-5px) scale(1.05);
}
/* ==================================================
   RÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©duction de la largeur des cartes tarifs
   sans toucher ÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ  la taille des images
   ================================================== */
.pricing-grid .flip-container {
  width: 225px;      /* Ajuste ici la largeur souhaitÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂÃÂ©e */
  /* conserve la hauteur existante */
}

/* Tablettes et petits écrans (≤768px) */
@media only screen and (max-width: 768px) {
  .pricing-grid .flip-container {
    width: 200px;     /* ← largeur souhaitée sur tablettes */
    /* height: 300px;  ← si tu veux aussi ajuster la hauteur */
  }
}

/* Mobiles étroits (≤480px) */
@media only screen and (max-width: 480px) {
  .pricing-grid .flip-container {
    width: 100%;      /* carte pleine largeur */
    max-width: 180px; /* limite de largeur si besoin */
    /* height: auto;  ← laisse la hauteur s’adapter au contenu */
  }
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Bloc « Accès au cabinet » */

.access {
  padding: 2em;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 2em 0;
}
.access-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}
.access-item {
  flex: 1 1 250px;
}
.access-item h3 {
  margin-bottom: .5em;
  color: #46a950;
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 1em;
  text-align: center;
  z-index: 2000;
}
#cookie-banner.hidden {
  display: none;
}
#cookie-banner .cookie-content > * {
  margin: 0 .5em;
}
#cookie-banner button {
  background: #558C61;
  color: #fff;
  border: none;
  padding: .5em 1em;
  border-radius: 4px;
  cursor: pointer;
}
#cookie-banner button:nth-child(2) {
  background: #ccc;
  color: #333;
}
/* ────────── Settings Panel ────────── */
#cookie-settings-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
#cookie-settings-panel.hidden {
  display: none;
}
#cookie-settings-panel .settings-content {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: left;
}
#cookie-settings-panel h3 {
  margin-bottom: 1em;
  color: #2d603b;
}
.setting-item {
  margin-bottom: 1em;
}
.setting-item input {
  margin-right: 0.5em;
}
.settings-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  margin-top: 1em;
}
.settings-buttons button {
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#cookie-save {
  background: #558C61;
  color: #fff;
}
#cookie-cancel {
  background: #ccc;
  color: #333;
}
