* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 70px;
}

body {
    background-color: #fcfbfa;
    color: #333;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.navbar {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    background-color: rgba(255, 255, 255, 0.97);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo-img {
    max-height: 40px;
    width: auto;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #3d3530;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.navbar-links {
    display: none;
    flex-direction: column;
    list-style: none;
    gap: 0;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px 0 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    border-top: 1px solid #f0ece8;
}

.navbar-links.open {
    display: flex;
}

.navbar-links li {
    width: 100%;
}

.navbar-links a {
    display: block;
    color: #3d3530;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 14px 5%;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f0ece8;
    transition: background 0.2s;
}

.navbar-links a:hover {
    background-color: #faf7f5;
    color: #7d9d85;
}

.btn-rdv {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #bf7ad0, #a86bb8);
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.carousel {
    position: relative;
    margin-top: 60px;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    padding: 15px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.carousel-track img {
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease,
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.center {
    width: 75%;
    height: 220px;
    opacity: 1;
    transform: scale(1);
}

.side {
    width: 10%;
    height: 160px;
    opacity: 0.35;
    transform: scale(0.9);
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10;
    color: #bf7ad0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.prev { left: 2%; }
.next { right: 2%; }

.description {
    padding: 40px 5%;
    background-color: #f9f7f4;
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.description h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    margin-bottom: 14px;
    color: #3d3530;
    line-height: 1.25;
}

.description h1 em {
    font-style: italic;
    color: #bf7ad0;
}

.spec-header h2 em {
    color: rgb(56, 111, 78);
}

.cabinet-content h2 em {
    color: #5a7360;
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7d9d85;
    border: 1px solid #7d9d85;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.description p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #666;
}

.info-block {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.stat {
    background: #fff;
    padding: 16px 12px;
    border-radius: 14px;
    flex: 1;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.stat p {
    display: block;
    font-size: 3rem;
    color: #7d9d85;
    font-weight: 600;
}

.stat small {
    font-size: 1.2rem;
    color: #999;
}

.portrait-block {
    display: flex;
    justify-content: center;
}

.portrait-img {
    width: 100%;
    max-width: 320px;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}



.specialites-seo {
    padding: 45px 5%;
    background: #fff;
    text-align: center;
}

.spec-header {
    margin-bottom: 28px;
}

.spec-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #3d3530;
    margin-bottom: 8px;
}

.spec-header p {
    font-size: 0.88rem;
    color: #888;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
}

.spec-item {
    padding: 18px 14px;
    border-bottom: 3px solid #7d9d85;
    background: #fdfcfb;
    border-radius: 12px;
}

.spec-item h3 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #3d3530;
    margin-bottom: 6px;
}

.spec-item p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #777;
}

.infos-cabinet {
    padding: 45px 5%;
    background-color: #f9f7f4;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.cabinet-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #3d3530;
    margin-bottom: 22px;
}

.info-row {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #3d3530;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

.cabinet-visual-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.cabinet-visual-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.cabinet-visual-img:hover {
    transform: scale(1.02);
}

.avis-section {
    padding: 50px 0 40px;
    background-color: #dfd8d6;
    text-align: center;
    overflow: hidden;
}

.avis-section > h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    margin-bottom: 36px;
    color: #3d3530;
    padding: 0 5%;
}

.avis-section > h2 em {
    font-style: italic;
    color: #bf7ad0;
}

.marquee-outer {
    position: relative;
    overflow: hidden;
    cursor: default;
    display: flex;
    align-items: flex-start;
}

.marquee-outer::before,
.marquee-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-outer::before {
    left: 0;
    background: linear-gradient(to right, #dfd8d6, transparent);
}

.marquee-outer::after {
    right: 0;
    background: linear-gradient(to left, #dfd8d6, transparent);
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 8px 0 12px;
    will-change: transform;
}

.marquee-card {
    background: #3d3530;
    border-radius: 14px;
    padding: 22px 22px 18px;
    width: calc((100vw - 120px) / 2);
    max-width: 300px;
    min-width: 220px;
    flex-shrink: 0;
    text-align: left;
}

.marquee-placeholder {
    opacity: 0.35;
    border: 1.5px dashed #7d6a65;
    background: transparent;
}

.marquee-stars {
    color: #f4c542;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.marquee-text {
    font-size: 0.82rem;
    line-height: 1.65;
    color: #e8e0dd;
    margin-bottom: 14px;
    font-style: italic;
}

.marquee-author {
    font-size: 0.78rem;
    font-weight: 600;
    color: #bf7ad0;
}

.marquee-author span {
    font-weight: 400;
    color: #a08880;
}

.avis-google-externe {
    text-align: center;
    padding: 16px 5% 24px;
    background-color: #dfd8d6;
}

.avis-google-externe a {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d3530;
    text-decoration: none;
    border: 1.5px solid #3d3530;
    padding: 9px 22px;
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
}

.avis-google-externe a:hover {
    background: #3d3530;
    color: #fff;
}

.page-blur-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.page-blur-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.floating-help {
    position: fixed;
    bottom: 18px;
    right: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: transparent;
}

.floating-actions {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 10px;
    background: transparent;
}

.floating-actions.open {
    display: flex;
}

.floating-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    padding: 8px 16px 8px 12px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}

.floating-action-btn:hover {
    background: #f5f5f5;
}

.help-toggle {
    width: 46px;
    height: 46px;
    background-color: #bf7ad0;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(191,122,208,0.4);
    transition: transform 0.2s ease;
}

.help-toggle:active {
    transform: scale(0.95);
}

.site-footer {
    padding: 40px 5%;
    background: #f9f7f4;
    text-align: center;
}

.footer-partners {
    margin-bottom: 30px;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
    align-items: center;
}

.partner-logos img {
    height: 45px;
    filter: none;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logos {
    gap: 50px;
}

.partner-logos a:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid #e8e4e0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.footer-info p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.8;
}

.footer-info strong {
    color: #3d3530;
}

.footer-info a {
    color: #3d3530;
    text-decoration: none;
}

.footer-legal p {
    font-size: 0.8rem;
    color: #999;
    margin-top: 8px;
}

.footer-legal a {
    color: #bf7ad0;
    text-decoration: none;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .navbar-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
        box-shadow: none;
        border: none;
        gap: 25px;
        margin-left: auto;
        margin-right: 20px;
    }

    .navbar-links li {
        width: auto;
    }

    .navbar-links a {
        display: inline;
        padding: 0;
        border: none;
        font-size: 13px;
        letter-spacing: normal;
    }

    .navbar-links a:hover {
        background: none;
        color: #bf7ad0;
    }

    .spec-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (min-width: 1024px) {
    [id] { scroll-margin-top: 100px; }

    .navbar {
        height: 100px;
    }

    .logo-img {
        max-height: 70px;
    }

    .navbar-links {
        margin-right: 25px;
        gap: 40px;
    }

    .navbar-links a {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .btn-rdv {
        padding: 12px 28px;
        font-size: 14px;
    }

    .carousel {
        margin-top: 100px;
    }

    .carousel-container {
        padding: 20px 0;
    }

    .carousel-track {
        gap: 12px;
    }

    .center {
        width: 50%;
        height: 350px;
    }

    .side {
        width: 15%;
        height: 280px;
        opacity: 0.4;
    }

    .btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .description {
        padding: 80px 10%;
    }

    .description-grid {
        grid-template-columns: 2fr 1fr;
        gap: 50px;
    }

    .description h1 {
        font-size: 3.2rem;
    }

    .stat {
        padding: 28px 20px;
    }

    .stat span {
        font-size: 1.8rem;
    }

    .background-elements {
        display: block;
    }

    .description-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .info-block {
        flex-direction: column;
    }

    .portrait-img {
        height: 380px;
        max-width: 100%;
    }

    .specialites-seo {
        padding: 80px 10%;
    }

    .spec-header h2 {
        font-size: 2.2rem;
    }

    .spec-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .spec-item {
        padding: 28px 22px;
    }

    .spec-item h3 {
        font-size: 1rem;
    }

    .spec-item p {
        font-size: 0.88rem;
    }

    .infos-cabinet {
        padding: 80px 10%;
    }

    .cabinet-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .cabinet-content h2 {
        font-size: 2.2rem;
    }

    .cabinet-visual-img {
        height: 480px;
    }

    .avis-section {
        padding: 60px 0 50px;
    }

    .avis-section > h2 {
        font-size: 2.5rem;
        margin-bottom: 44px;
    }

    .marquee-card {
        width: calc((100vw - 192px) / 3);
        max-width: 380px;
        min-width: 260px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .partner-logos img {
        height: 45px;
    }
}

@media (min-width: 768px) {
    .page-blur-overlay {
        display: none;
    }
}

@media (max-width: 767px) {
    .marquee-outer::before,
    .marquee-outer::after {
        width: 16px;
    }
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.recaptcha-mention {
    font-size: 0.72rem;
    color: #bbb;
    margin-top: 10px;
    text-align: center;
}

.recaptcha-mention a {
    color: #bbb;
    text-decoration: underline;
}