/* Centre Retraite & Vie — surcouche charte */

/* Points de titre en or (logo) */
.section-title h3::before {
    background: var(--accent-color) !important;
}

.crv-header .main-menu ul li a:hover,
.crv-header .main-menu ul li a:focus {
    color: var(--green-color);
}

.readmore-btn:hover {
    color: var(--green-color);
}

.crv-method-item .step-no {
    background: var(--accent-color);
    color: var(--primary-color);
}

.crv-pro-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00286e 55%, #0a3d1a 100%);
}

.crv-situations .section-btn {
    text-align: right;
}

@media (max-width: 991px) {
    .crv-situations .section-btn {
        text-align: left;
        margin-top: 20px;
    }
}

.crv-situations .section-footer-text {
    text-align: center;
    margin-top: 20px;
}

.crv-situations .section-footer-text span {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Boutons verts : hover lisible (plus de texte blanc sur fond blanc) */
.btn-default.btn-highlighted {
    background: var(--green-color);
    color: var(--white-color);
}

.btn-default.btn-highlighted::before {
    filter: brightness(0) invert(1);
}

.btn-default.btn-highlighted::after {
    background-color: var(--primary-color);
}

.btn-default.btn-highlighted:hover {
    color: var(--white-color);
}

.btn-default.btn-highlighted:hover::before {
    filter: brightness(0) invert(1);
}

.service-body .icon-box {
    background: var(--accent-color);
}

.dark-section {
    background-color: var(--primary-color);
}

/* Bilan 360 — cercle template adapté CRV */
.about-us-circle a img {
    max-width: 140px;
}

.about-body-content {
    flex: 1;
    min-width: 200px;
}

.about-body-content p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.about-us-content .crv-hero-actions {
    margin-top: 28px;
}

.about-us-list {
    margin-top: 10px;
}

/* Section lieu de vie — aération bas */
.cta-box.bg-section {
    padding: 100px 0 80px;
    background-image: none;
}

.cta-box .crv-hero-actions {
    margin-top: 28px;
    margin-bottom: 12px;
}

.cta-box-image {
    margin-bottom: 0;
}

/* Désactiver le curseur magique type « étoile » */
.cb-cursor {
    display: none !important;
}

body,
a,
button,
.btn-default,
[data-cursor],
[data-cursor-text] {
    cursor: auto !important;
}

body {
    cursor: default !important;
}

a,
button,
.btn-default,
.readmore-btn {
    cursor: pointer !important;
}

/* ——— Header ——— */
.crv-header .navbar {
    padding: 22px 0;
}

.crv-header .crv-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 16px;
}

.crv-header .navbar-brand {
    grid-column: 1;
    margin: 0;
    z-index: 2;
}

.crv-header .navbar-brand img {
    max-height: 68px;
    width: auto;
    display: block;
}

.crv-header .main-menu {
    grid-column: 2;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    margin: 0;
    padding: 0 8px 0 0;
}

@media (min-width: 992px) {
    .crv-header .main-menu {
        display: flex !important;
    }
}

.crv-header .main-menu .nav-menu-wrapper {
    flex: 0 1 auto;
    text-align: right;
    margin: 0;
    min-width: 0;
}

.crv-header .main-menu .nav-menu-wrapper > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.crv-header .main-menu ul li {
    margin: 0;
    flex: 0 0 auto;
}

.crv-header .main-menu ul li a {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    padding: 14px 12px !important;
    white-space: nowrap;
    text-transform: none;
}

.crv-header .main-menu ul li.submenu > a:after {
    margin-left: 5px;
    font-size: 12px;
}

.crv-header-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.crv-header .navbar-toggle {
    grid-column: 3;
    justify-self: end;
}

.crv-header .header-btn .btn-default {
    padding: 15px 46px 15px 20px;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1.2;
}

.crv-header .header-btn .btn-default::before {
    right: 16px;
    width: 11px;
    height: 11px;
}

/* Preloader — logo CRV */
.preloader #loading-icon {
    max-width: 90px;
}

.preloader #loading-icon img {
    max-width: 90px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 1px rgba(255,255,255,.35));
}

/* Dropdown Solutions — largeur + pas d'overflow au survol */
.crv-header .main-menu ul ul {
    width: min(340px, calc(100vw - 40px));
    min-width: 280px;
    overflow: hidden;
    box-sizing: border-box;
}

