/* Identité SimArth : surcharge du template, chargée en dernier. */

:root {
	--pbmit-global-color: #2fa84f;
	--pbmit-global-color-rgb: 47, 168, 79;
	--pbmit-secondary-color: #054c88;
	--pbmit-secondary-color-rgb: 5, 76, 136;
	--pbmit-blackish-color: #09243c;
	--pbmit-blackish-color-rgb: 9, 36, 60;
	--pbmit-link-color-normal: #06335c;
	--pbmit-link-color-hover: #054c88;
	--pbmit-heading-color: #06335c;
	--pbmit-light-color: #f0f6f9;
	--pbmit-body-color: #f0f6f9;
	--pbmit-body-typography-color: #4f5d68;
	--sa-bleu: #054c88;
	--sa-vert: #1f8a3e;
	--sa-violet: #5b2d8e;
	--sa-or: #a97808;
}

/* Logo rond : plus haut que le logo d'origine */
.site-header .site-branding img.logo-img { height: 92px; max-height: 92px; width: auto; max-width: none; }
.site-title { height: 96px; }
.pbmit-sticky-header .site-branding img.logo-img { height: 62px; max-height: 62px; }
.pbmit-sticky-header .site-title { height: 66px; }
.site-footer .pbmit-footer-logo img { height: 110px; width: auto; }

