:root {
    --color-primary-blue: #007bff;
    --color-light-blue: #f0f7ff;
    --color-background-grey: #f7f9fc;
    --color-text-main: #303030;
    --color-text-secondary: #6b7280;
}

/* Partie banner  */

#banner-712 span {
    color: #fff;
}

#banner-712 span a {
    color: var(--primary);
    text-decoration: none;
}

@media only screen and (min-width: 0rem) {
    #banner-712 {
        padding: clamp(10.9375rem, 10vw, 12.5rem) 1rem 6.25rem;
        position: relative;
        z-index: 1;
    }

    #banner-712 .cs-container {
        text-align: center;
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        /* align-items: flex-start; */
        flex-direction: column;
        gap: 1rem;
    }

    #banner-712 .cs-int-title {
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        line-height: 1.2em;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        position: relative;
        line-break: anywhere;
    }

    #banner-712 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    #banner-712 .cs-background:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.75;
        top: 0;
        left: 0;
        z-index: 1;
    }

    #banner-712 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media only screen and (min-width: 48rem) {
    #banner-712 .cs-background:before {
        opacity: 1;
        background: linear-gradient(
            90.01deg,
            rgba(0, 0, 0, 0.9) 16.86%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}
/* Fin partie banner  */

@media only screen and (min-width: 0rem) {
    #services-1355 {
        /* padding: var(--sectionPadding); */
        position: relative;
        z-index: 10;
    }

    #services-1355 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #services-1355 .cs-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 25px;
        margin-bottom: 5rem;
    }

    #services-1355 .cs-title {
        max-width: 35ch;
        margin: 0;
    }

    #services-1355 .cs-card-group {
        margin: 0;
        padding: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: clamp(1rem, 2vw, 1.25rem);
    }

    #services-1355 .cs-item {
        text-align: center;
        list-style: none;
        width: 100%;
        height: 14rem;
        margin: 0;
        padding: 0;
        background-color: #000;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
        box-sizing: border-box;
        grid-column: span 12;
        grid-row: span 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        position: relative;
        z-index: 1;
    }

    #services-1355 .cs-item:hover .cs-background:before {
        opacity: 0.84;
    }

    #services-1355 .cs-item:hover .cs-background img {
        transform: scale(1.2);
    }

    #services-1355 .cs-link {
        text-decoration: none;
        width: 100%;
        height: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #services-1355 .cs-h3 {
        font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: bold;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        transition: color 0.3s;
    }

    #services-1355 .cs-span {
        display: block;
    }

    #services-1355 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    #services-1355 .cs-background:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background-color: #000;
        opacity: 0.4;
        top: 0;
        left: 0;
        z-index: 1;
        transition:
            background-color 0.3s,
            opacity 0.3s;
    }

    #services-1355 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }
}

@media only screen and (min-width: 37.5rem) {
    #services-1355 .cs-content {
        text-align: left;
        align-items: flex-start;
    }

    #services-1355 .cs-item {
        grid-column: span 6;
    }
}

@media only screen and (min-width: 64rem) {
    #services-1355 .cs-content {
        text-align: left;
        align-items: flex-start;
    }

    #services-1355 .cs-item {
        grid-column: span 4;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.accent-blue {
    color: var(--color-primary-blue) !important;
}

.accent-red {
    color: var(--primaryDark) !important;
}

.accent-bg-blue {
    background-color: var(--color-primary-blue) !important;
}

.main-text-color {
    color: var(--color-text-main);
}

.text-gray-600 {
    color: var(--color-text-secondary);
}

.header-image {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.header-image picture img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.header-text h1 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.header-text p {
    font-size: 1.25rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .header-image {
        width: 33.333%;
        margin-bottom: 0;
    }

    /* .header-text {
        width: 66.666%;
    } */
}

.info-block {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: #eff6ff;
    border-radius: 0.75rem;
    border-left: 4px solid var(--color-primary-blue);
}

.info-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.info-block p {
    color: #4b5563;
}

.region-block {
    margin-bottom: 2.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-top: 8px solid var(--color-primary-blue);
}

.region-block h2 {
    font-size: 1.875rem;
    font-weight: 800;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.city-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .city-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .city-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .city-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.city-link-card {
    display: block;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    transition:
        transform 0.2s ease-in-out,
        box-shadow 0.3s ease-in-out;
    border-left: 5px solid #e0e0e0;
}

.city-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
    border-left-color: var(--color-primary-blue);
    background-color: var(--color-light-blue);
}

.city-name {
    font-size: 0.95rem;
    line-height: 1.25rem;
    font-weight: 600;
    display: block;
}

.city-tag {
    font-size: 0.65rem;
    line-height: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

.cta-final {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid #d1d5db;
    padding-top: 2rem;
}

.cta-final h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-final p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background-color: var(--color-primary-blue);
    transition: background-color 0.3s;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0056b3;
}

.cs-subtitle {
    font-size: xx-large;
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
}

#zones-interventions {
    padding: 80px 0;
    background: #f8fafc;
}