.crv-header .main-menu ul ul li a {
    display: block;
    white-space: normal;
    line-height: 1.35;
    padding: 10px 18px !important;
    word-break: normal;
    overflow-wrap: break-word;
}

.crv-header .main-menu ul ul li a:hover,
.crv-header .main-menu ul ul li a:focus {
    padding: 10px 18px 10px 22px !important;
}

/* Situation cards — keep old unused styles minimal / remove conflict */
.crv-situations .service-list {
    margin-top: 10px;
}

.crv-situations .service-item {
    min-height: 320px;
}

.crv-situations .service-content h3 {
    font-size: 18px;
}

.crv-situations .service-image img,
.hero .hero-image img,
.hero .working-hour-image img,
.about-us-images img,
.cta-box-image img,
.our-blog .post-featured-image img {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100%;
}

.crv-situations .service-image img {
    object-position: center 20%;
}

.cta-box-image figure {
    border-radius: 20px;
    overflow: hidden;
    max-height: 420px;
}

.cta-box-image img {
    min-height: 320px;
}

/* Contact page tweaks */
.page-contact-us {
    padding: 70px 0 90px;
}

.page-contact-us .contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
}

.page-contact-us .contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.page-contact-us .contact-info-item .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-contact-us .contact-info-content h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 6px;
}

.page-contact-us .contact-info-content p {
    margin: 0;
    line-height: 1.5;
}

.page-contact-us .contact-us-form {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 36px;
}

.page-contact-us .form-control,
.page-contact-us .form-select {
    min-height: 52px;
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    padding: 12px 16px;
    background: var(--white-color);
}

.page-contact-us textarea.form-control {
    min-height: 140px;
}

.page-contact-us .form-check-label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
}

.crv-footer-logo {
    max-height: 72px;
    width: auto;
    filter: brightness(0) invert(1);
}

.crv-legal-mention {
    margin-top: 6px !important;
    font-size: 13px;
    opacity: 0.85;
}

.crv-footer-cta .btn-default {
    display: inline-block;
    margin-top: 10px;
}

/* Hero Carely / CRV */
.hero {
    padding: 40px 0 60px;
}

.hero .hero-content-box .section-title h3,
.hero .hero-content-box .section-title h1,
.hero .hero-content-box .section-title h1 span {
    color: var(--white-color);
}

.hero .hero-content-box .section-title h3::before {
    background-color: var(--accent-color);
}

.hero .hero-benefit-item .icon-box {
    background: var(--accent-color);
}

.hero .hero-benefit-item-content h3 {
    color: var(--primary-color);
    font-size: 16px;
}

.hero .working-hours-body ul.crv-start-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero .working-hours-body ul.crv-start-links li {
    display: block;
    margin: 0;
}

.hero .crv-start-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--white-color);
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, transform 0.25s ease;
}

.hero .crv-start-link::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    background: url('../images/arrow-primary.svg') no-repeat center / contain;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.hero .crv-start-link:hover {
    background: var(--primary-color);
    color: var(--white-color) !important;
    transform: translateY(-1px);
}

.hero .crv-start-link:hover::after {
    filter: brightness(0) invert(1);
    transform: rotate(45deg);
}

.crv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    align-items: center;
}

.crv-final-cta .crv-hero-actions {
    justify-content: center;
    gap: 12px;
}

.crv-final-cta .crv-hero-actions .btn-default {
    margin: 0;
}

/* Situation cards */
.crv-situations {
    padding: 70px 0;
}

.crv-situation-card {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 18px;
    padding: 28px 24px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.crv-situation-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 16px 40px rgba(13, 59, 92, 0.08);
}

.crv-situation-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.crv-situation-card p {
    margin-bottom: 0;
    line-height: 1.6;
}