/* Icônes en police à la place des SVG du template */
.pbmit-header-icon-wrap { display: flex; align-items: center; justify-content: center; }
.pbmit-header-icon-wrap i { font-size: 24px; line-height: 1; color: #fff; }
.pbmit-footer-icon-wrap i { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; font-size: 42px; line-height: 1; color: var(--pbmit-blackish-color); transition: color .25s; }
.pbmit-footer-box:hover .pbmit-footer-icon-wrap i { color: #fff; }
.pbmit-footer-box-content a { font: inherit; }
.pbmit-timetable-wrapper .pbmit-icno-title-wrapper > i { font-size: 30px; line-height: 1; color: var(--pbmit-global-color); }
.pbminfotech-ele-fid-style-5 .pbmit-fid-inner,
.pbminfotech-ele-fid-style-5 .pbmit-fid-inner span { font-size: 54px; line-height: 1.1; }
.pbmit-service-icon i { font-size: 34px; line-height: 1; }
.sa-ihbox-icone { font-size: 70px; line-height: 1; color: #fff; }
.pbmit-ihbox-icon-wrapper > i { font-size: 44px; line-height: 1; color: inherit; }
.pbmit-footer-box-content a { color: inherit; }

/* Le template met des majuscules à chaque mot, ce qui ne se fait pas en français */
.pbmit-btn, .pbmit-button-text, .pbmit-tab-title-text, .pbmit-tbar-title,
.service-details .all-post-list li a { text-transform: none; }

/* Cartes de soins : recadrage carré uniforme */
.pbmit-service-style-1 .pbmit-service-description p { -webkit-line-clamp: 3; line-clamp: 3; }
.sa-soin-img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.sa-soin-col { margin-bottom: 30px; }

/* Pages intérieures */
.sa-h3 { font-size: 26px; line-height: 1.3; }
.sa-liste { margin: 0 0 24px; }
.sa-liste .list-group-item { background: none; border: 0; padding: 6px 0; display: flex; gap: 12px; align-items: center; }
.sa-liste .pbmit-icon-list-icon { color: var(--sa-vert); }
.sa-cta-soin { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 16px; }

/* Formules */
.sa-formules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.sa-formules-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-left: auto; margin-right: auto; }
.sa-formule { --sa-c: var(--sa-vert); background: #fff; border-radius: 18px; border-top: 6px solid var(--sa-c); padding: 26px 20px 22px; text-align: center; box-shadow: 0 8px 26px rgba(6, 51, 92, .08); display: flex; flex-direction: column; }
.sa-formule-1 { --sa-c: var(--sa-vert); }
.sa-formule-2 { --sa-c: var(--sa-bleu); }
.sa-formule-3 { --sa-c: var(--sa-violet); }
.sa-formule-4 { --sa-c: var(--sa-or); }
.sa-formule-nom { font-size: 19px; line-height: 1.3; color: var(--sa-c); margin: 0 0 12px; }
.sa-formule-prix { font-family: var(--pbmit-heading-typography-font-family); font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--pbmit-heading-color); margin: 0 0 8px; }
.sa-formule-prix small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--pbmit-body-typography-color); margin-top: 4px; }
.sa-formule-duree { margin: 0 0 4px; font-weight: 600; color: var(--pbmit-heading-color); }
.sa-formule-carnet { margin: 0 0 18px; font-size: 15px; }
.sa-formule-carnet i { color: var(--sa-c); font-size: 12px; }
.sa-formule-lien { margin-top: auto; display: block; padding: 10px 12px; border-radius: 30px; background: var(--sa-c); color: #fff !important; font-size: 15px; font-weight: 600; transition: opacity .2s; }
.sa-formule-lien:hover { opacity: .85; }
.sa-note { font-size: 15px; margin: 8px 0 28px; }
.sa-encart { display: flex; gap: 18px; align-items: center; max-width: 820px; margin: 0 auto 28px; background: #fff; border-left: 5px solid var(--sa-vert); border-radius: 12px; padding: 18px 22px; }
.sa-encart i { font-size: 36px; color: var(--sa-vert); }
.sa-encart p { margin: 0; }
.sa-ancres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.sa-ancres a { padding: 8px 18px; border-radius: 30px; background: #fff; border: 1px solid #d5e2ea; font-weight: 600; font-size: 15px; }
.sa-ancres a:hover { background: var(--sa-bleu); color: #fff; }
.sa-groupe { scroll-margin-top: 110px; margin-bottom: 48px; }
.sa-groupe-titre { text-align: center; font-size: 30px; margin-bottom: 4px; scroll-margin-top: 110px; }
.sa-groupe-public { text-align: center; margin-bottom: 26px; }
.sa-sous-titre { text-align: center; font-size: 20px; margin: 26px 0 16px; }

/* Avant / après */
.sa-avant-apres { margin: 0 0 30px; }
.sa-ba-cadre { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: #e8eef2; }
.sa-ba-cadre img { width: 100%; height: auto; display: block; }
.sa-ba-tag { position: absolute; bottom: 12px; z-index: 30; padding: 3px 12px; border-radius: 20px; background: rgba(6, 51, 92, .85); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.sa-ba-avant { left: 12px; }
.sa-ba-apres { right: 12px; background: var(--sa-vert); }
.sa-avant-apres figcaption { padding-top: 12px; font-weight: 600; color: var(--pbmit-heading-color); }
.sa-avant-apres figcaption span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--sa-vert); }

/* Galerie */
.pbmit-element-posts-wrapper .pbmit-ele { margin-bottom: 24px; }
.sa-galerie-item { display: block; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: #e8eef2; }
.sa-galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sa-galerie-item:hover img { transform: scale(1.05); }
.sa-galerie-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 14px; line-height: 1.3; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(6, 51, 92, .88)); }

/* Formulaires */
.sa-carte-form { background: #fff; border-radius: 20px; padding: 36px; }
.sa-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--pbmit-heading-color); }
.sa-form .form-control, .sa-form .form-select { margin-bottom: 18px; background-color: var(--pbmit-light-color); border: 1px solid #d5e2ea; border-radius: 10px; }
.sa-erreur { color: #b42318; font-size: 15px; margin: -12px 0 14px; }
.sa-erreurs { background: #fdecea; color: #b42318; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.sa-infos { display: grid; gap: 16px; margin-bottom: 24px; }
.sa-info { display: flex; gap: 16px; background: #fff; border-radius: 16px; padding: 20px; }
.sa-info i { font-size: 32px; color: var(--sa-bleu); line-height: 1; }
.sa-info h3 { font-size: 18px; margin: 0 0 4px; }
.sa-horaires { width: 100%; max-width: none; margin: 0; padding: 0; }
.sa-horaires .pbmit-timetable-wrapper { margin: 0; width: 100%; background: var(--pbmit-blackish-color); border-radius: 18px; backdrop-filter: none; }

/* Rendez-vous rapide de l'accueil : titre au-dessus, champs alignés sur une grille */
.sa-rdv-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 20px; }
.appointment-section-one .sa-rdv-tete .pbmit-title { font-size: 28px; line-height: 1.2; margin: 0; color: var(--pbmit-blackish-color); }
.sa-rdv-tete p { margin: 0; font-size: 16px; color: var(--pbmit-blackish-color); }
.appointment-section-one .sa-rdv-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; margin: 0; padding: 0; }
.sa-rdv-grille .form-control, .sa-rdv-grille .select2-container { margin: 0; }
.sa-rdv-grille input[type="date"]:invalid { color: rgba(var(--pbmit-blackish-color-rgb), .6); }
.appointment-section-one form.sa-rdv-grille button.pbmit-btn { height: 60px; white-space: nowrap; font-size: 15px; }

/* Listes avec recherche (Select2) : même allure que les champs du template */
.select2-container { margin-bottom: 20px; font-size: 16px; }
.select2-container--default .select2-selection--single { display: flex; align-items: center; height: 60px; padding: 0 44px 0 30px; border: 1px solid rgba(var(--pbmit-blackish-color-rgb), .15); border-radius: 30px; background-color: #fff; outline: none; transition: border-color .2s; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.3; color: var(--pbmit-blackish-color); }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: rgba(var(--pbmit-blackish-color-rgb), .6); }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; right: 20px; height: 20px; transform: translateY(-50%); }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single { border-color: var(--sa-bleu); }
.select2-container.sa-select-invalide .select2-selection--single { border-color: #b42318; }
.select2-dropdown { border: 1px solid #d5e2ea; border-radius: 14px !important; overflow: hidden; box-shadow: 0 10px 28px rgba(6, 51, 92, .16); }
.select2-container--default .select2-search--dropdown { padding: 10px; }
.select2-container--default .select2-search--dropdown .select2-search__field { height: 42px; padding: 0 12px; border: 1px solid #d5e2ea; border-radius: 10px; outline: none; }
.select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--sa-bleu); }
.select2-results__option { padding: 10px 14px; font-size: 15px; line-height: 1.35; color: var(--pbmit-blackish-color); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--sa-bleu); color: #fff; }
.select2-container--default .select2-results__option[aria-selected="true"] { background-color: var(--pbmit-light-color); }
.select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted { background-color: var(--sa-bleu); color: #fff; }
.select2-container--default .select2-results > .select2-results__options { max-height: 280px; }
.select2-results__option[id=""], .select2-results__option[aria-disabled="true"] { display: none; }
.sa-form .select2-container { margin-bottom: 18px; }
.sa-form .select2-container--default .select2-selection--single { height: 60px; padding-left: 30px; border: 1px solid #d5e2ea; border-radius: 10px; background-color: var(--pbmit-light-color); }

/* Contact */
.sa-carte { border-radius: 20px; overflow: hidden; height: 100%; min-height: 380px; }
.sa-carte iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Le cabinet : la forme jaune du template passe au vert du logo */
.about-two-leftbox .teeth-bg-img img { filter: hue-rotate(92deg) saturate(.8) brightness(.62); }
.pbmit-ihbox-style-2 .pbmit-ihbox-content-wrap .pbmit-element-title { display: block; margin-bottom: 4px; }

/* Bandeau d'appel */
.sa-bandeau { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--pbmit-blackish-color); border-radius: 20px; padding: 32px 36px; }
.sa-bandeau h2 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.sa-bandeau p { color: rgba(255, 255, 255, .85); margin: 0; }

/* Textes légaux */
.sa-texte { max-width: 820px; }
.sa-texte h2 { font-size: 24px; margin-top: 24px; }

/* Pied de page : la brosse à dents du template chevauchait les horaires */
.site-footer:before { background-image: none; }
.sa-footer-adresse p { margin-bottom: 10px; }
.sa-footer-adresse .sa-footer-horaire { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 2px; font-size: 15px; }

/* Bouton WhatsApp flottant */
.sa-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff !important; font-size: 28px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s; }
.sa-whatsapp:hover { transform: scale(1.08); }

/* Accueil : sections de contenu */
.sa-chapo { margin: -20px 0 32px; }
.sa-parcours { padding-top: 90px; }
.sa-specialites { display: grid; grid-template-columns: 300px repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 262px); gap: 24px; }
.sa-video { grid-row: span 2; position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #000; }
.sa-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sa-video .sa-ba-tag { bottom: auto; left: 12px; right: auto; }
.sa-video-avant { top: 12px; }
.sa-video-apres { top: calc(50% + 12px); }
.sa-specialite { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #e8eef2; }
.sa-specialite img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s; }
.sa-specialite:hover img { transform: scale(1.05); }
.sa-specialite-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; color: #fff; background: linear-gradient(transparent, rgba(6, 51, 92, .92) 55%); }
.sa-specialite-texte strong { display: block; font-size: 20px; line-height: 1.25; margin-bottom: 2px; }
.sa-specialite-texte span { display: block; font-size: 15px; line-height: 1.4; }
.sa-gestes-image { border-radius: 20px; overflow: hidden; }
.sa-gestes-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.sa-gestes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
.sa-geste { display: flex; gap: 16px; }
.sa-geste i { flex: none; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 28px; color: #fff; background: var(--pbmit-global-color); }
.sa-geste h3 { font-size: 19px; line-height: 1.3; margin: 0 0 4px; }
.sa-geste p { font-size: 15px; line-height: 1.5; margin: 0; }
.sa-coordonnees { list-style: none; margin: 0 0 26px; padding: 0; }
.sa-coordonnees li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.sa-coordonnees i { flex: none; font-size: 26px; line-height: 1.2; color: var(--pbmit-global-color); }
.sa-suivez { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; font-weight: 600; color: var(--pbmit-heading-color); }
@media (max-width: 1199px) {
	.sa-specialites { grid-template-columns: 260px repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 240px); }
}
@media (max-width: 991px) {
	.sa-parcours { padding-top: 60px; }
	.sa-specialites { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
	.sa-video { grid-column: 1 / -1; grid-row: auto; width: 100%; max-width: 300px; aspect-ratio: 11 / 20; margin: 0 auto; }
	.sa-specialite { height: 260px; }
}
@media (max-width: 575px) {
	.sa-specialites, .sa-gestes { grid-template-columns: minmax(0, 1fr); }
}

/* Mêmes largeurs que le template, où ses icônes SVG passent à 60px */
@media (min-width: 1200px) and (max-width: 1366px), (min-width: 575px) and (max-width: 767px) {
	.pbmit-footer-icon-wrap i { width: 60px; height: 60px; font-size: 32px; }
}
/* Marges pour que l'arrondi de la section ne coupe pas le bouton */
@media (min-width: 992px) {
	.appointment-section-one .right-col { padding-right: 40px; padding-bottom: 60px; }
	.appointment-section-one > .container > .row { align-items: flex-end !important; }
}
@media (max-width: 991px) {
	.appointment-section-one .sa-rdv-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.appointment-section-one .right-col { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 575px) {
	.appointment-section-one .sa-rdv-grille { grid-template-columns: minmax(0, 1fr); }
	.sa-rdv-tete { text-align: center; justify-content: center; }
}
@media (max-width: 1199px) {
	.sa-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sa-formules-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.sa-formules, .sa-formules-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.sa-formule { padding: 20px 12px 16px; }
	.sa-formule-prix { font-size: 28px; }
	.sa-carte-form { padding: 22px; }
	.site-header .site-branding img.logo-img { height: 62px; max-height: 62px; }
	.site-title { height: 66px; }
	.sa-bandeau { padding: 26px 22px; }
}
