/*
 * Template Réflexologie Corrèze — Joomla 6
 * Reproduit le rendu du site d'origine (mesures relevées le 09/11/2026).
 */

/* ---------- Polices (hébergées localement, licence OFL) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); }

/* ---------- Jetons ---------- */
:root {
  --rc-green: #8dc63f;
  --rc-green-overlay: rgba(141, 198, 63, .9);
  --rc-heading: #434343;
  --rc-text: #777;
  --rc-menu: #2d2d2d;
  --rc-dark: #252525;
  --rc-grey-bg: #f2f2f2;
  --rc-border: #e5e5e5;
  --rc-white: #fff;
  --rc-font: "Poppins", sans-serif;
  --rc-container: 1140px;
  --rc-gutter: 15px;
  --rc-header-h: 90px;
  --rc-section-pad: 120px;
  --rc-ease: .5s ease-out;
  /* --rc-parallax-image est défini par index.php (paramètre du template) */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rc-font);
  font-size: 16px;
  line-height: 24px;
  color: var(--rc-text);
  background: var(--rc-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--rc-green); text-decoration: none; transition: color var(--rc-ease); }
a:hover, a:focus { color: #044cd0; }
h1, h2, h3, h4, h5, h6 { color: var(--rc-heading); font-family: var(--rc-font); margin: 0 0 8px; }
p { margin: 0 0 15px; }
ul { margin: 0 0 15px; }
:focus-visible { outline: 3px solid var(--rc-green); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rc-skip {
  position: absolute; left: 10px; top: -60px; z-index: 1100;
  background: var(--rc-dark); color: #fff; padding: 10px 16px; border-radius: 3px;
}
.rc-skip:focus { top: 10px; color: #fff; }
.rc-main:focus { outline: none; }

.rc-container {
  width: 100%;
  max-width: var(--rc-container);
  margin: 0 auto;
  padding: 0 var(--rc-gutter);
}

/* ---------- En-tête ---------- */
.rc-header {
  position: relative;
  z-index: 99;
  height: var(--rc-header-h);
  background: var(--rc-white);
  transition: box-shadow .5s ease-in-out;
}
.rc-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.rc-logo { display: inline-flex; align-items: center; }
.rc-logo img { height: 40px; width: auto; }
.has-sticky-header .rc-header.is-fixed {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .1);
  animation: rc-slide-down .5s ease-in-out;
}
.has-sticky-header .rc-header-spacer { height: var(--rc-header-h); }
@keyframes rc-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Menu principal */
.rc-nav .mod-menu, .rc-offcanvas .mod-menu { list-style: none; margin: 0; padding: 0; }
.rc-nav .mod-menu { display: flex; align-items: center; }
.rc-nav .mod-menu > li > a,
.rc-nav .mod-menu > li > span {
  display: block;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--rc-menu);
  transition: color .5s ease-in-out;
}
.rc-nav .mod-menu > li:last-child > a { padding-right: 0; }
.rc-nav .mod-menu > li > a:hover,
.rc-nav .mod-menu > li > a:focus,
.rc-nav .mod-menu > li.active > a,
.rc-nav .mod-menu > li.current > a { color: var(--rc-green); }

.rc-burger {
  display: none;
  margin-left: 20px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 60px;
  color: var(--rc-heading);
  cursor: pointer;
}

/* Menu mobile (offcanvas) */
.rc-offcanvas { position: fixed; inset: 0; z-index: 1000; }
.rc-offcanvas[hidden] { display: none; }
.rc-offcanvas__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s; }
.rc-offcanvas__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 300px; max-width: 85vw;
  background: var(--rc-white);
  padding: 70px 30px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease-out;
}
.rc-offcanvas.is-open .rc-offcanvas__backdrop { opacity: 1; }
.rc-offcanvas.is-open .rc-offcanvas__panel { transform: translateX(0); }
.rc-offcanvas__close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border: 0; background: none;
  font-size: 22px; color: var(--rc-heading); cursor: pointer;
}
.rc-offcanvas .mod-menu > li > a {
  display: block; padding: 12px 0;
  font-size: 16px; font-weight: 500; color: var(--rc-menu);
  border-bottom: 1px solid var(--rc-border);
}
.rc-offcanvas .mod-menu > li.active > a,
.rc-offcanvas .mod-menu > li > a:hover { color: var(--rc-green); }
body.rc-noscroll { overflow: hidden; }