.crv-situation-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.crv-bilan-teaser {
    margin-top: 40px;
    padding: 28px;
    border-radius: 18px;
    background: var(--secondary-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.crv-bilan-teaser h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Method steps */
.crv-method-item {
    text-align: center;
    padding: 20px 12px;
}

.crv-method-item .step-no {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.crv-method-item h3 {
    color: var(--white-color);
    font-size: 18px;
    margin-bottom: 8px;
}

.crv-method-item p {
    color: rgba(255,255,255,.85);
    line-height: 1.5;
    margin: 0;
}

/* Solutions — Why Choose Us (2 × 3) */
.crv-solutions-why .crv-solutions-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
}

.crv-solutions-why .why-choose-item-content h3 {
    font-size: 17px;
}

.crv-solutions-why .why-choose-item-content h3 a {
    color: inherit;
    text-decoration: none;
}

.crv-solutions-why .why-choose-item-content h3 a:hover {
    color: var(--accent-color);
}

.crv-title-link {
    position: relative;
    display: inline-block;
    padding-right: 22px;
}

.crv-title-link::before {
    content: '';
    position: absolute;
    top: 0.35em;
    right: 0;
    width: 11px;
    height: 11px;
    background: url('../images/arrow-primary.svg') no-repeat center / contain;
    transition: transform 0.35s ease;
}

.crv-title-link:hover::before {
    transform: rotate(45deg);
}

.crv-solutions-why .why-choose-item-content p {
    font-size: 14px;
    line-height: 1.55;
}

.crv-solutions-why .why-choose-item {
    margin-bottom: 22px;
    padding-bottom: 22px;
}

.crv-solutions-why .why-choose-item .icon-box {
    width: 50px;
    height: 50px;
    margin-right: 14px;
}

.crv-solutions-why .why-choose-item .icon-box img {
    max-width: 24px;
}

.crv-solutions-why .why-choose-item-content {
    width: calc(100% - 64px);
}

.crv-solutions-why .contact-us-circle a {
    border-color: var(--white-color);
}

.crv-solutions-why .why-choose-images {
    margin-left: 0;
}

.crv-solutions-why .why-choose-img-1 {
    margin-left: 120px;
}

.crv-solutions-why .why-choose-img-2 {
    max-width: 260px;
    left: 0;
}

.crv-solutions-why .contact-us-circle {
    right: 20px;
}

@media (max-width: 991px) {
    .crv-solutions-why .crv-solutions-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .crv-solutions-why .why-choose-content {
        margin-bottom: 40px;
    }

    .crv-solutions-why .why-choose-img-1 {
        margin-left: 80px;
    }
}

/* Why us / réassurance */
.crv-reassurance {
    padding: 100px 0;
}

.crv-why-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 8px;
}

.crv-why-item p {
    line-height: 1.6;
    margin: 0;
}

/* Lieu de vie — Our Feature */
.our-feature .crv-hero-actions {
    margin-top: 36px;
}

.our-feature .crv-hero-actions .btn-default {
    background: var(--accent-color);
    color: var(--white-color);
}

.our-feature .year-experience-circle a {
    display: block;
    border-radius: 50%;
}

.our-feature .year-experience-circle .year-experience-counter {
    display: none;
}

.crv-feature-note {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px 20px;
}

.crv-feature-note p {
    color: var(--white-color);
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

/* Pro banner */
.crv-pro-banner {
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 20px;
    padding: 40px;
}

.crv-pro-banner h2,
.crv-pro-banner p {
    color: var(--white-color);
}

/* Final CTA */
.crv-final-cta {
    text-align: center;
    padding: 80px 0;
}

@media (max-width: 1399px) {
    .crv-header .main-menu ul li a {
        font-size: 14px;
        padding: 12px 9px !important;
    }

    .crv-header .navbar-brand img {
        max-height: 60px;
    }

    .crv-header .crv-header-inner {
        column-gap: 24px;
    }
}

@media (max-width: 1199px) {
    .crv-header .main-menu ul li a {
        font-size: 13px;
        padding: 10px 7px !important;
    }

    .crv-header .crv-header-inner {
        column-gap: 18px;
    }

    .crv-header .navbar-brand img {
        max-height: 54px;
    }

    .crv-header .header-btn .btn-default {
        padding: 13px 42px 13px 16px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .crv-header .crv-header-inner {
        display: flex;
        justify-content: space-between;
        column-gap: 12px;
    }

    .crv-header-actions {
        display: none;
    }

    .crv-header .navbar {
        padding: 16px 0;
    }

    .crv-header .navbar-brand img {
        max-height: 50px;
    }
}
