:root {
  --green: #6D7A71;
  --gold: #BAB06A;
  --beige: #EFEADD;
  --light: #f8f7f4;
  --dark: #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--beige);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
header {
  background: var(--beige);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}
.head-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.logo-text h1 {
  font-size: 1.5em;
  color: var(--green);
}
.logo-text p {
  font-size: 0.9em;
  font-style: italic;
  color: var(--gold);
}
#burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
#burger span {
  width: 25px;
  height: 3px;
  background: var(--green);
  transition: .3s;
}
#burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#burger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav a {
  color: var(--green);
  font-weight: 600;
  transition: color .3s;
}
nav a:hover {
  color: var(--gold);
}
@media (max-width: 768px) {
  #burger {
    display: flex;
  }
  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--beige);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  nav ul {
    flex-direction: column;
    padding: 10px 20px;
    gap: 12px;
  }
  nav.open {
    max-height: 300px;
  }
  .head-wrapper {
    position: relative;
  }
}

/* HERO */
#hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  background: url("images/hero-background.webp") center/cover no-repeat;
  color: #fff;
  position: relative;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
#hero .hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}
#hero h2 {
  font-size: clamp(1.8em, 5vw, 3em);
}
#hero h3 {
  font-size: clamp(1.2em, 3vw, 1.8em);
}
#hero p {
  margin: 0;
}
.cta-button {
  background: var(--gold);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, transform .3s;
  align-self: center;
}
.cta-button:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.cta-button.small {
  padding: 8px 18px;
  font-size: .9em;
}

/* SECTIONS */
.section-padding {
  padding: 60px 0;
}
.bg-light {
  background: var(--light);
}
[id] {
  scroll-margin-top: 80px;
}

/* ABOUT */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-text, .about-image {
  flex: 1 1 300px;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
/* FIX Firefox Android : ratio image */
@media (max-width: 768px) {
  .about-image img {
    max-height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
  }
  .about-image {
    text-align: center;
  }
}

/* REIKI SYMBOLS */
.reiki-symbolism {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}
.symbol-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 200px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .3s;
}
.symbol-item:hover {
  transform: translateY(-5px);
}
.symbol-item img {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

/* PRESTATIONS */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.prestation-item {
  background: #fff;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.prestation-item p:last-of-type {
  margin-bottom: 1.5rem;
  flex: 1;
}
.prestation-item .cta-button.small {
  margin-top: auto;
  align-self: center;
}

/* HORAIRES */
.horaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 30px;
}
.jour {
  background: #fff;
  padding: 15px 10px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.jour strong {
  color: var(--green);
}
.dimanche {
  opacity: .6;
}
.horaires-note {
  text-align: center;
  margin-top: 20px;
  font-size: .9em;
  color: var(--green);
}

/* GALLERY SEO+ */
#gallery .gallery-text {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: justify;
  font-size: 1.05em;
  line-height: 1.7;
}
#gallery .gallery-text p {
  margin-bottom: 15px;
}
.seo-keywords {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.seo-keywords li {
  background: var(--gold);
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: .85em;
}
#gallery img {
  width: 100%;
  height: auto;
  max-width: 900px;
  display: block;
  margin: 30px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

/* CONTACT */
#contact h3 {
  text-align: center;
  margin-bottom: 10px;
}
#contact .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: var(--green);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
  margin-bottom: 20px;
}
.coords {
  display: grid;
  gap: 20px;
}
.coord-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.coord-item h4 {
  margin-bottom: 8px;
  color: var(--gold);
}
.badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: .8em;
  margin-top: 8px;
}
.contact-right {
  background: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.contact-right h4 {
  margin-bottom: 20px;
  color: var(--green);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.rgpd {
  font-size: .75em;
  color: #777;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: var(--green);
  color: var(--beige);
  text-align: center;
  padding: 20px 0;
  font-size: .9em;
}
footer a {
  color: var(--gold);
  font-weight: bold;
}

/* BOUTON APPEL FLOTTANT */
.btn-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .3s, box-shadow .3s;
  z-index: 999;
}
.btn-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
@media (min-width: 769px) {
  .btn-float {
    display: none;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== CORRECTIONS FINALES multi-appareils ===== */

/* 1) Supprime tout débord horizontal Firefox/Opera */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }
  .container {
    width: 95vw;
    max-width: 95vw;
  }
  .about-image img {
    max-height: 45vh;        /* réduit la hauteur sur petits écrans */
    object-fit: cover;
    width: 100%;
  }
  .horaires-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes = plus large */
  }
  .jour {
    font-size: 0.9em;
    padding: 10px 5px;
  }
}

/* 2) Bouton flottant : un peu plus grand doigt */
@media (max-width: 480px) {
  .btn-float {
    width: 65px;
    height: 65px;
    bottom: 15px;
    right: 15px;
  }
}

