/*--------------------------------------------------------------
# custom.css – compléments au gabarit (pages de soins, FAQ, blocs SEO)
# Chargé après main.css ; reprend les variables de couleur du gabarit.
--------------------------------------------------------------*/

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--accent-color);
  color: #fff;
  padding: 8px 16px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* Accueil : titre principal du carrousel (même style que les h2 du gabarit) */
.hero h1 {
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }
}

.hero .container p {
  margin-bottom: 10px;
}

/* Accueil : « Depuis 2025 » (ancien h4 du gabarit) */
.about .our-story .our-story-kicker {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-family: var(--heading-font);
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
}

.about .about-img img {
  height: 100%;
}

/*--------------------------------------------------------------
# Contenu éditorial des fiches soins
--------------------------------------------------------------*/
.seo-content {
  font-size: 16px;
  line-height: 1.7;
}

.seo-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 2.2rem 0 1rem;
}

.seo-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.service-details .seo-content p {
  font-size: 16px;
}

.service-details .seo-content ul,
.service-details .seo-content ol {
  list-style: disc;
  padding-left: 1.4rem;
  font-size: 16px;
  margin-bottom: 1rem;
}

.service-details .seo-content ol {
  list-style: decimal;
}

.service-details .seo-content ul li,
.service-details .seo-content ol li {
  display: list-item;
  padding: 3px 0;
}

.seo-content .lead-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--heading-color);
}

.seo-content .small-note,
.small-note {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Liste à coches (accueil) */
ul.checks {
  list-style: none;
  padding: 0;
}

ul.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}

ul.checks i {
  color: var(--accent-color);
  font-size: 20px;
  line-height: 1.3;
}

/* Bloc « En bref » */
.key-facts {
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
  border-left: 4px solid var(--accent-color);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 1.5rem 0;
}

.key-facts-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.key-facts table {
  width: 100%;
  border-collapse: collapse;
}

.key-facts th,
.key-facts td {
  padding: 6px 8px 6px 0;
  vertical-align: top;
  font-size: 15px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.key-facts tr:last-child th,
.key-facts tr:last-child td {
  border-bottom: 0;
}

.key-facts th {
  width: 34%;
  color: var(--heading-color);
  font-weight: 600;
}

@media (max-width: 575px) {
  .key-facts th,
  .key-facts td {
    display: block;
    width: 100%;
    border: 0;
    padding: 2px 0;
  }

  .key-facts td {
    padding-bottom: 8px;
  }
}

/* Tableaux d'information */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0.5rem 0 1rem;
}

.info-table th,
.info-table td {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

.info-table thead th {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--heading-color);
}

.info-table tbody th {
  color: var(--heading-color);
  white-space: nowrap;
}

/* Figures */
.seo-figure {
  margin: 1.5rem 0;
}

.seo-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.seo-figure-landscape img {
  aspect-ratio: 4 / 3;
  max-height: 520px;
}

.seo-figure-portrait img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.seo-figure-square img {
  aspect-ratio: 1 / 1;
  max-height: 520px;
}

.seo-figure figcaption {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 6px;
}

/* FAQ (accordéon Bootstrap aux couleurs du site) */
.seo-faq {
  --bs-accordion-active-bg: color-mix(in srgb, var(--accent-color), transparent 90%);
  --bs-accordion-active-color: var(--heading-color);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 70%);
  --bs-accordion-btn-focus-border-color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.seo-faq .accordion-header {
  margin: 0;
  font-size: inherit;
}

.seo-faq .accordion-button {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
}

.seo-faq .accordion-body {
  font-size: 15px;
}

.home-faq-wrap {
  max-width: 900px;
}

/* Bloc rendez-vous */
.cta-box {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 8px;
  padding: 24px;
  margin: 2rem 0;
}

.cta-box h2,
.cta-box .h4 {
  margin-top: 0;
  font-size: 22px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.cta-address {
  font-size: 14px;
  margin-bottom: 0;
}

.btn-rdv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  padding: 9px 20px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-rdv:hover,
.btn-rdv:focus {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
  color: #fff;
}

.btn-rdv-outline {
  background: transparent;
  color: var(--accent-color);
}

.btn-rdv-outline:hover,
.btn-rdv-outline:focus {
  background: var(--accent-color);
  color: #fff;
}

.cta-inline .btn-rdv {
  margin: 0 8px 8px 0;
}

/* Soins associés, sources, mise à jour */
.related-box,
.sources-box {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding-top: 1rem;
  margin-top: 2rem;
}

.related-title,
.sources-title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.sources-box ul {
  font-size: 14px !important;
}

.updated-note {
  font-size: 13px !important;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-top: 1.5rem;
}

/* Colonne latérale des fiches soins */
.service-details .services-list .services-list-title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--heading-color);
  margin: 20px 0 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.service-details .services-list a {
  margin: 12px 0;
}

