/*
** Ce fichier regroupe toutes les class CSS utilisées pour le site ;
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400..800&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --color-primary: #0B544C;
    --color-primary-rgb: 11, 84, 76;

    --color-secondary: #007783;
    --color-secondary-rgb: 0, 119, 131;

    --color-tertiary: #EFCD86;

    --color-secondary-fade: #F6EEE2;

    --color-text: #363636;
    --color-text-rgb: 54, 54, 54;
    --color-primary-foreground: #fff;
    --color-bg: #F7F7F7;
    --color-bg2: #052A2B;

    --border-radius: 5px;
    --border-radius-large: 15px;
    --border-radius-full: 50px;
    --box-shadow: 0 4px 10px rgba(0,0,0,.05);
    --box-shadow-dark: 0 4px 10px rgba(0,0,0,.1);

    --header-height: 870px;
}

html,
body {
    font-family: 'Poppins', sans-serif !important;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
html,
body,
p {
    color: var(--color-text);
    line-height: 24px;
    font-weight: 400;
    font-size: 16px;
}
body {
    position: relative;
}
section {
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
    z-index: 1;
}
strong {
    font-weight: 600;
}
h1, h2 {
    color: var(--color-bg2);
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}
h1 {
    font-size: 74px;
    line-height: 1.5;
}
h2 {
    font-size: 34px;
    line-height: 38px;
    font-weight: 600;
    margin-bottom: 13px;
    color: var(--color-primary);
}
h2 span {
    font-family: "Shantell Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 24px;
    color: rgba(var(--color-primary-rgb), .52);
    display: block;
    margin-bottom: 13px;
}
h3 {
    font-size: 34px;
    line-height: 54px;
    margin-bottom: 0;
}
h4 {
    font-size: 20px;
}
a {
    color: var(--color-primary);
}
.subheading {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}
.p-after,
.p-after-reversed {
    position: relative;
    padding-bottom: 40px;
}
.p-after::after,
.p-after-reversed::after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 2px;
}
.p-after::after {
    background-color: var(--color-primary);
}
.p-after-reversed::after {
    background-color: var(--color-secondary);
}
::marker {
    font-size: 7px;
}
.text-underline {
    text-decoration: underline;
}

.color-primary {
    color: var(--color-primary) !important;
}
.color-secondary {
    color: var(--color-secondary) !important;
}
.bg-primary {
    background: var(--color-primary) !important;
}
.bg-secondary {
    background: var(--color-seondary) !important;
}
.fs-16 {
    font-size: 16px;
}
.fs-20 {
    font-size: 20px;
}
.fw-400 {
    font-weight: 400;
}
.flex-1 {
    flex: 1;
}
.flex-none {
    flex: none;
}
.img-responsive {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: var(--border-radius);
}
.img-square {
    padding-top: 100%;
}
.img-landscape {
    padding-top: 70%;
}
.img-responsive img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
}
.container:has(.img-right) {
    position: relative;
}
.img-square-small {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
}

/* Stats */
.stats-data {
    font-family: "Shantell Sans", sans-serif;
    font-size: 76px;
    line-height: 80px;
    font-weight: 700;
    color: rgba(var(--color-primary-rgb), .52);
    margin-bottom: 0;
}
.stats-desc {
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text);
}
.stats-desc strong {
    font-weight: 700;
    color: var(--color-primary);
}

/* Topbar */
.topbar {
    background-color: var(--color-primary);
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}
.topbar a {
    font-size: 14px;
    color: var(--color-primary-foreground);
    font-weight: 600;
    font-family: "Sen", sans-serif;
}

/* Navigation & Navbar */