/* 3) Empêche débord grille contact */
@media (max-width: 360px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CORRECTIONS VISUELLES FINALES ===== */

/* IMMERSION : flex + visuel */
.immersion-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.immersion-txt {
  flex: 1 1 400px;
}
.immersion-visuel {
  flex: 1 1 400px;
}
.immersion-visuel img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
.seo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}
.seo-pills span {
  background: var(--gold);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85em;
}

/* HORAIRES : cartes modernes */
.horaires-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 30px;
}
.horaires-cards .card {
  background: #fff;
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .3s;
}
.horaires-cards .card:hover {
  transform: translateY(-3px);
}
.horaires-cards .card strong {
  display: block;
  color: var(--green);
  margin-bottom: 6px;
}
.horaires-cards .card span {
  color: var(--dark);
  font-size: 0.95em;
}
.horaires-cards .card.dimanche {
  opacity: .6;
}
.horaires-note {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9em;
  color: var(--green);
}
/* ===== HORAIRES : visuel + actions ===== */
.horaires-visuel {
  margin-top: 40px;
}
.horaires-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  margin-bottom: 40px;
}
.horaires-cards .card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.horaires-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.horaires-cards .card strong {
  display: block;
  color: var(--green);
  margin-bottom: 6px;
  font-size: 1.1em;
}
.horaires-cards .card span {
  color: var(--dark);
  font-size: 0.95em;
}
.horaires-cards .card.dimanche {
  opacity: .55;
}

/* 3 boutons côte à côte */
.action-trio {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 25px;
}
.action-trio .cta-button {
  min-width: 200px;
  text-align: center;
}
.action-trio .cta-button.outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.action-trio .cta-button.outline:hover {
  background: var(--gold);
  color: #fff;
}

/* Note sous les boutons */
.horaires-note {
  text-align: center;
  font-size: 0.9em;
  color: var(--green);
  margin-top: 10px;
}
/* ===== HORAIRES : SEO + UX boosté ===== */

.horaires-visuel {
  margin-top: 40px;
}

.horaires-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  margin-bottom: 40px;
}

.horaires-cards .card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}

.horaires-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.horaires-cards .card strong {
  display: block;
  color: var(--green);
  margin-bottom: 6px;
  font-size: 1.1em;
}

.horaires-cards .card span {
  color: var(--dark);
  font-size: 0.95em;
}

.horaires-cards .card.dimanche {
  opacity: .55;
}

/* 3 boutons espacés */
.action-trio {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 30px 0 20px 0;
}

.action-trio .cta-button {
  min-width: 220px;
  text-align: center;
}

.action-trio .cta-button.outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.action-trio .cta-button.outline:hover {
  background: var(--gold);
  color: #fff;
}

/* Titre SEO + intro */
#horaires h2 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--green);
}

#horaires .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.05em;
  color: var(--dark);
}

.horaires-note {
  text-align: center;
  font-size: 0.9em;
  color: var(--green);
  margin-top: 10px;
}

/* ===== CORRECTION CHEVAUCHEMENT BOUTONS PETITS ÉCRANS ===== */
@media (max-width: 480px) {
  .action-trio {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .action-trio .cta-button {
    width: 100%;
    max-width: 280px; /* largeur confort doigt */
  }
}
/* ===== CORRECTION CHEVAUCHEMENT SUR TRÈS PETITS ÉCRANS ===== */
@media (max-width: 360px) {
  .action-trio {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .action-trio .cta-button {
    width: 100%;
    max-width: none;
    font-size: 1em;
    padding: 14px 0; /* doigt-friendly */
  }
}

/* ===== FOOTER : SIREN + Instagram CSS ===== */
footer .footer-extra {
  margin-top: 10px;
  font-size: 0.8em;
  color: var(--beige);
}
footer .footer-extra a {
  color: var(--gold);
  text-decoration: none;
}
footer .footer-extra a:hover {
  text-decoration: underline;
}

/* Icône Instagram CSS */
.ig-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
  /* dessin Instagram en pur CSS */
  background: var(--gold);
  border-radius: 4px;
  position: relative;
}
.ig-icon::before,
.ig-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.ig-icon::before {
  width: 10px;
  height: 10px;
  background: var(--beige);
}
.ig-icon::after {
  width: 4px;
  height: 4px;
  background: var(--gold);
}
/* ===== LIEN FOOTER CLICABLE SUR MOBILE ===== */
@media (max-width: 768px) {
  footer {
    padding-bottom: 90px;   /* espace pour le bouton flottant */
  }
  footer .footer-extra {
    padding-bottom: 10px;   /* évite que le lien soit trop près du bord */
  }
}
/* ===== BOUTON FLOTTANT MASQUABLE ===== */
#floatPhone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
}
#floatPhone a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .3s;
}
#floatPhone a:hover {
  transform: scale(1.1);
}
#floatMenu {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.float-context {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 160px;
}
.float-context.hidden {
  display: none;
}
.float-context button {
  border: none;
  background: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9em;
  text-align: left;
  transition: background .2s;
}
.float-context button:hover {
  background: var(--light);
}

/* Footer dégagé sur mobile */
@media (max-width: 768px) {
  footer {
    padding-bottom: 100px;
  }
}