#zones-interventions .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.intro-content {
    text-align: center;
    margin-bottom: 60px;
}

.intro-content h2 {
    font-size: 32px;
    margin: 15px 0;
    color: #1e293b;
}

.topper {
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.reassurance-block {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    text-align: center;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.department-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: white;
    border-radius: 14px;
    text-decoration: none;
    color: #1e293b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.department-card:hover {
    transform: translateY(-5px);
    border: 1px solid #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.department-card h3 {
    margin: 0;
    font-size: 18px;
}

.department-card span {
    font-size: 14px;
    color: #64748b;
}

.department-card .arrow {
    font-size: 20px;
    color: #2563eb;
}

.question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 80px 20px 20px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25);
    margin: 20px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.question::after {
    content: "\002B";
    /* + */
    font-size: 2.2rem;
    position: absolute;
    right: 20px;
    transition: transform 0.2s ease;
}

.question.active::after {
    transform: rotate(45deg);
    /* + -> x */
}

.answercont {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
}

.answer {
    padding: 0 20px 20px;
    line-height: 1.5rem;
    font-size: 1rem;
    color: #333;
}

#FAQ {
    padding-bottom: 6rem;
    width: 100%;
    margin: auto;
}

#FAQ,
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card h3 {
    color: #cd5c5c;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-desc {
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: #cd5c5c;
    font-weight: 600;
    display: inline-block;
    text-align: right;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.service-card:hover .service-link {
    margin-left: 5px;
}

.f-w-700 {
    font-weight: 700;
}

.map-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

.map-wrapper svg g {
    fill: none !important;
}

.map-wrapper svg path {
    stroke: #ffffff !important;
    stroke-width: 1.2px !important;
    stroke-linejoin: round !important;
    pointer-events: all !important;
    cursor: pointer !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: fill 0.2s ease !important;
}

.region-01 path {
    fill: #2ecc71 !important;
}

.region-02 path {
    fill: #3498db !important;
}

.region-03 path {
    fill: #9b59b6 !important;
}

.region-04 path {
    fill: #e67e22 !important;
}

.region-05 path {
    fill: #1abc9c !important;
}

.region-06 path {
    fill: #f1c40f !important;
}

.region-07 path {
    fill: #e74c3c !important;
}

.region-08 path {
    fill: #34495e !important;
}

.region-09 path {
    fill: #d35400 !important;
}

.region-10 path {
    fill: #27ae60 !important;
}

.region-11 path {
    fill: #2980b9 !important;
}

.region-12 path {
    fill: #8e44ad !important;
}

.region-13 path {
    fill: #16a085 !important;
}

.region-14 path {
    fill: #f39c12 !important;
}

.region-15 path {
    fill: #c0392b !important;
}

.region-16 path {
    fill: #bdc3c7 !important;
}

.region-17 path {
    fill: #7f8c8d !important;
}

.region-18 path {
    fill: #111215 !important;
}

.region-19 path {
    fill: #2c3e50 !important;
}

.region-20 path {
    fill: #16a085 !important;
}

.region-21 path {
    fill: #27ae60 !important;
}

.region-22 path {
    fill: #2980b9 !important;
}

.region-23 path {
    fill: #8e44ad !important;
}

.region-24 path {
    fill: #2c3e50 !important;
}

.region-25 path {
    fill: #d35400 !important;
}

.region-26 path {
    fill: #f39c12 !important;
}

.region-27 path {
    fill: #c0392b !important;
}

.region-28 path {
    fill: #1abc9c !important;
}

.region-29 path {
    fill: #2ecc71 !important;
}

.region-30 path {
    fill: #3498db !important;
}

.region-31 path {
    fill: #9b59b6 !important;
}

.region-32 path {
    fill: #e67e22 !important;
}

.region-33 path {
    fill: #f1c40f !important;
}

.region-34 path {
    fill: #e74c3c !important;
}

.region-35 path {
    fill: #34495e !important;
}

.region-36 path {
    fill: #4a69bd !important;
}

.region-37 path {
    fill: #1e3799 !important;
}

.region-38 path {
    fill: #0c2461 !important;
}

.region-39 path {
    fill: #079992 !important;
}

.region-40 path {
    fill: #38ada9 !important;
}

.region-41 path {
    fill: #78e08f !important;
}

.region-42 path {
    fill: #60a3bc !important;
}

.region-43 path {
    fill: #4a235a !important;
}

.region-44 path {
    fill: #78281f !important;
}

.region-45 path {
    fill: #512e5f !important;
}

.region-46 path {
    fill: #154360 !important;
}

.region-47 path {
    fill: #0e6251 !important;
}

.region-48 path {
    fill: #145a32 !important;
}

.region-49 path {
    fill: #7d6608 !important;
}

.region-50 path {
    fill: #7e5109 !important;
}

.region-51 path {
    fill: #784212 !important;
}

.region-52 path {
    fill: #626567 !important;
}

.region-53 path {
    fill: #7b7d7d !important;
}

.region-54 path {
    fill: #4d5656 !important;
}

.region-55 path {
    fill: #ff6b6b !important;
}

.region-56 path {
    fill: #4ecdc4 !important;
}

.region-57 path {
    fill: #45aaf2 !important;
}

.region-58 path {
    fill: #a55eea !important;
}

.region-59 path {
    fill: #ff9f43 !important;
}

.region-60 path {
    fill: #05c46b !important;
}

.region-61 path {
    fill: #ff5e57 !important;
}

.region-62 path {
    fill: #d2dae2 !important;
}

.region-63 path {
    fill: #485460 !important;
}

.region-64 path {
    fill: #ffa801 !important;
}

.region-65 path {
    fill: #ffd32a !important;
}

.region-66 path {
    fill: #ff3f34 !important;
}

.region-67 path {
    fill: #0be881 !important;
}

.region-68 path {
    fill: #3c6382 !important;
}

.region-69 path {
    fill: #0a3d62 !important;
}

.region-70 path {
    fill: #3c6382 !important;
}

.region-71 path {
    fill: #686de0 !important;
}

.region-72 path {
    fill: #4834d4 !important;
}

.region-73 path {
    fill: #be2edd !important;
}

.region-74 path {
    fill: #4a69bd !important;
}

.region-75 path {
    fill: #10ac84 !important;
}

.region-76 path {
    fill: #ff9ff3 !important;
}

.region-77 path {
    fill: #feca57 !important;
}

.region-78 path {
    fill: #ff6b6b !important;
}

.region-79 path {
    fill: #48dbfb !important;
}

.region-80 path {
    fill: #1dd1a1 !important;
}

.region-81 path {
    fill: #f53b57 !important;
}

.region-82 path {
    fill: #3c40c6 !important;
}

.region-83 path {
    fill: #05c46b !important;
}

.region-84 path {
    fill: #84817a !important;
}

.region-85 path {
    fill: #cc8e35 !important;
}

.region-86 path {
    fill: #ff793f !important;
}

.region-87 path {
    fill: #d1ccc0 !important;
}

.region-88 path {
    fill: #33d9b2 !important;
}

.region-89 path {
    fill: #34ace0 !important;
}

.region-90 path {
    fill: #706fd3 !important;
}

.region-91 path {
    fill: #474787 !important;
}

.region-92 path {
    fill: #ffb142 !important;
}

.region-93 path {
    fill: #ff5252 !important;
}

.region-94 path {
    fill: #218c74 !important;
}

.region-95 path {
    fill: #b33939 !important;
}

/* DOM-TOM et collectivités spéciales */
.region-96 path {
    fill: #cd6133 !important;
}

.region-97 path {
    fill: #706fd3 !important;
}

.region-98 path {
    fill: #10ac84 !important;
}

.region-99 path {
    fill: #ff793f !important;
}

.region-100 path {
    fill: #2c3e50 !important;
}

.region-101 path {
    fill: #4ecdc4 !important;
}

@media (hover: hover) {
    .map-wrapper svg path:hover {
        fill: #ff0000 !important;
    }
}

@media (max-width: 768px) {
    .map-wrapper svg path:active {
        fill: #ff0000 !important;
    }
}

#tooltip {
    position: absolute;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    pointer-events: none;
    transform: translate(-50%, -100%);
    margin-top: -15px;
    z-index: 9999;
    width: 280px;
    text-align: left;
    display: none;
}

#tooltip .department-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #222222 !important;
    padding: 15px;
    box-sizing: border-box;
}

#tooltip .accent-red {
    color: #ff0000 !important;
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: bold;
}

#tooltip .cities-description {
    margin: 0;
    font-size: 13px;
    color: #555555 !important;
    line-height: 1.4;
}