.nav-logo {
    flex: none;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.nav-logo a {
    text-decoration: none;
    transition: all .2s ease;
    display: inline-block;
    padding: 0;
}
.nav-logo a img {
    width: 178px;
    max-width: 178px;
    height: auto;
}

nav {
    z-index: 1024;
    background: transparent;
    position: relative;
    padding: 23px 0;
}
nav.nav-wrapper .container {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}
nav .nav-content {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
nav .nav-content ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 38px;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    flex: 1;
    padding: 0;
}
nav .nav-content ul .nav-link {
    padding: 0;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    line-height: 20px;
    font-family: "Sen", sans-serif;
    font-size: 18px;
    font-weight: 600;
    background-color: transparent;
    -webkit-appearance: none;
    border: none;
    transition: all .2s;
    text-transform: uppercase;
}
nav .nav-content ul .nav-link:not(.active):hover {
    color: #868787;
}
nav .nav-content ul .nav-link.active {
    color: var(--color-primary)
}
nav .nav-link-btn {
    border: 3px solid var(--color-primary);
    border-radius: 17px;
    font-family: "Sen", sans-serif;
    font-size: 20px;
    font-weight: 600;;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    padding: 12px 25px;
    line-height: 14px;
    transition: all .2s ease-in-out;
}
nav .nav-link-btn span {
    font-size: 13px;
    font-weight: 400;
    display: block;
    width: 100%;
}
nav .nav-link-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
}
nav .nav-link-btn:hover span {
    color: #fff;
}
nav .nav-link-btn:hover img {
    filter: brightness(20);
}
.nav-menu-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    -webkit-appearance: none;
    font-size: 24px;
    z-index: 1;
    border-radius: 0;
}

.page-item.active .page-link {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.page-link, .page-link:hover {
    color: var(--color-primary);
}

/* Header */

header {
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
}
header.simple-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 100px;
    position: relative;
    min-height: 400px;
    gap: 70px;
}

header.featured-header {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
}
header .featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
header.simple-header .header-logo {
    position: relative;
    margin-bottom: 70px;
    top: 0;
    left: 0;
    transform: none;
    width: 960px;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
header .header-logo small {
    font-size: 28px;
    display: block;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    line-height: 36px;
}
header h1 {
    line-height: 72px;
    font-size: 70px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 33px;
    margin-top: 0;
}
header p {
    line-height: 24px;
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 33px;
}
.header-content {
    padding-top: 31px;
    padding-bottom: 95px;
}
.header-content h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 54px;
    color: var(--color-text);
}
.header-content h1 span {
    color: var(--color-primary);
}
.header-content p {
    color: var(--color-text);
    font-size: 22px;
    font-weight: 500;
    line-height: 33px;
    margin-bottom: 20px;
}
.header-content .btn.btn-primary {
    background-color: var(--color-primary);
    border-color: none;
    border-radius: 50px;
    color: #fff;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 500;
}
header .btn.btn-primary:hover {
    background-color: var(--color-secondary);
}

/* Accordion */
.accordion .card {
    margin-bottom: 11px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--box-shadow);
    transition: all .2s ease-in-out;
}
.accordion .card,
.accordion .card .card-header {
    border: none;
}
.accordion .card .card-header button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.accordion .card .card-header {
    background-color: #fff;
    transition: all .2s ease-in-out;
    padding: 0;
}
.accordion .card .card-header .btn-link {
    color: var(--color-text);
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 34px;
    padding: 18px 22px;
}
.accordion .card .accordion-icon {
    width: 30px;
    height: 30px;
    transition: all .2s ease-in-out;
}
.accordion .card:has(.show) .card-header,
.accordion .card .card-header:hover {
    background-color: #fff !important;
}
.accordion .card .card-body {
    font-size: 16px;
    font-weight: 500;
    padding-top: 5px;
}
.accordion .card:has(.collapse.show),
.accordion .card:has(.collapsing) {
    border-radius: var(--border-radius-large);
}
.accordion .card:has(.collapse.show) .accordion-icon,
.accordion .card:has(.collapsing) .accordion-icon {
    transform: rotate(180deg);
}
.accordion .card:not(:has(.collapse.show)) {
    border-radius: var(--border-radius-full);
}
.accordion .card:not(:has(.collapse.show)) .accordion-icon {
    transform: rotate(0deg);
}
.accordion .card .card-body {
    line-height: 34px;
}

/* Footer */