.sidebar-box {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 24px;
  font-size: 15px;
}

.sidebar-box-title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--heading-color);
}

@media (min-width: 992px) {
  .service-details aside {
    align-self: flex-start;
  }
}

/* Accueil : section Clarity II, approche, galerie, contact */
.clarity-home h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.clarity-home img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.approach-item {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 6px;
  padding: 26px 22px;
  height: 100%;
  text-align: center;
}

.approach-item i {
  font-size: 34px;
  color: var(--accent-color);
}

.approach-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 8px;
}

.approach-item p {
  font-size: 14px;
  margin: 0;
}

.home-gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  transition: 0.3s;
}

.home-gallery-item:hover img {
  opacity: 0.85;
}

.home-contact .cta-box {
  max-width: 900px;
  margin: 0 auto;
}

/* Page « Tous les soins » */
.soin-card {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  padding: 20px;
  height: 100%;
  transition: 0.3s;
}

.soin-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.soin-card h3 {
  font-size: 18px !important;
  margin: 0 0 6px !important;
}

.soin-card h3 a {
  color: var(--heading-color);
}

.soin-card p {
  font-size: 14px !important;
  margin: 0;
}

/* Avis : initiales à la place des photos du gabarit */
.testimonials .testimonial-item .testimonial-initials {
  float: left;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 14px 0 0;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page cabinet : lien vidéo */
.watch-video-inline a {
  font-weight: 600;
  font-size: 17px;
}

.watch-video-inline i {
  font-size: 28px;
  vertical-align: middle;
  color: var(--accent-color);
}

/* Contact */
.contact .info h2,
.contact h2.h3 {
  font-size: 24px;
  font-weight: 700;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
}

.rdv-form .form-label {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

/* Pied de page */
.footer .footer-contact a {
  color: inherit;
}

.footer .footer-contact a:hover {
  color: var(--accent-color);
}

.footer .footer-disclaimer {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 6px;
}

/* 404 */
.list-404 {
  list-style: none !important;
  padding: 0 !important;
}

/* Arabe (lecture de droite à gauche) */
[dir="rtl"] .key-facts {
  border-left: 0;
  border-right: 4px solid var(--accent-color);
}

[dir="rtl"] .key-facts th,
[dir="rtl"] .key-facts td,
[dir="rtl"] .info-table th,
[dir="rtl"] .info-table td {
  text-align: right;
  padding: 6px 0 6px 8px;
}

.service-details [dir="rtl"] ul,
.service-details [dir="rtl"] ol,
.service-details .seo-content[dir="rtl"] ul,
.service-details .seo-content[dir="rtl"] ol {
  padding-left: 0;
  padding-right: 1.4rem;
}

[dir="rtl"] .seo-faq .accordion-button {
  text-align: right;
}

[dir="rtl"] .seo-faq .accordion-button::after {
  margin-left: 0;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Comparatif des lasers : mise en avant du Clarity II
--------------------------------------------------------------*/
.answer-box {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 1.5rem 0;
}

.answer-box .answer-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.answer-box p:last-child {
  margin-bottom: 0;
}

.badge-choice {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 2px 9px;
  margin-left: 4px;
  vertical-align: middle;
  white-space: nowrap;
}

.info-table tr.row-highlight th,
.info-table tr.row-highlight td,
.matrix-table td:nth-child(2),
.matrix-table th.col-highlight {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
}

.matrix-table td:nth-child(2) {
  font-weight: 600;
  color: var(--heading-color);
}

.matrix-table td i {
  margin-right: 4px;
}

.matrix-table td.m-ok i {
  color: #2e9e5b;
}

.matrix-table td.m-mid i {
  color: #c98a00;
}

.matrix-table td.m-no i {
  color: #c0392b;
}

.matrix-table td {
  white-space: nowrap;
}

.matrix-table thead th {
  vertical-align: bottom;
}

.matrix-table th,
.matrix-table td {
  padding: 8px 9px;
  font-size: 14px;
}

.info-table.matrix-table tbody th {
  white-space: normal;
  min-width: 120px;
}

/*--------------------------------------------------------------
# Avis Google dynamiques (page Avis patients)
--------------------------------------------------------------*/
.avis-google-resume {
  text-align: center;
  margin-bottom: 1.5rem;
}

.avis-google-resume .avis-google-note {
  font-size: 18px;
  margin-bottom: 4px;
}

.testimonials .testimonial-item h4 {
  margin-top: 2px;
}