/* ---------- Diaporama d'accueil (affiché sous 768 px, comme le site d'origine) ---------- */
.rc-hero { display: none; }
.rc-slider { position: relative; height: 500px; overflow: hidden; background: #222; }
.rc-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.rc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.rc-slide__title {
  margin: 0;
  font-size: 46px; line-height: 64px; font-weight: 700; color: #fff;
  text-shadow: 4px 5px 4px rgba(0, 0, 0, .35);
  transform: translateY(100%); opacity: 0;
}
.rc-slide.is-active .rc-slide__title { animation: rc-slide-up 1.5s ease 1s forwards; }
@keyframes rc-slide-up { to { transform: translateY(0); opacity: 1; } }

/* ---------- Bandeau de titre des pages ---------- */
.rc-page-title {
  position: relative;
  padding: 80px 0;
  background-color: var(--rc-green);
  background-size: cover;
  background-position: center;
  text-align: center;
}
.rc-page-title::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.rc-page-title .rc-container { position: relative; }
.rc-page-title__heading {
  margin: 0;
  font-size: 36px; line-height: 60px; font-weight: 700;
  color: #fff; text-transform: uppercase; letter-spacing: 1px;
}

/* ---------- Sections ---------- */
.rc-section { padding: var(--rc-section-pad) 0; }
.rc-section--tight { padding: 50px 0; }
.rc-section--grey { background: var(--rc-grey-bg); }
.rc-section--parallax {
  position: relative;
  background-image: var(--rc-parallax-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
.rc-section--parallax::before { content: ""; position: absolute; inset: 0; background: var(--rc-green-overlay); }
.rc-section--parallax > .rc-container { position: relative; }
.rc-center { text-align: center; }

.rc-surtitre {
  margin: 0 0 15px;
  font-size: 15px; line-height: 15px; font-weight: 500;
  color: var(--rc-green); text-transform: uppercase; letter-spacing: .75px;
}
.rc-surtitre .fa-leaf { margin-right: 5px; }
.rc-titre {
  margin: 0 0 40px;
  font-size: 47px; line-height: 47px; font-weight: 700;
  color: var(--rc-heading);
}
.rc-section--parallax .rc-surtitre,
.rc-section--parallax .rc-titre { color: #fff; }
.rc-titre--small { font-size: 32px; line-height: 40px; }
.rc-accroche {
  margin: 0 0 8px;
  font-size: 32px; line-height: 40px; font-weight: 400;
  color: var(--rc-heading); text-align: center;
}
.rc-accroche span { color: var(--rc-green); }
.rc-sous-titre { text-align: center; margin: 0 0 30px; }

/* Grilles */
.rc-grid { display: grid; gap: 30px; }
.rc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.rc-split img { display: block; margin: 0 auto; }
.rc-space { height: 50px; }

/* ---------- Cartes image avec effet au survol (accueil) ---------- */
.rc-box { position: relative; overflow: hidden; margin: 0 0 30px; }
.rc-box::before, .rc-box::after {
  content: ""; position: absolute; left: 0; z-index: 1;
  width: 100%; height: 50%;
  background: rgba(0, 0, 0, .5);
  transform: rotateZ(90deg);
  transition: all .5s ease 0s;
}
.rc-box::before { top: 0; transform-origin: 100% 0; }
.rc-box::after { bottom: 0; transform-origin: 0 100%; }
.rc-box img { display: block; width: 100%; height: auto; transform: scale(1) rotate(0); transition: all .5s ease 0s; }
.rc-box__content {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  margin: 0; padding: 0 20px;
  opacity: 0; transform: scale(0);
  transition: all .5s ease .2s;
}
.rc-box__title {
  margin: 0 0 8px;
  font-size: 28px; line-height: 28px; font-weight: 700;
  color: #fff; letter-spacing: 1px; text-transform: uppercase;
  text-shadow: 0 0 1px var(--rc-green);
}
.rc-box__content p { color: #fff; }
.rc-box__icons {
  position: absolute; top: -100%; right: 0; z-index: 2;
  margin: 0; padding: 7px 5px;
  list-style: none; text-align: center;
  background: var(--rc-green); border-radius: 0 0 0 10px;
  transition: all .5s ease .2s;
}
.rc-box__icons li { display: block; margin: 10px 0; }
.rc-box__icons a {
  display: block; width: 35px; height: 35px; line-height: 35px;
  border-radius: 10px; font-size: 18px; color: #fff;
  transition: all .5s ease 0s;
}
.rc-box__icons a:hover, .rc-box__icons a:focus { color: rgba(255, 255, 255, .6); }
.rc-box:hover::before, .rc-box:hover::after,
.rc-box:focus-within::before, .rc-box:focus-within::after { transform: rotateZ(0); }
.rc-box:hover img, .rc-box:focus-within img { filter: sepia(80%); transform: scale(1.3) rotate(10deg); }
.rc-box:hover .rc-box__content, .rc-box:focus-within .rc-box__content { opacity: 1; transform: scale(1); }
.rc-box:hover .rc-box__icons, .rc-box:focus-within .rc-box__icons { top: 0; }

/* ---------- Blocs « service » avec icône ronde ---------- */
.rc-feature { text-align: center; transition: all .5s ease-out .15s; }
.rc-feature img { width: 100px; height: 100px; border-radius: 100px; transition: all .5s ease-out .15s; }
.rc-feature__title {
  margin: 30px 0 20px;
  font-size: 25px; line-height: 25px; font-weight: 700;
  color: var(--rc-heading);
}
.rc-feature p { margin: 0; }
.rc-feature:hover img { transform: translateY(-5px); }

/* ---------- Bouton ---------- */
.rc-btn, .rc-contact .btn-primary, .rc-contact button[type="submit"] {
  display: inline-block;
  padding: 20px 45px;
  border: 0; border-radius: 30px;
  background: var(--rc-green);
  font-family: var(--rc-font); font-size: 16px; line-height: 16px; font-weight: 500;
  color: #fff; text-align: center;
  cursor: pointer;
  transition: background-color var(--rc-ease), color var(--rc-ease);
}
.rc-btn:hover, .rc-btn:focus,
.rc-contact .btn-primary:hover, .rc-contact button[type="submit"]:hover { background: #222; color: #fff; }
.rc-actions { margin-top: 50px; text-align: center; }

/* ---------- Citations (module « Testimonials ») ---------- */
.rc-temoignages { display: grid; max-width: 600px; margin: 0 auto; }
.rc-temoignages > .rc-temoignage { grid-area: 1 / 1; opacity: 0; animation: rc-temoignage-fondu 18s infinite; text-align: center; }
.rc-temoignages > .rc-temoignage:nth-child(2) { animation-delay: 6s; }
.rc-temoignages > .rc-temoignage:nth-child(3) { animation-delay: 12s; }
.rc-temoignages:hover > .rc-temoignage,
.rc-temoignages:focus-within > .rc-temoignage { animation-play-state: paused; }
@keyframes rc-temoignage-fondu { 0% { opacity: 0; } 4% { opacity: 1; } 30% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
.rc-temoignage .description {
  position: relative;
  margin: 0 0 30px; padding: 0 11%;
  font-size: 20px; line-height: 35px; color: #fff;
}
.rc-temoignage .description::before,
.rc-temoignage .description::after {
  position: absolute; top: 0;
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 36px; color: #fff;
}
.rc-temoignage .description::before { content: "\f10d"; left: 0; }
.rc-temoignage .description::after { content: "\f10e"; right: 0; }

/* ---------- Cartes d'articles (« Bon à savoir ») ---------- */
.rc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.rc-card { background: #fff; margin: 0 0 30px; }
.rc-card__image { display: block; }
.rc-card__image img { display: block; }
.rc-card__body { padding: 0 25px 25px; }
.rc-card__meta { padding: 15px 0; font-size: 13px; line-height: 26px; }
.rc-card__date { margin-right: 5px; }
.rc-card__meta a { color: var(--rc-green); }
.rc-card__date + .rc-card__cat::before { content: "|"; margin-right: 5px; color: var(--rc-text); }
.rc-card__title { margin: 0 0 15px; font-size: 24px; line-height: 24px; font-weight: 700; }
.rc-card__title a { color: var(--rc-heading); }
.rc-card__title a:hover { color: var(--rc-green); }
.rc-card__intro p:last-child { margin-bottom: 0; }
.rc-card__more {
  display: inline-block; margin: 10px 0;
  font-size: 14px; line-height: 21px; color: var(--rc-dark);
}
.rc-card__more:hover { color: var(--rc-green); }

/* ---------- Pages de contenu ---------- */
.rc-texte ul { padding: 0; list-style: none; }
.rc-texte ul li { margin-bottom: 4px; }
.rc-liste-puces { padding-left: 1.2em; list-style: disc; }
.rc-prestations { font-size: 24px; line-height: 24px; font-weight: 400; color: var(--rc-heading); }

/* Article seul (« Info n°… », mentions légales) */
.rc-article { padding: 80px 0; }
.rc-article__image { margin: 0 0 30px; text-align: center; }
.rc-article__title { font-size: 30px; line-height: 36px; font-weight: 700; margin-bottom: 5px; }
.rc-article__meta { font-size: 13px; margin-bottom: 20px; padding-top: 0; }
.rc-card__cat--first + .rc-card__date::before { content: "|"; margin: 0 5px 0 0; color: var(--rc-text); }

/* ---------- Contact ---------- */
.rc-contact__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.rc-contact h3 {
  margin: 0 0 25px;
  font-size: 20px; line-height: 20px; font-weight: 700;
  color: var(--rc-heading); text-transform: uppercase;
}
.rc-contact__bloc { margin-bottom: 40px; }
.rc-contact__ligne { display: flex; gap: 12px; margin-bottom: 15px; }
.rc-contact__ligne .fa-solid { width: 16px; line-height: 24px; text-align: center; }
.rc-contact__form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.rc-contact__form-grid .rc-full { grid-column: 1 / -1; }
.rc-contact .control-group, .rc-contact .rc-field { margin-bottom: 20px; }
.rc-contact label, .rc-contact .control-label label { display: block; margin: 0 0 6px; color: var(--rc-text); }
.rc-contact input[type="text"], .rc-contact input[type="email"], .rc-contact input[type="tel"], .rc-contact textarea {
  display: block; width: 100%;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--rc-border); border-radius: 0;
  font-family: var(--rc-font); font-size: 16px; line-height: 20px; color: #495057;
  background: #fff;
  transition: border-color .35s;
}
.rc-contact input[type="text"], .rc-contact input[type="email"], .rc-contact input[type="tel"] { height: 40px; }
.rc-contact textarea { min-height: 117px; resize: vertical; }
.rc-contact input:focus, .rc-contact textarea:focus { border-color: var(--rc-green); outline: none; box-shadow: 0 0 0 2px rgba(141, 198, 63, .35); }
.rc-contact .star, .rc-contact .form-control-feedback { color: #c0392b; }
.rc-contact .invalid { border-color: #c0392b !important; }
/* Contact : texte d'accueil et informations pratiques */
.rc-contact__intro { max-width: 760px; margin: -10px auto 60px; text-align: center; }
.rc-contact__intro p:last-child { margin-bottom: 0; }
.rc-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; counter-reset: rc-etape; }
.rc-etapes li { position: relative; padding-top: 70px; text-align: center; counter-increment: rc-etape; }
.rc-etapes li::before {
  content: counter(rc-etape);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 50px; line-height: 50px; border-radius: 50%;
  background: var(--rc-green); color: #fff; font-size: 22px; font-weight: 700;
}
.rc-etapes h3 { margin: 0 0 10px; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--rc-heading); text-transform: none; }
.rc-etapes p { margin: 0; }
.rc-liste-coche { margin: 0; padding: 0; list-style: none; }
.rc-liste-coche li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.rc-liste-coche li::before {
  content: "\f00c"; position: absolute; left: 0; top: 0;
  font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--rc-green);
}
.rc-encart { background: #fff; border-left: 4px solid var(--rc-green); padding: 30px; }
.rc-encart h3 { margin: 0 0 15px; font-size: 22px; line-height: 28px; font-weight: 700; color: var(--rc-heading); text-transform: none; }
.rc-encart p:last-child { margin-bottom: 0; }
.rc-faq { max-width: 860px; margin: 0 auto; }
.rc-faq details { background: #fff; border: 1px solid var(--rc-border); margin-bottom: 10px; }
.rc-faq summary {
  position: relative; padding: 18px 50px 18px 20px; cursor: pointer; list-style: none;
  font-weight: 500; color: var(--rc-heading);
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after {
  content: "\f067"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--rc-green); transition: transform .3s;
}
.rc-faq details[open] summary::after { content: "\f068"; }
.rc-faq details[open] summary { color: var(--rc-green); }
.rc-faq details > div { padding: 0 20px 18px; }
.rc-faq details > div p:last-child { margin-bottom: 0; }
/* Repère visuel pour les informations à faire confirmer (à retirer avant la mise en ligne) */
.rc-a-confirmer { background: #fff3a6; color: #6b5800; padding: 0 4px; border-radius: 3px; font-weight: 500; }

.rc-map { height: 244px; background: #ddd; }
.rc-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* Messages système Joomla */
.rc-main joomla-alert, .rc-main #system-message-container { max-width: var(--rc-container); margin: 20px auto; padding: 0 var(--rc-gutter); }

/* ---------- Pied de page ---------- */
.rc-footer { padding: 30px 0; background: #171717; color: #a2a2a2; font-size: 14px; }
.rc-footer a { color: #a2a2a2; }
.rc-footer a:hover { color: #fff; }

/* ---------- Retour en haut ---------- */
.rc-totop {
  position: fixed; right: 15px; bottom: 15px; z-index: 98;
  width: 36px; height: 36px; line-height: 36px;
  border-radius: 3px; background: #333; color: #fff; text-align: center;
  opacity: 0; transition: opacity var(--rc-ease), background-color var(--rc-ease);
}
.rc-totop.is-visible { opacity: 1; }
.rc-totop:hover, .rc-totop:focus { background: var(--rc-green); color: #fff; }

/* ---------- Visionneuse d'images ---------- */
.rc-lightbox { max-width: 92vw; max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.rc-lightbox::backdrop { background: rgba(11, 11, 11, .85); }
.rc-lightbox img { display: block; max-width: 92vw; max-height: 88vh; width: auto; height: auto; box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.rc-lightbox__close {
  position: absolute; top: -44px; right: 0;
  width: 40px; height: 40px; border: 0; background: none;
  font-size: 28px; color: #fff; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) { :root { --rc-container: 960px; } }
@media (max-width: 991.98px) {
  :root { --rc-container: 720px; }
  .rc-nav { display: none; }
  .rc-burger { display: block; }
  .rc-grid--3, .rc-cards { grid-template-columns: repeat(2, 1fr); }
  .rc-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  :root { --rc-container: 540px; --rc-section-pad: 80px; }
  .rc-hero { display: block; }
  .rc-grid--2, .rc-grid--3, .rc-cards, .rc-split, .rc-contact__form-grid, .rc-etapes { grid-template-columns: 1fr; }
  .rc-titre { font-size: 36px; line-height: 40px; }
  .rc-accroche { font-size: 28px; line-height: 36px; }
  .rc-section--parallax { background-attachment: scroll; }
  .rc-page-title { padding: 60px 0; }
  .rc-page-title__heading { font-size: 30px; line-height: 40px; }
}
@media (max-width: 575.98px) { :root { --rc-container: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rc-temoignages { gap: 1.5rem; }
  .rc-temoignages > .rc-temoignage { grid-area: auto; opacity: 1; animation: none; }
  .rc-slide__title { transform: none; opacity: 1; }
}