footer {
    font-size: 12px;
    background-color: #fff;
    position: relative;
    z-index: 18;
}
footer * {
    color: var(--color-text);
    transition: all .2s;
}
footer .container {
    padding-top: 17px;
    padding-bottom: 17px;
}
footer h2 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 4px;
}
footer p,
footer a {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}
footer a {
    text-decoration: none;
}
footer ul,
footer li {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
footer hr {
    margin-top: 69px;
    margin-bottom: 42px;
    border-color: var(--color-secondary);
}
footer .copyright,
footer .copyright a,
footer .copyright p {
    font-weight: 200;
    font-size: 14px;
    color: var(--color-text);
}

/* Tags */
.header-tags {
    position: relative;
    height: 434px;
    width: 462px;
}
.tag:nth-child(1) {
    top: 0;
    left: 126px;
}
.tag:nth-child(2) {
    top: 92px;
    left: 52px;
}
.tag:nth-child(3) {
    top: 73px;
    left: 245px;
}
.tag:nth-child(4) {
    top: 182px;
    left: 0;
}
.tag:nth-child(5) {
    top: 164px;
    left: 206px;
}
.tag:nth-child(6) {
    top: 272px;
    left: 38px;
}
.tag:nth-child(7) {
    top: 258px;
    left: 233px;
}
.tag:nth-child(8) {
    top: 358px;
    left: 126px;
}
.tag {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    padding: 23px 30px;
    border-radius: 99px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    font-size: 20px;
    font-weight: 600;
    line-height: 18px;
    height: 72px;
    transition: all .2s ease-in-out;
}
.tag span,
.tag img {
    transition: all .2s ease-in-out;
}
.tag:hover {
    transform: scale(1.1);
    background-color: var(--color-primary);
}
.tag:hover img {
    filter: brightness(20);
}
.tag:hover span {
    color: #fff;
    cursor: default;
}

/* Related Articles */

.related-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}
.related-item .related-item-image {
    width: 100%;
    padding-top: 68%;
    overflow: hidden;
    position: relative;
}
.related-item .related-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    transition: all .6s;
}
.related-item .related-item-infos {
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    margin-left: 15px;
    border-radius: 0 0 2px 2px;
    background-color: #fff;
    box-shadow: 0 6px 6px rgba(0,0,0,.1);
    padding: 20px;
    margin-top: -20px;
}
.related-item h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-text);
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}
.related-item p {
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 0;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
    position: relative;
    z-index: 1;
    opacity: .7;
}
.related-item:hover {
    text-decoration: none;
}
.related-item:hover .related-image {
    transform: scale(1.1);
}

/* Logo Slider */
.logo-carousel {
    position: relative;
    margin: 91px auto 20px auto;
    display: flex;
    align-items: center;
}
.carousel-wrapper {
    overflow: hidden;
    flex: 1;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
}
.carousel-item img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}
.carousel-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.carousel-btn.prev,
.carousel-btn.next {
    position: static;
}
.carousel-btn.prev {
    left: -3rem;
    top: 50%;
    transform: translateY(-50%);
}
.carousel-btn.next {
    right: -3rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .carousel-btn.prev { left: 0.5rem; }
    .carousel-btn.next { right: 0.5rem; }
}
/* Map */

