/* ============================================================
   CSS statique extrait des <style> inline des pages blog
   (anciennement dans blog/includes/css-cls.php, head.php et le
   bloc #menu2 de header.php).
   Externalisé pour améliorer le ratio texte/HTML (SEO) et le cache.
   Les règles conditionnelles (lang / mobile) restent inline.
   ============================================================ */

/* ---- ex css-cls.php ---- */
@media (max-width:1000px) {
#searchForm {
    max-width: 210px
}
#logo-v3 {
    margin: 5px auto !important;
    width: 200px
}
}
#header.short #logo-v3 {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    max-height: 60px;
    width: auto
}

#header.short {
    height: 75px !important
}

header {
    position: relative !important
}
.t3-header .headright {
    z-index: 1
}
.article-releated .relateditems .detail-related {
    overflow: hidden
}

.article-releated .relateditems .detail-related .article-aside {
    margin-bottom: 0
}

.article-releated .relateditems .detail-related .article-aside .article-info {
    float: none
}

.article-releated .relateditems .detail-related .article-title {
    font-size: 16px
}
@media (min-width:480px) and (max-width:991px) {
    .article-releated .relateditems .img-intro {
        margin-bottom: 10px;
        float: none;
        width: 100%
    }
}



@media (max-width:767px) {
    .article-releated article {
        min-height: unset !important
    }
}

.article-releated {
    margin-top: 40px
}

.article-releated .module-title {
    padding-top: 20px;
    border-top: 4px solid #262626
}

.article-releated .relateditems {
    list-style: none;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
    margin: 0
}

.article-releated .relateditems .img-intro {
    float: left;
    margin-right: 20px;
    width: 41%
}
.article-info .article-info-term {
    display: none
}
.article-info dd {
    display: inline-block;
    margin-left: 0;
    margin-right: 10px;
    white-space: nowrap
}

.article-info dd strong {
    font-weight: 700
}
.article-info i {
    display: none
}
.category-name a {
    border-bottom: 1px solid #999;
    color: #626262;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding-bottom: 2px
}
img {
    vertical-align: middle
}

/* ---- ex <style> de head.php (règles statiques) ---- */
.article-title a:hover {
    color: #ff902b;
    text-decoration: none;
}

i {
    display: inline-block !important;
}

.nav-link {
    color: #262626;
    text-transform: uppercase;
    padding-left: 0;
    padding-right: 0;
    margin: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

header .nav {
    border-left: solid 1px #eee;
    border-right: solid 1px #eee;
}

.leading-main .item-content {
    border-bottom: 2px solid #ff902b;
}

.article-content,
.item-page .article-content {
    font-family: "PT Serif", "Times New Roman", Times, serif;
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
}

.table {
    border: solid 1px #CCC;
}

.quote-card {
    padding: 1.5625em;
}

.quote-card {
    margin-bottom: 1.875em;
    padding-top: 1.875em;
    padding-bottom: 1.875em;
    border-radius: 12px;
    -webkit-box-shadow: 0 3px 7px 0 rgba(0, 0, 0, .08), -1px -1px 7px 0 rgba(0, 0, 0, .08);
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, .08), -1px -1px 7px 0 rgba(0, 0, 0, .08);
}

/* modal confirmation css  */
.modal-confirm .modal-content {
    padding: 20px;
    font-size: 16px;
    border-radius: 12px;
    border: none;
}

.modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
    text-align: center;
    margin: -20px -20px 0;
}

.modal-confirm h4 {
    text-align: center;
    font-size: 36px;
    margin: 10px 0;
}

.modal-confirm .close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #999;
    text-shadow: none;
    opacity: 0.5;
}

.modal-confirm .close:hover {
    opacity: 0.8;
}

.modal-confirm .icon-box {
    color: #429f78 ;
    width: 95px;
    height: 95px;
    display: inline-block;
    z-index: 9;
    padding: 15px;
    text-align: center;
}

.modal-confirm .icon-box i {
    font-size: 85px;
    margin: -4px 0 0 -4px;
}

.modal-confirm .btn,
.modal-confirm .btn:active {
    min-height: 40px;
    color: #fff;
    background: #555 !important;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    border-radius: 30px;
    margin-top: 10px;
    padding: 6px 20px;
    border: none;
}

.modal-confirm .btn:hover,
.modal-confirm .btn:focus {
    background: #999 !important;
    outline: none;
}

.modal-confirm .btn span {
    margin: 1px 3px 0;
}

.default-h4 {
    background: none;
    padding-left: 0px;
    border: none;
    padding: 0px;
}

.social-buttons {
    display: flex;
    align-items: center;
    /* flex vertical alignment */
    justify-content: center;
    /* flex horiz alignment - center is better */
}

.social-buttons a {
    color: #aaa;
    font-size: 18px
}