.map-wrapper {
    position: relative;
    width: 100%;
    padding-top: 30%;
    overflow: hidden;
    z-index: 2;
}
.map-wrapper #map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Services */
.service-wrapper {
    margin-top: 115px;
}
.service-wrapper .row {
    margin-left: -6px;
    margin-right: -6px;
}
.service-wrapper div[class^="col-lg-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.service-wrapper div[class^="col-lg-"] .btn-primary [class*=" bi-"]::before {
    display: block;
}
.service-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.service-item::before {
    content: " ";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: 322%;
    pointer-events: none;
    background-repeat: no-repeat;
    background-blend-mode: soft-light;
}
.service-item .service-item-title,
.service-item a {
    position: relative;
    z-index: 10;
}
.service-item1 {
    background-image: url(../img/01.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 1/0.7101;
    padding: 10px 23px 10px 130px;
    color: #fff;
    font-size: 22px;
}
.service-item1::before {
    background-image: url(../img/bg03.png);
    background-position: 15% 62%;
}
.service-item2 {
    background-color: #E9B98B;
    background-image: url(../img/02.png);
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1/0.7101;
    padding: 10px 16px;
    color: #fff;
    font-size: 22px;
}
.service-item2::before {
    background-image: url(../img/bg03.png);
    background-position: 61% 62%;
}
.service-item3 {
    background-image: url(../img/03.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #BBDCDF;
    aspect-ratio: 1/0.25806;
    margin-top: 12px;
    padding: 10px 60px 10px 428px;
    color: var(--color-text);
    font-size: 28px;
    line-height: 34px;
}
.service-item3::before {
    background-image: url(../img/bg03.png);
    background-position: 55% 72%;
    background-size: 134%;
}
.service-item4 {
    background-color: #EFCD86;
    height: 100%;
    border-bottom-right-radius: 50px;
    padding: 10px;
    color: var(--color-text);
    font-size: 23px;
    line-height: 28px;
    align-items: center;
}
.service-item4::before {
    background-image: url(../img/bg03.png);
    background-position: 71% 79%;
    background-size: 482%;
}
.service-item4 span {
    font-size: 16px;
}
.service-item-standard {
    width: 100%;
    background-color: var(--color-secondary);
    padding: 50px 40px;
    color: #fff;
    font-size: 22px;
}

/* Article Item */

.article-item {
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-dark);
    background-color: #fff;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.article-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.article-item h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 24px;
}
.article-item p {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
}

/* Sections */

.contact-form {
    background-color: #868787;
    padding: 36px;
}

.section-colored {
    background-color: var(--color-primary);
}
.section-colored h2 {
    color: var(--color-bg2);
}
.section-colored h2 span {
    color: #fff;
}
.section-colored .btn.btn-primary {
    background-color: var(--color-bg2);
    border-color: var(--color-bg2);
}
.section-colored .btn.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-bg2);
    color: var(--color-bg2);
}
.section-header {
    position: relative;
    background-color: var(--color-bg);
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}
.section-header * {
    color: var(--color-text);
}
.section-header h1 {
    line-height: 50px;
    margin-bottom: 10px;
}
.section-header p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    line-height: 1.5em;
}
.section-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    opacity: .3;
}
.section-header-followed {
    padding-bottom: 80px;
}
.section-colored a {
    color: var(--color-bg2);
}
.section-bg {
    background-image: url('../img/bg02.png');
    background-color: rgb(200, 250, 255, 31%);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 96px;
    padding-bottom: 104px;
}
.section-bg h2 {
    color: var(--color-text);
}
.section-bg h2 span {
    color: var(--color-secondary);
}
.section-featured {
    padding-top: 0;
    padding-bottom: 0;
}
.section-featured-img {
    position: absolute;
    top: 0;
    width: calc(50vw - 288px);
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
.section-featured-content {
    padding-top: 127px;
    padding-bottom: 23px;
}
.section-dark {
    background-color: #EAEAEA;
    padding-top: 178px;
    padding-bottom: 179px;
    z-index: 0;
}
section:has(.block-full) {
    position: relative;
    z-index: 1;
}
.section-contact {
    position: relative;
    padding-top: 105px;
    padding-bottom: 0;
    margin-bottom: 118px;
    z-index: 0;
}
.img-superposition {
    position: relative;
    z-index: 1;
}
.img-superposition:has(.img-right-full) {
    margin-top: 84px;
    padding-bottom: 0;
    padding-top: 38px;
}
.img-superposition:has(.img-right-full) .block-left {
    margin-top: 84px;
    margin-bottom: -68px;
}
.hero-after {
    padding-top: 0;
    z-index: 1;
    position: relative;
}
.hero-after .block {
    max-width: 800px;
    margin: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.hero-after .block p {
    color: var(--color-primary-foreground);
}

.hero-contact .block {
    transform: translateY(-70px);
    margin-bottom: -70px;
}

/* Block */

.block {
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-dark);
    background-color: #fff;
    padding: 18px 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
}
.block-full {
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 79px 57px 78px 57px;
    box-shadow: 0 6px 6px rgba(0,0,0,.1);
}
.block-left {
    position: relative;
    padding-top: 119px;
    padding-bottom: 119px;
    margin-top: 46px;
    margin-bottom: 53px;
}
.block-left::before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -64px;
    width: calc(60vw + 100px);
    background-color: #fff;
    box-shadow: 0 6px 6px rgba(0,0,0,.1);
    z-index:-1;
}
.block-dark {
    border-radius: var(--border-radius);
    background-color: var(--color-primary);
    padding: 30px 40px;
}
.block-dark h2,
.block-dark h3,
.block-dark h4,
.block-dark p {
    color: #fff;
}
.block-small {
    padding: 20px 30px;
    border-radius: var(--border-radius-large);
}