.social-buttons a:hover,
.social-buttons a:focus,
.social-buttons a:active {
    color: #ff902b
}

.head-mobile-search .fa {
    color: #111;
    display: table-cell;
    font-size: 25px;
    position: relative;
    vertical-align: middle;
}

@media (max-width:340px) {
    #logo-v3 {
        width: 170px;
    }
}

@media (max-width:500px) {
    .footer-detail {
        margin-bottom: 40px;
    }
}

.float-devis-header {
    position: fixed;
    bottom: 15px;
    left: 15px;
    font-size: 15px !important;
    border-radius: 35px !important;
    background-color: #ffca57 !important;
    border-color: #ffca57 !important;
    min-height: 45px;
    z-index: 999;
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 240px;
}

.btn-devis-header {
    position: absolute;
    margin-top: 50px;
    left: 47px;
    border-radius: 35px !important;
    background-color: #ffca57 !important;
    border-color: #ffca57 !important;
    min-height: 35px;
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 240px;
}

.intl-tel-input {
    width: 100%;
}

.whatsapp-float {
    position: fixed;
    width: auto;
    min-width: 48px;
    min-height: 48px;
    bottom: 15px;
    right: 15px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 25px;
    text-align: center;
    font-size: 22px;
    line-height: 1;
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
    text-decoration: none;
}
.whatsapp-float__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
}

.close-btn {
    color: #fff;
    width: 34px;
    height: 34px;
    opacity: 1;
    border: solid 2px #FFF;
    border-radius: 50%;
}

.close-btn {
    top: -15px;
    right: -15px;
    position: absolute;
    color: #f1f1f1;
    font-size: 33px;
    font-weight: 700;
    transition: .3s;
    padding: 0;
    line-height: 24px;
    background: #000;
    text-align: center;
}

#callMePoppup .modal-title {
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.5;
    font-size: 16px;
}

#callMePoppup .modal-header {
    border-bottom: 1px solid #dee2e6;
}

#callMePoppup .tq-cta__manager {
    display: flex;
    position: relative;
}

#callMePoppup .tq-cta__manager:after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 2px;
    margin-top: -1px;
    margin-left: -20px;
    background-color: #ffca57;
}

#callMePoppup .div_medecin {
    height: auto !important;
    border-radius: 50% !important;
    margin-left: -10px !important;
}

#callMePoppup .form-control {
    border-radius: 0 !important;
}

#callMePoppup .form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

#callMePoppup .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#callMePoppup .intl-tel-input.allow-dropdown input,
#callMePoppup .intl-tel-input.allow-dropdown input[type=tel],
#callMePoppup .intl-tel-input.allow-dropdown input[type=text],
#callMePoppup .intl-tel-input.separate-dial-code input,
#callMePoppup .intl-tel-input.separate-dial-code input[type=tel],
#callMePoppup .intl-tel-input.separate-dial-code input[type=text] {
    padding-right: 6px !important;
    padding-left: 52px !important;
}

#callMePoppup .btn-red {
    background-color: #ffca57;
    color: #333 !important;
    border-radius: 4px;
    border: 0 none !important;
    white-space: normal !important;
    word-wrap: break-word;
}

#callMePoppup .modal-dialog {
    margin-top: 40px;
    transform: none;
}

#callMePoppup .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 25px;
    position: relative;
    bottom: 24px;
    top: unset;
    float: right;
    right: 1px;
    width: 20px;
}

#callMePoppup .select2-dropdown--below {
    top: 268px;
}

#callMePoppup #selectProcContainer .select2-container {
    height: 35px !important;
}


.apr_floating {
    position: absolute;
    width: 350px;
    z-index: 10;
    background: #FFF;
    bottom: 0
}

.floating {
    position: fixed !important;
    top: 100px;
    width: 350px;
    z-index: 10;
    background: #FFF;
}

#carouselExampleIndicators3 .carousel-indicators li,
#carouselExampleIndicators3 .carousel-indicators li.active {
    background-color: #ffca57;
}

#carouselExampleIndicators3 .carousel-indicators {
    bottom: 4px !important;
}

#carouselExampleIndicators3 .carousel-control-prev,
#carouselExampleIndicators3 .carousel-control-next {
    color: black;
    width: 5%
}

#carouselExampleIndicators3 .carousel-control-prev {
    left: -3%;
}

#carouselExampleIndicators3 .carousel-control-next {
    right: -3%;
}

#carouselExampleIndicators3 .carousel-inner .carousel-item .col {
    margin: 3px !important;
}

.procedureCard {
    height: 100%;
    width: 100%;
}

.procedureCard .h5 {
    /* -webkit-text-stroke: 0.3px gray; */
    color: white;
    margin: auto;
    font-family: "Hartwell Alt", arial, sans-serif;
    font-size: 1rem;
}