/* Modal */
.modal-content {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.modal-header {
    border-bottom: 0;
}
.modal-footer {
    border-top: 0;
    padding-top: 0;
}
.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 0;
}

/* Nav Pills */
.nav-pills {
    gap: 10px;
}
.nav-pills .nav-link {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-color: var(--color-tertiary);
    transition: all .1s ease-in-out;
    border-radius: var(--border-radius-full);
}
.nav-pills .nav-link:hover {
    background-color: var(--color-secondary);
    color: #fff;
}
.nav-pills .nav-link.active {
    background-color: var(--color-primary);
    color: #fff;
}

/* Article */

article h2,
article h3,
article h4,
article h5,
article h6 {
    color: var(--color-text);
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: .75em;
}
article h1 {
    color: var(--color-secondary);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: .75em;
}
article,
article p {
    font-size: 18px;
    line-height: 1.6em;
    color: rgba(var(--color-text-rgb), .8)
}

/* WYSIWYG */

.article-wp img {
    border-radius: 8px;
}
.article-wp ul,
.article-wp ol {
    margin-top: 40px;
    margin-bottom: 40px;
}
.article-wp .wys-featured-img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    border-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}
.article-wp .wys-img-left {
    float: left;
    margin: 5px 30px 15px 0;
}
.article-wp .wys-img-right {
    float: right;
    margin: 5px 0 15px 30px;
}
.article-wp .wys-highlighted {
    margin: 40px auto;
    font-size: 28px;
    width: 85%;
    color: var(--color-primary);
}
.wys-title {
    font-size: 70px;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: var(--color-secondary);
}
.article-wp a {
    color: var(--color-primary);
}

/* Map */

.mapcontainer a {
    transition: all .2s;
    cursor: pointer;
}
.mapcontainer a:hover {
    fill: var(--color-primary) !important;
}

/* Buttons */

.btn {
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 50px;
    font-size: 14px;
    line-height: auto;
    transition: all .2s;
    text-align: center;
    border: none;
    width: auto;
}
.btn.btn-primary {
    background-color: var(--color-secondary);
    color: #fff;
}
.btn.btn-primary:hover {
    background-color: var(--color-primary);
}
.btn.btn-secondary {
    background-color: #fff;
    color: var(--color-text);
}
.btn.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}
.btn.btn-tertiary {
    padding: 6px 0;
    background-color: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    border-radius: 0;
    border-bottom: 1px solid var(--color-secondary);
}
.btn.btn-tertiary:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn.btn-tertiary.color-text {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}
.btn.btn-quatro {
    background-color: var(--color-tertiary);
    color: var(--color-text);
}
.btn.btn-quatro:hover {
    background-color: var(--color-secondary);
    color: #fff;
}
.btn i,
.btn .bi {
    vertical-align: 1px;
    margin-right: 4px;
}
.btn:focus,
button:focus {
    outline: none;
}
.btn-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 10px;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}
.btn-icon i {
    margin-right: 0 !important;
}
.btn-icon:hover {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-secondary);
}
#scrollTopButton {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1032;
    font-size: 22px;
}
#scrollTopButton i::before {
    font-weight: 800 !important;
}

/* Inputs */

.form-control {
    border-radius: 2px;
    height: 40px;
    padding: 20px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary),
                0 0 0 4px rgba(var(--color-primary-rgb), .2);
}
.form-check-input {
    margin-top: 5px;
}
select.form-control {
    padding: 2px 8px;
}
.form-group label {
    font-size: 14px;
    line-height: 24px;
    color: var(--color-text);
    margin-bottom: 0;
    font-weight: 500;
}
label[required]::after,
label[required="required"]::after {
    content: "*";
}

/* Dropdowns */

.dropdown-menu {
    border-color: transparent;
    padding: 10px;
    box-shadow: none;
    overflow: hidden;
    margin-top: 10px;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-large);
}
.dropdown-menu:has(.dropdown-item.active) {
    border-top-color: var(--color-secondary);
}
.dropdown-item {
    font-size: 16px;
    padding: 8px 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .2s;
    border-radius: var(--border-radius);
    color: #fff;
}
.dropdown-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
}
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background-color: var(--color-secondary);
}
button[data-toggle="dropdown"] .bi-chevron-down {
    transition: all .2s;
    display: inline-block;
    font-size: 14px;
    vertical-align: 3px;
}
button[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Responsive ; Media Query */

@media (max-width:400px) {
    .tag {
        padding: 16px 20px;
        font-size: 18px;
        line-height: 18px;
        height: 60px;
    }
    .tag img {
        display: none;
    }
}
@media (max-width:480px) {
    .tag {
        padding: 16px 20px;
        font-size: 18px;
        line-height: 18px;
        height: 60px;
    }
}
@media (max-width:575px) {
    .nav-logo a {
        font-size: 18vw;
        line-height: 5vw;
    }
    .nav-logo a span {
        font-size: 10vw;
    }
    .header-content {
        padding-top: 90px;
        padding-bottom: 100px;
    }
    header h1 {
        font-size: 50px;
        line-height: 54px;
    }
    footer .img-fluid {
        width: 30% !important;
    }
    .block-left {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .block-left::before {
        width: calc(100vw + 20px);
        right: -20px;
    }
    .header-tags {
        position: relative;
        width: 100%;
        max-width: 462px; /* garde la taille max sur desktop */
        height: auto; /* l'adaptera avec aspect-ratio */
        aspect-ratio: 462 / 434; /* ratio identique */
    }
    .tag:nth-child(1) { top: 0%; left: 27.27%; }       /* 0 / 434 et 126 / 462 */
    .tag:nth-child(2) { top: 21.20%; left: 11.26%; }   /* 92 / 434 et 52 / 462 */
    .tag:nth-child(3) { top: 16.82%; left: 53.03%; }   /* 73 / 434 et 245 / 462 */
    .tag:nth-child(4) { top: 41.94%; left: 0%; }       /* 182 / 434 et 0 */
    .tag:nth-child(5) { top: 37.79%; left: 44.59%; }   /* 164 / 434 et 206 / 462 */
    .tag:nth-child(6) { top: 62.67%; left: 8.22%; }    /* 272 / 434 et 38 / 462 */
    .tag:nth-child(7) { top: 59.45%; left: 50.43%; }   /* 258 / 434 et 233 / 462 */
    .tag:nth-child(8) { top: 82.48%; left: 27.27%; }   /* 358 / 434 et 126 / 462 */
}
@media (max-width:767px) {
    html,
    body {
        overflow-x: hidden;
    }
    h1 {
        font-size: 68px;
    }
    .section-header p {
        font-size: 14px;
    }
    .service-item1 {
        padding: 10px 23px 10px 40px;
    }
    .swiper-container {
        width: calc(100% - 80px);
    }
}

@media (max-width:991px) {
    :root {
        --header-height: 600px;
    }
    nav {
        padding: 20px;
    }
    nav .nav-logo {
        width: 180px;
    }
    nav .nav-content {
        position: fixed;
        top: 0;
        background-color: var(--color-tertiary);
        width: 100vw;
        height: 100vh;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        z-index: 0;
        left: 0;
        padding: 0;
        flex-direction: column;
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
        transition: all .2s;
    }
    nav .nav-content ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 40px;
    }
    nav .nav-content ul li {
        width: calc(100% - 10px);
        text-align: center;
    }
    nav .nav-content ul li .nav-link {
        width: 100%;
        padding: 12px;
        text-align: center;
        font-size: 22px;
    }
    nav .nav-content .dropdown-menu {
        position: relative !important;
        width: 100%;
        transform: none !important;
    }
    nav .nav-btn {
        width: calc(100% + 44px);
        margin: 0 -22px;
    }
    nav .nav-content.opened {
        opacity: 1;
        transform: scaleY(1);
    }
    nav.nav-wrapper .container {
        justify-content: space-between;
    }
    nav .nav-menu li .nav-link {
        color: var(--color-primary);
    }
    nav .nav-menu li .nav-link.active {
        color: var(--color-primary);
        font-weight: 700;
    }
    .nav-menu-btn.bi-x {
        color: var(--color-primary);
    }
    section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .img-shape,
    .img-shape-secondary {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .img-shape {
        padding-left: 30px;
    }
    .img-shape-secondary {
        padding-right: 30px;
    }
    header .header-logo {
        top: calc(50% - 50px);
        font-size: 20px;
    }
    header .header-logo span {
        font-size: 50px;
        white-space: nowrap;
    }
    header.simple-header .header-logo {
        margin-bottom: 160px;
    }
    .hero-after .block {
        max-width: 100%;
        margin: -200px auto 0 auto;
        position: static;
        transform: none;
    }
    .block-engine-col-wrapper {
        flex-direction: column;
    }
    .block-engine-col {
        width: 100%;
    }
    .block {
        padding: 40px;
    }
    section:has(.leaf-palm),
    section:has(.leaf-palm-reverse) {
        padding-top: 50vw;
    }
    .leaf-palm,
    .leaf-palm-reverse {
        top: -50vw;
        left: 50%;
        width: 50vw;
        transform: translateX(-50%);
    }
    .block-left::before {
        width: calc(100vw + 64px);
    }
    .img-superposition,
    .img-superposition:has(.img-right-full) {
        margin-top: 0;
        padding-bottom: 500px;
    }
    .img-superposition .container:has(.img-right) {
        position: static;
    }
    .img-right,
    .img-right-full {
        height: 500px;
        width: 100%;
        top: auto;
        bottom: 0;
    }
    .img-superposition:has(.img-right-full) .block-left {
        margin-top: 0;
    }
    .section-featured-img {
        position: relative;
        width: 100%;
        height: 300px;
    }
    .col-lg-7.block-left {
        margin-bottom: -68px;
    }
    .map-wrapper {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        height: 500px;
        overflow: hidden;
        z-index: 2;
    }
    .section-contact {
        margin-bottom: 0;
    }
    .section-featured-content {
        padding-top: 50px;
    }
    .section-dark {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .service-item3 {
        background-image: none;
        padding: 10px 30px 10px 30px;
    }
    .service-item3 br {
        display: none;
    }
    .stats-data,
    .stats-desc {
        text-align: center;
    }
}

@media (min-width:768px) {
    .logo-bdr {
        border-right: 1px solid #c1c1c1;
    }
}
@media (min-width:992px) {
    .nav-menu-btn,
    .logo-mobile {
        display: none;
    }
    nav .nav-logo {
        flex: none;
        width: 196px;
    }
    nav .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        white-space: nowrap;
    }
    nav .nav-menu li .nav-link.active {
        font-weight: 500;
    }
    .pb-high {
        padding-bottom: 157px;
    }
}
@media (min-width:769px) {
    .block-full {
        margin: -56px -24px -33px;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    nav .nav-logo img {
        width: 100%;
        max-width: 100%;
    }
    nav .nav-content ul {
        gap: 20px;
    }
}
@media (min-width:768px) and (max-width:991px) {
    .section-dark {
        padding-bottom: 100px;
    }
    .service-item1,
    .service-item2 {
        aspect-ratio: 1/0.5101;
    }
}
@media (max-width:1199px) {
    nav .nav-logo {
        width: 180px;
    }
    nav .nav-content ul {
        gap: 8px;
    }
    nav .nav-content ul .nav-link {
        font-size: 16px;
    }
    nav .nav-link-btn {
        font-size: 18px;
        padding: 8px 10px;
        letter-spacing: -1px;
    }
    nav .nav-link-btn span {
        display: none;
    }
}
@media (min-width:1199px) {
}
@media (min-width:1200px) {
    .container {
        max-width: 1185px;
    }
}
@media (min-width:1300px) {
    .container {
        max-width: 1220px;
    }
}
@media (min-width:1400px) {
    .container {
        max-width: 1334px;
    }
}