.procedureCard .card-img-overlay {
    margin: auto;
}

.procedureCard .card-img {
    filter: brightness(70%);
}

@media only screen and (max-width: 770px) {

    #carouselExampleIndicators3 .carousel-control-prev span,
    #carouselExampleIndicators3 .carousel-control-next span {
        font-size: 24px;
        padding: 10px;
        background: #FFF;
        border-radius: 50%;
    }

    #carouselExampleIndicators3 .carousel-indicators {
        bottom: -42px !important;
    }

    .procedureCard .h5 {
        -webkit-text-stroke: 0px white;
        font-size: small;
    }
}

.summaryLink {
    color: black;
}

.summaryLink:hover {
    text-decoration: underline;
}

.collapseBtn {
    border-radius: 5px;
}

.card,
.modal-content,
.procedureCard img {
    border-radius: 12px !important;
}

.card-header:first-child {
    border-radius: 12px 12px 0 0;
}

.rounded,
.btn {
    border-radius: 8px !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.fixed-bottom-section {
    border-radius: unset !important;
}

.select2-results__option--highlighted {
    background-color: #dddddd !important;
    color: #000 !important;
}

#carouselExampleControls2 img {
    max-width: 100%;
    height: auto;
}

#carouselExampleControls2 a {
    color: gray;
}

#carouselExampleControls2 .single-chart {
    width: 65px;
    padding-top: 3px;
}

#carouselExampleControls2 .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

#carouselExampleControls2 .circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

#carouselExampleControls2 .big-avg {
    fill: #666;
    font-family: 'Comic Sans MS';
    font-size: .9em;
    text-anchor: middle;
}

.franceFlag {
    margin-top: -4px;
    margin-right: -2px !important;
}

.iconTextDivider {
    position: relative;
    top: -2px;
    margin: 0 5px;
    font-size: 15px;
}

.text_lang {
    position: relative;
    top: -1px;
    font-size: 15px;
}

.blog-lang-drop .dropdown-item {
    padding: .25rem 0.75rem;
}

/* ---- ex <style> #menu2 de header.php ---- */
/* Container */
#menu2 {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #e6e6e6;
    position: relative;
    z-index: 10;
}

/* Nav principal */
#menu2 .nav {
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

/* Liens principaux */
.body_desktop[class*="body_lang_"]:not(.body_lang_ru) #menu2 .nav-link{
    padding: 10px 14px;
}

#menu2 .nav-link {
    font-weight: 600;
    color: #2b2b2b;
    position: relative;
    transition: all 0.25s ease;
    border-radius: 6px;
}

#menu2 .nav-link:hover {
    background: #f0fdf4;
    color: #2b654d;
}

/* Active link */
#menu2 .nav-link.active {
    color: #fff;
    background: #2b654d;
    box-shadow: 0 4px 12px rgba(43,101,77,0.3);
}

/* Dropdown */
.webDropdown .dropdown-menu {
    border-radius: 10px;
    border: 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    padding: 6px 0;
    min-width: 220px;
    background: #fff;
    animation: fadeIn 0.2s ease;
    inset: auto !important;
    transform: unset !important;
}

/* Dropdown items */
.webDropdown .dropdown-item {
    font-size: 0.95rem;
    padding: 10px 18px;
    transition: 0.2s;
    border-radius: 6px;
}

.webDropdown .dropdown-item:hover {
    background: #f0fdf4;
    color: #2b654d;
}

/* COVID tag */
.covid-tag {
    background: #ff6f31 !important;
    color: #fff !important;
    padding: 8px 18px !important;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Animation */
@keyframes fadeIn {
    from {opacity:0; transform: translateY(5px);}
    to {opacity:1; transform: translateY(0);}
}

/* Responsive */
@media(max-width: 992px){
    #menu2 .nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }
    .webDropdown .dropdown-menu {
        min-width: 180px;
    }
}

/* ============================================================
   Réservation d'espace images (anti-CLS / Cumulative Layout Shift)
   On fige le ratio d'affichage pour que l'espace soit réservé
   AVANT le chargement de l'image -> aucun décalage de mise en page.
   object-fit: cover évite toute déformation (recadrage propre).
   ============================================================ */

/* Image hero de l'article (haut de page, LCP) */
.blog-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Vignettes des articles liés (sidebar + bas de page) */
.leading-sidebar .item-image img,
.article-releated .relateditems .img-intro img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Logo blog : éviter le reflow interne du header pendant le chargement */
#logo-v3 {
    height: auto;
}

/* Avatars auteur / médecin (sous la ligne de flottaison) */
.img-author {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

/* Vignettes procédures dans les carrousels (bas de page) */
.procedureCard .card-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: auto;
}
