@charset "UTF-8";
@import url(main.css);
/*====================== CUSTOM FORMULAIRE DE CONTACT ================================*/
.sc-a2dbc04a-2.jdeKDI { color: white; }

/*====================== CUSTOM BLOC GALLERIE ================================*/
section#custom-gallery { padding: 70px; }

/* ====================================================================================================== HEADER CASTEL ========================================================================================================== */
#navigation-bar-show.header-castel { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; z-index: 1000 !important; background: rgba(250, 249, 249, 0.97) !important; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(75, 127, 143, 0.18); padding: 16px 0; margin: 0 !important; transition: padding 0.35s ease, box-shadow 0.35s ease; box-sizing: border-box; }

#navigation-bar-show.header-castel.navbar-scrolled { padding: 8px 0; box-shadow: 0 12px 32px rgba(23, 47, 56, 0.08); }

.header-castel__container { position: relative; max-width: auto; margin: 0 0 0 0; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: border-box; }

/* Groupes gauche / droite */
.header-castel__group--left, .header-castel__group--right { display: flex; align-items: center; flex: 0 1 40%; }

.header-castel__group--left { justify-content: flex-end; }

.header-castel__group--right { justify-content: flex-start; }

/* Logo centré */
.header-castel__logo { display: flex; align-items: center; justify-content: center; }

.header-castel__logo-img { height: 64px; width: auto; display: block; transition: height 0.35s ease; }

#navigation-bar-show.header-castel.navbar-scrolled .header-castel__logo-img { height: 48px; }

/* Liens latéraux */
.header-castel__link { position: relative; font-family: 'Kanit', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #172F38; padding: 8px 4px; cursor: pointer; transition: color 0.3s ease; white-space: nowrap; }

.header-castel__link::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background: #4B7F8F; transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1); }

.header-castel__group--left .header-castel__link::after { transform-origin: right; }

.header-castel__link:hover { color: #4B7F8F; text-decoration: none; }

.header-castel__link:hover::after { transform: scaleX(1); }

/* Bouton Contact — séparé, collé à droite de la navbar */
.header-castel__btn { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #FAF9F9 !important; background: #4B7F8F; border: 1px solid #4B7F8F; overflow: hidden; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%); }

.header-castel__btn::before { content: ''; position: absolute; inset: 0; background: #172F38; transform: translateX(-102%); transition: transform 0.38s cubic-bezier(0.77, 0, 0.18, 1); z-index: 0; }

.header-castel__btn span, .header-castel__btn svg { position: relative; z-index: 1; transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1); }

.header-castel__btn:hover { color: #FAF9F9; border-color: #172F38; text-decoration: none; }

.header-castel__btn:hover::before { transform: translateX(0); }

.header-castel__btn:hover svg { transform: translateX(3px); }

/* Toggler mobile */
.header-castel__toggler { display: none; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 44px; height: 36px; background: transparent; border: 1px solid rgba(23, 47, 56, 0.25); border-radius: 0; clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%); cursor: pointer; align-items: center; justify-content: center; transition: border-color 0.3s ease, background 0.3s ease; z-index: 3; padding: 0; }

.header-castel__toggler:hover { border-color: #4B7F8F; background: rgba(75, 127, 143, 0.12); }

.header-castel__toggler-icon { position: relative; display: block; width: 20px; height: 2px; background: #172F38; }

.header-castel__toggler-icon::before, .header-castel__toggler-icon::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: inherit; transition: transform 0.3s ease; }

.header-castel__toggler-icon::before { top: -6px; }

.header-castel__toggler-icon::after { top: 6px; }

/* Menu mobile déroulant */
.header-castel__mobile { display: none; flex-direction: column; align-items: center; gap: 4px; padding: 0 24px; background: rgba(250, 249, 249, 0.97); }

.header-castel__mobile.is-open { display: flex; padding: 20px 24px 24px; border-top: 3px solid #4B7F8F; animation: headerCastelDrop 0.35s ease; }

.header-castel__mobile-link { font-family: 'Kanit', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #172F38; padding: 10px 0; cursor: pointer; }

.header-castel__mobile-link:hover { color: #4B7F8F; text-decoration: none; }

.header-castel__mobile-btn { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #FAF9F9; background: #4B7F8F; border: 1px solid #4B7F8F; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%); transition: background 0.3s ease; }

.header-castel__mobile-btn:hover { background: #172F38; border-color: #172F38; color: #FAF9F9; text-decoration: none; }

@keyframes headerCastelDrop { from { opacity: 0;
    transform: translateY(-10px); }
  to { opacity: 1;
    transform: translateY(0); } }

/* === RESPONSIVE === */
@media (max-width: 768px) { .header-castel__group--left, .header-castel__group--right, .header-castel__btn { display: none; } .header-castel__container { justify-content: center; } .header-castel__logo-img { height: 52px; } #navigation-bar-show.header-castel.navbar-scrolled .header-castel__logo-img { height: 42px; } .header-castel__toggler { display: flex; } }

.header-castel__link.animated-border-button.obftrucs.accueil { margin-right: 50px !important; }

/*=================== CUSTOM COOKIES ========================*/
div#termsfeed-com---nb { margin: 10px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%); border-radius: 0px; }

/*=================== CUSTOM MAPS ========================*/
.maps-section .map-content { padding: 50px; }

/*=================== CUSTOM BLOC SEO ========================*/
.mx-auto.first-activity-div.col-lg-11.px-4.py-4.mb-5.mt-5.bg-primaryColor.text-color-primary.rounded-3.shadow-lg.position-relative, .mx-auto.second-activity-div.col-lg-11.px-4.py-4.mb-5.mt-5.rounded-3.shadow-lg.bg-primaryColor.text-color-primary.position-relative, .mx-auto.third-activity-div.col-lg-11.px-4.py-4.mb-4.mt-5.bg-primaryColor.text-color-primary.rounded-3.shadow-lg.position-relative { padding: 50px 30px !important; margin-top: 100px !important; margin-bottom: 100px !important; }

.mx-auto.third-activity-div.col-lg-11.px-4.py-4.mb-4.mt-5.bg-primaryColor.text-color-primary.rounded-3.shadow-lg.position-relative, .mx-auto.first-activity-div.col-lg-11.px-4.py-4.mb-5.mt-5.bg-primaryColor.text-color-primary.rounded-3.shadow-lg.position-relative { border-radius: 0px !important; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 22px 100%); background-color: #172f38; }

.mx-auto.second-activity-div.col-lg-11.px-4.py-4.mb-5.mt-5.rounded-3.shadow-lg.bg-primaryColor.text-color-primary.position-relative { background-color: #172f38; clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); border-radius: 0px !important; }

.card.card-cover.h-100.overflow-hidden.rounded-4.shadow-lg { background-color: transparent; border-radius: 0px !important; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 22px 100%); }

div:nth-child(10) > div.mx-auto.second-activity-div.col-lg-11.px-4.py-4.mb-5.mt-5.rounded-3.shadow-lg.bg-primaryColor.text-color-primary.position-relative > div.row.flex-lg-row-reverse.align-items-center.g-5.py-2.px-4.mt-2.position-relative.z-1 > div.col-12.col-sm-8.col-lg-5.my-0.order-2.order-lg-2.order-xl-2.order-xxl-2 > div { clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }

.black-screen { display: none; }

/*======================================================================================================= HERO D'ACCUEIL ==============================================================================================================*/
.hero-castel { position: relative; min-height: 100vh; min-height: 100svh; background: #172F38; color: #f4f7f8; display: flex; align-items: center; overflow: hidden; font-family: 'Lato', sans-serif; }

.hero-castel__bg { position: absolute; inset: 0; z-index: 1; }

.hero-castel__bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.9) contrast(1.05); display: block; }

.hero-castel__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(23, 47, 56, 0.8) 0%, rgba(23, 47, 56, 0.62) 48%, rgba(23, 47, 56, 0.2) 100%); }

.hero-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 3; }

.hero-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.28); }

.hero-castel__diamond { position: absolute; top: -60px; right: -60px; width: 320px; height: 320px; border: 1px solid rgba(75, 127, 143, 0.18); transform: rotate(45deg); z-index: 2; }

.hero-castel__diamond::after { content: ''; position: absolute; inset: 32px; border: 1px solid rgba(75, 127, 143, 0.1); }

.hero-castel__content { position: relative; z-index: 4; padding: 150px 56px 100px 150px; max-width: 1600px; }

.hero-castel__tag { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.hero-castel__tag-line { display: block; width: 28px; height: 2px; background: #4B7F8F; flex-shrink: 0; }

.hero-castel__tag-text { font-family: 'Kanit', sans-serif; font-size: 0.80rem; font-weight: 600; letter-spacing: 0.18rem; text-transform: uppercase; color: #9EC8D3; }

.hero-castel__title { font-family: 'Rajdhani', sans-serif; font-size: clamp(3.6rem, 7vw, 6rem); font-weight: 700; line-height: 0.92; text-transform: uppercase; color: #f4f7f8; letter-spacing: -0.01em; margin: 0 0 0; }

.hero-castel__title-em { font-style: normal; color: #78B8C8; }

.hero-castel__sep { width: 56px; height: 3px; background: #4B7F8F; margin: 24px 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%); }

.hero-castel__desc { font-family: 'Lato', sans-serif; font-size: 1.1rem; line-height: 1.78; color: rgba(250, 249, 249, 0.82); max-width: 780px; margin: 0 0 28px; }

.hero-castel__stats { display: flex; gap: 32px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.hero-castel__stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2.0rem; font-weight: 700; color: #FFF; line-height: 1; text-transform: uppercase; }

.hero-castel__stat-label { font-family: 'Kanit', sans-serif; font-size: 0.72rem; letter-spacing: 0.08rem; text-transform: uppercase; color: rgba(250, 249, 249, 0.5); margin-top: 4px; }

.hero-castel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bouton principal */
.hero-castel__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none !important; color: #FAF9F9 !important; background: #4B7F8F; border: 1px solid #4B7F8F; overflow: hidden; transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%); }

.hero-castel__btn::before { content: ''; position: absolute; inset: 0; background: #172F38; transform: translateX(-102%); transition: transform 0.42s cubic-bezier(0.77, 0, 0.18, 1); z-index: 0; }

.hero-castel__btn-text, .hero-castel__btn--text, .hero-castel__btn-arrow { position: relative; z-index: 1; }

.hero-castel__btn-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; transition: transform 0.32s cubic-bezier(0.77, 0, 0.18, 1); }

.hero-castel__btn:hover { color: #FAF9F9 !important; border-color: #172F38; box-shadow: 0 14px 30px rgba(23, 47, 56, 0.28); }

.hero-castel__btn:hover::before { transform: translateX(0); }

.hero-castel__btn:hover .hero-castel__btn-arrow { transform: translateX(5px); }

/* Bouton secondaire */
.hero-castel__btn--outline { color: #FAF9F9 !important; background: rgba(250, 249, 249, 0.06); border-color: rgba(250, 249, 249, 0.48); backdrop-filter: blur(6px); }

.hero-castel__btn--outline::before { background: #4B7F8F; }

.hero-castel__btn--outline:hover { color: #FAF9F9 !important; border-color: #4B7F8F; box-shadow: 0 14px 30px rgba(75, 127, 143, 0.24); }

.hero-castel__btn--outline:hover .hero-castel__btn-arrow { transform: translateX(5px); }

/* Sécurité pour éviter les changements de couleur au survol du texte seul */
.hero-castel__btn-text:hover, .hero-castel__btn--text:hover { color: inherit !important; }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation hero sous navbar ============================== */
@media screen and (max-width: 1650px) and (min-width: 1800px) { .hero-castel { min-height: 100vh; min-height: 100svh; align-items: flex-start; } .hero-castel__content { padding: 150px 56px 80px 120px; max-width: 860px; } .hero-castel__title { font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 0.95; } .hero-castel__tag { margin-bottom: 18px; } .hero-castel__sep { margin: 20px 0; } .hero-castel__desc { font-size: 1rem; line-height: 1.65; max-width: 720px; margin-bottom: 24px; } .hero-castel__stats { gap: 26px; margin-bottom: 28px; padding-bottom: 22px; } .hero-castel__stat-num { font-size: 1.8rem; } .hero-castel__btn { padding: 12px 24px; font-size: 0.82rem; } }

@media screen and (max-width: 900px) { .hero-castel { min-height: 100vh; min-height: 100svh; } .hero-castel__overlay { background: linear-gradient(180deg, rgba(23, 47, 56, 0.94) 0%, rgba(23, 47, 56, 0.8) 100%); } .hero-castel__accent { display: none; } .hero-castel__content { padding: 100px 32px 100px 70px; } .hero-castel__title { font-size: clamp(3rem, 9vw, 4.2rem); } .hero-castel__stats { gap: 20px; } }

@media screen and (max-width: 560px) { .hero-castel { min-height: 100vh; min-height: 100svh; } .hero-castel__content { padding: 100px 24px 100px 50px; } .hero-castel__title { font-size: clamp(2.6rem, 11vw, 3.4rem); } .hero-castel__stats { flex-wrap: wrap; gap: 16px; } .hero-castel__actions { flex-direction: column; align-items: flex-start; } }

/*===================================================================================================== PRESENTATION DE CASTEL COUVERTURE ==============================================================================================*/
.pres-castel { position: relative; padding: 100px 32px; background: #F4F7F8; overflow: hidden; font-family: 'Lato', sans-serif; }

.pres-castel__deco { position: absolute; bottom: 0px; right: -120px; width: 380px; height: 380px; border: 1px solid rgba(75, 127, 143, 0.4); transform: rotate(45deg); pointer-events: none; z-index: 0; }

.pres-castel__deco::after { content: ''; position: absolute; inset: 36px; border: 1px solid rgba(75, 127, 143, 0.08); }

.pres-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 1; }

.pres-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.18); }

.pres-castel__container { position: relative; z-index: 2; max-width: 1420px; margin: 0 auto; display: grid; grid-template-columns: 480px 1fr; gap: 120px; align-items: center; }

.pres-castel__media { position: relative; }

.pres-castel__media::before { content: ''; position: absolute; top: 34px; left: -34px; width: 100%; height: 100%; background: #172F38; clip-path: polygon(40px 0%, 100% 0%, calc(100% - 40px) 100%, 0% 100%); opacity: 0.14; z-index: 0; }

.pres-castel__image { position: relative; clip-path: polygon(40px 0%, 100% 0%, calc(100% - 40px) 100%, 0% 100%); overflow: hidden; background: #244B5A; z-index: 1; }

.pres-castel__image img { width: 100%; height: 580px; object-fit: cover; object-position: center; display: block; filter: saturate(0.9) contrast(1.05); scale: 1.06; }

.pres-castel__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 47, 56, 0) 50%, rgba(23, 47, 56, 0.4) 100%); pointer-events: none; }

.pres-castel__badge { position: absolute; right: -8px; bottom: 48px; background: #244b5a; color: #f4f7f8; padding: 18px 28px; clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%); box-shadow: 0 12px 28px rgba(23, 47, 56, 0.22); z-index: 3; text-align: center; }

.pres-castel__badge-label { display: block; font-family: 'Kanit', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18rem; text-transform: uppercase; color: rgba(250, 249, 249, 0.8); }

.pres-castel__badge-value { display: block; font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; line-height: 1; text-transform: uppercase; color: #f4f7f8; margin-top: 2px; }

.pres-castel__tag { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.pres-castel__tag-line { display: block; width: 28px; height: 2px; background: #4B7F8F; flex-shrink: 0; }

.pres-castel__tag-text { font-family: 'Kanit', sans-serif; font-size: 0.80rem; font-weight: 600; letter-spacing: 0.18rem; text-transform: uppercase; color: #4B7F8F; }

.pres-castel__title { font-family: 'Rajdhani', sans-serif; font-size: clamp(2.4rem, 3.8vw, 3.8rem); font-weight: 700 !important; line-height: 0.95; text-transform: uppercase; color: #172F38; margin: 0; letter-spacing: -0.01em; }

.pres-castel__title span { color: #4b7f8f; }

.pres-castel__sep { width: 56px; height: 3px; background: #4B7F8F; margin: 22px 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%); }

.pres-castel__desc { font-size: 1rem; line-height: 1.80; color: rgba(23, 47, 56, 0.78); margin: 0 0 16px; }

.pres-castel__points { display: flex; gap: 0; margin: 32px 0 40px; }

.pres-castel__point { display: flex; flex-direction: column; justify-content: center; padding: 16px 24px !important; border-left: 2px solid #4B7F8F !important; }

.pres-castel__point:first-child { padding-left: 0; border-left: none; }

.pres-castel__point-num { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; color: #4B7F8F; line-height: 1; }

.pres-castel__point-label { font-family: 'Kanit', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08rem; text-transform: uppercase; color: #172F38; margin-top: 5px; }

.pres-castel__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #f4f7f8; background: #4B7F8F; border: 1px solid #4B7F8F; overflow: hidden; transition: border-color 0.3s, color 0.3s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%); }

.pres-castel__btn::before { content: ''; position: absolute; inset: 0; background: #172F38; transform: translateX(-102%); transition: transform 0.38s cubic-bezier(0.77, 0, 0.18, 1); z-index: 0; }

.pres-castel__btn-text, .pres-castel__btn-arrow { position: relative; z-index: 1; }

.pres-castel__btn-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1); }

.pres-castel__btn:hover { color: #f4f7f8; border-color: #172F38; }

.pres-castel__btn:hover::before { transform: translateX(0); }

.pres-castel__btn:hover .pres-castel__btn-arrow { transform: translateX(4px); }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation bloc présentation ============================== */
@media screen and (max-width: 1650px) and (min-width: 1051px) { .pres-castel { padding: 90px 48px; } .pres-castel__container { max-width: 1240px; grid-template-columns: 420px 1fr; gap: 72px; } .pres-castel__media::before { top: 28px; left: -24px; } .pres-castel__image img { height: 520px; scale: 1.03; } .pres-castel__badge { right: 0; bottom: 38px; padding: 16px 24px; } .pres-castel__badge-value { font-size: 2rem; } .pres-castel__title { font-size: clamp(2.3rem, 3.2vw, 3.3rem); } .pres-castel__desc { font-size: 0.98rem; line-height: 1.7; } .pres-castel__points { margin: 26px 0 34px; } .pres-castel__point { padding: 14px 18px !important; } .pres-castel__deco { right: -180px; width: 320px; height: 320px; } }

@media screen and (max-width: 1050px) { .pres-castel__container { grid-template-columns: 1fr; gap: 56px; } .pres-castel__image img { height: 460px; } .pres-castel__accent { display: none; } }

@media screen and (max-width: 680px) { .pres-castel { padding: 72px 24px; } .pres-castel__image { clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%); } .pres-castel__media::before { top: 22px; left: -18px; clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%); } .pres-castel__image img { height: 340px; } .pres-castel__title { font-size: clamp(2rem, 8vw, 2.6rem); } .pres-castel__points { flex-wrap: wrap; gap: 12px; } }

/*==================================================================================================== LES PRESTATIONS : CARDS =======================================================================================================*/
.castel-services { position: relative; padding: 100px 32px; background: #f4f7f8; overflow: hidden; }

.castel-services::before { content: ""; position: absolute; top: 80px; left: -160px; width: 360px; height: 520px; background: rgba(75, 127, 143, 0.1); transform: skewX(-18deg); pointer-events: none; }

.castel-services::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 420px; height: 420px; border: 1px solid rgba(75, 127, 143, 0.22); transform: rotate(45deg); pointer-events: none; }

.castel-services__container { position: relative; z-index: 2; max-width: 1700px; margin: 0 auto; }

.castel-services__header { max-width: 100%; margin-bottom: 58px; }

.castel-services__title-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }

.castel-services__title-row > div { max-width: 760px; }

.castel-services__logo { width: clamp(220px, 24vw, 420px); height: auto; object-fit: contain; flex-shrink: 0; }

.castel-services__subtitle { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: 'Kanit', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: #4B7F8F; }

.castel-services__subtitle::before { content: ""; display: block; width: 28px; height: 2px; background: #4B7F8F; transform: skewX(-20deg); }

.castel-services__header h2 { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 56px; line-height: 1; font-weight: 700 !important; text-transform: uppercase; color: #172F38; }

.castel-services__header h2 span { color: #4b7f8f; }

.castel-services__header h2::after { content: ""; display: block; width: 120px; height: 4px; margin-top: 24px; background: #4B7F8F; transform: skewX(-20deg); }

.castel-services__header p { max-width: 680px; margin-top: 24px; margin-bottom: 0; font-family: 'Lato', sans-serif; font-size: 17px; line-height: 1.8; color: rgba(31, 45, 51, 0.82); }

.castel-services__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: none; margin: 0; }

.castel-service-card { position: relative; min-height: 380px; padding: 30px 22px; background: #FFFFFF; border: 1px solid rgba(75, 127, 143, 0.16); overflow: hidden; box-shadow: 0 18px 44px rgba(23, 47, 56, 0.08); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer; }

.castel-service-card::before { content: ""; position: absolute; inset: 0; background: #172F38; transform: translateY(100%); transition: transform 0.45s ease; z-index: 1; }

.castel-service-card::after { content: ""; position: absolute; right: -70px; top: -80px; width: 180px; height: 240px; background: rgba(75, 127, 143, 0.13); transform: skewX(-18deg); transition: all 0.45s ease; z-index: 2; }

.castel-service-card:hover { transform: translateY(-8px); border-color: rgba(75, 127, 143, 0.45); box-shadow: 0 26px 60px rgba(23, 47, 56, 0.16); }

.castel-service-card:hover::before { transform: translateY(0); }

.castel-service-card:hover::after { right: -40px; background: rgba(75, 127, 143, 0.28); }

.castel-service-card__number { position: absolute; top: 24px; right: 26px; z-index: 3; font-family: 'Rajdhani', sans-serif; font-size: 54px; line-height: 1; font-weight: 700; color: rgba(75, 127, 143, 0.18); transition: color 0.4s ease; }

.castel-service-card__icon { position: relative; z-index: 3; width: 58px; height: 58px; margin-bottom: 28px; background: #EAF2F4; transform: skewX(-14deg); display: flex; align-items: center; justify-content: center; transition: background 0.4s ease; }

.castel-service-card__icon span { display: block; width: 30px; height: 18px; border-left: 4px solid #4B7F8F; border-top: 4px solid #4B7F8F; transform: skewX(14deg) rotate(45deg); transition: border-color 0.4s ease; }

.castel-service-card h3 { position: relative; z-index: 3; max-width: 280px; margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 32px; line-height: 1; font-weight: 700 !important; text-transform: uppercase; color: #172F38; transition: color 0.4s ease; }

.castel-service-card h3::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; background: #4B7F8F; transform: skewX(-20deg); transition: background 0.4s ease, width 0.4s ease; }

.castel-service-card p { position: relative; z-index: 3; margin-top: 22px; margin-bottom: 0; font-family: 'Lato', sans-serif; font-size: 16px; line-height: 1.75; color: rgba(31, 45, 51, 0.78); transition: color 0.4s ease; }

.castel-service-card__link { position: relative; z-index: 3; display: inline-block; width: fit-content; margin-top: auto; padding-top: 26px; font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; color: #4B7F8F; transition: color 0.4s ease; margin-bottom: 20px; }

.castel-service-card__link::after { content: ""; display: inline-block; width: 22px; height: 2px; margin-left: 10px; vertical-align: middle; background: #4B7F8F; transition: width 0.4s ease, background 0.4s ease; }

.castel-service-card:hover .castel-service-card__number { color: rgba(250, 249, 249, 0.12); }

.castel-service-card:hover .castel-service-card__icon { background: #4B7F8F; }

.castel-service-card:hover .castel-service-card__icon span { border-color: #f4f7f8; }

.castel-service-card:hover h3 { color: #f4f7f8; }

.castel-service-card:hover h3::after { width: 86px; background: #4B7F8F; }

.castel-service-card:hover p { color: rgba(250, 249, 249, 0.82); }

.castel-service-card:hover .castel-service-card__link { color: #f4f7f8; }

.castel-service-card:hover .castel-service-card__link::after { width: 34px; background: #f4f7f8; }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation bloc services ============================== */
@media screen and (max-width: 1650px) and (min-width: 1051px) { .castel-services { padding: 90px 48px; } .castel-services__container { max-width: 1240px; } .castel-services__title-row { gap: 36px; } .castel-services__title-row > div { max-width: 700px; } .castel-services__logo { width: clamp(200px, 20vw, 330px); } .castel-services__header { margin-bottom: 48px; } .castel-services__header h2 { font-size: 48px; } .castel-services__header p { font-size: 16px; line-height: 1.7; max-width: 640px; } .castel-services__grid { gap: 16px; } .castel-service-card { min-height: 350px; padding: 26px 18px; } .castel-service-card__number { top: 20px; right: 20px; font-size: 46px; } .castel-service-card__icon { width: 52px; height: 52px; margin-bottom: 24px; } .castel-service-card h3 { font-size: 28px; max-width: 240px; } .castel-service-card p { font-size: 15px; line-height: 1.65; margin-top: 20px; } .castel-service-card__link { font-size: 12px; padding-top: 22px; margin-bottom: 12px; } .castel-services::before { left: -220px; } .castel-services::after { right: -190px; width: 340px; height: 340px; } }

@media screen and (max-width: 1050px) { .castel-services__grid { grid-template-columns: repeat(2, 1fr); } .castel-services__header h2 { font-size: 46px; } }

@media screen and (max-width: 680px) { .castel-services { padding: 72px 24px; } .castel-services__logo { display: none; } .castel-services__header { margin-bottom: 42px; } .castel-services__header h2 { font-size: 36px; } .castel-services__header p { font-size: 16px; } .castel-services__grid { grid-template-columns: 1fr; gap: 20px; } .castel-service-card { min-height: auto; padding: 28px; } .castel-service-card h3 { font-size: 28px; } }

/*===================================================================================================== AVANT / APRES : PAGE D'ACUEIL ============================================================================================== */
.ba-castel { position: relative; padding: 100px 32px 100px 48px; background: #172f38; overflow: hidden; font-family: 'Lato', sans-serif; }

.ba-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 1; }

.ba-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.18); }

.ba-castel__deco { position: absolute; bottom: 80px; left: -80px; width: 380px; height: 380px; border: 1px solid rgba(244, 247, 248, 0.4); transform: rotate(45deg); pointer-events: none; z-index: 0; }

.ba-castel__deco::after { content: ''; position: absolute; inset: 36px; border: 1px solid rgba(244, 247, 248, 0.2); }

.ba-castel__container { position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; }

.ba-castel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ba-castel__card { position: relative; overflow: hidden; background: #172F38; box-shadow: 0 18px 44px rgba(23, 47, 56, 0.12); clip-path: polygon(26px 0%, 100% 0%, calc(100% - 26px) 100%, 0% 100%); cursor: ew-resize; user-select: none; }

.ba-castel__card-inner { position: relative; height: 400px; overflow: hidden; }

.ba-castel__img-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.9) contrast(1.05); display: block; }

.ba-castel__img-before-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }

.ba-castel__img-before { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.9) contrast(1.05); display: block; }

.ba-castel__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #f4f7f8; transform: translateX(-50%); z-index: 10; pointer-events: none; }

.ba-castel__handle-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: #4B7F8F; border: 3px solid #f4f7f8; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(23, 47, 56, 0.3); }

.ba-castel__handle-btn svg { width: 20px; height: 20px; stroke: #f4f7f8; fill: none; flex-shrink: 0; }

.ba-castel__label { position: absolute; bottom: 20px; z-index: 8; padding: 6px 16px; color: #f4f7f8; font-family: 'Kanit', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14rem; text-transform: uppercase; clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%); pointer-events: none; }

.ba-castel__label--before { left: 30px; background: rgba(23, 47, 56, 0.8); }

.ba-castel__label--after { right: 50px; background: #4B7F8F; }

.ba-castel__footer { display: flex; justify-content: center; margin-top: 48px; }

.ba-castel__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #f4f7f8; background: #4B7F8F; border: 1px solid #4B7F8F; overflow: hidden; transition: border-color 0.3s, color 0.3s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%); }

.ba-castel__btn::before { content: ''; position: absolute; inset: 0; background: #172F38; transform: translateX(-102%); transition: transform 0.38s cubic-bezier(0.77, 0, 0.18, 1); z-index: 0; }

.ba-castel__btn-text, .ba-castel__btn-arrow { position: relative; z-index: 1; }

.ba-castel__btn-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1); }

.ba-castel__btn:hover { color: #f4f7f8; border-color: #172F38; }

.ba-castel__btn:hover::before { transform: translateX(0); }

.ba-castel__btn:hover .ba-castel__btn-arrow { transform: translateX(4px); }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation bloc avant / après ============================== */
@media screen and (max-width: 1650px) and (min-width: 1051px) { .ba-castel { padding: 90px 56px 90px 64px; } .ba-castel__container { max-width: 1240px; width: 100%; } .ba-castel__grid { gap: 18px; } .ba-castel__card-inner { height: 350px; } .ba-castel__card { clip-path: polygon(22px 0%, 100% 0%, calc(100% - 22px) 100%, 0% 100%); } .ba-castel__label { bottom: 18px; padding: 6px 14px; font-size: 0.68rem; letter-spacing: 0.12rem; } .ba-castel__label--before { left: 24px; } .ba-castel__label--after { right: 38px; } .ba-castel__handle-btn { width: 40px; height: 40px; } .ba-castel__handle-btn svg { width: 18px; height: 18px; } .ba-castel__footer { margin-top: 40px; } .ba-castel__deco { left: -150px; width: 320px; height: 320px; } }

@media screen and (max-width: 1050px) { .ba-castel__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; } .ba-castel__card-inner { height: 420px; } }

@media screen and (max-width: 600px) { .ba-castel { padding: 72px 24px 72px 36px; } .ba-castel__card-inner { height: 300px; } .ba-castel__card { clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); } }

/*========================================================================================================= CITATION + CTA =====================================================================================================*/
.cta-castel { position: relative; min-height: 560px; padding: 90px 32px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #172F38; color: #f4f7f8; font-family: 'Lato', sans-serif; }

.cta-castel__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; filter: saturate(0.85) contrast(1.05); }

.cta-castel__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(23, 47, 56, 0.92) 0%, rgba(23, 47, 56, 0.75) 50%, rgba(23, 47, 56, 0.55) 100%); }

/* Barre accent gauche */
.cta-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 3; }

.cta-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.28); }

/* Losange déco */
.cta-castel__diamond { position: absolute; right: -80px; bottom: -80px; width: 380px; height: 380px; border: 1px solid rgba(250, 249, 249, 0.12); transform: rotate(45deg); z-index: 3; pointer-events: none; }

.cta-castel__diamond::after { content: ''; position: absolute; inset: 36px; border: 1px solid rgba(250, 249, 249, 0.07); }

/* Contenu */
.cta-castel__content { position: relative; z-index: 4; max-width: 1200px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Tag */
.cta-castel__tag { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 32px; }

.cta-castel__tag-line { display: block; width: 36px; height: 2px; background: #4B7F8F; flex-shrink: 0; clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%); }

.cta-castel__tag-text { font-family: 'Kanit', sans-serif; font-size: 0.80rem; font-weight: 600; letter-spacing: 0.18rem; text-transform: uppercase; color: #9EC8D3; }

/* Citation */
.cta-castel__quote { position: relative; margin: 0; font-family: 'Rajdhani', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; font-weight: 700; text-transform: uppercase; color: #f4f7f8; border-left: none; }

.cta-castel__quote::before { content: '"'; position: absolute; left: -36px; top: -40px; font-family: 'Rajdhani', sans-serif; font-size: 120px; line-height: 1; color: rgba(158, 200, 211, 0.28); pointer-events: none; }

/* Séparateur */
.cta-castel__sep { width: 56px; height: 3px; background: #4B7F8F; margin: 32px 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%); }

/* Bouton */
.cta-castel__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #f4f7f8; background: #4B7F8F; border: 1px solid #4B7F8F; overflow: hidden; transition: border-color 0.3s, color 0.3s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%); }

.cta-castel__btn::before { content: ''; position: absolute; inset: 0; background: #f4f7f8; transform: translateX(-102%); transition: transform 0.38s cubic-bezier(0.77, 0, 0.18, 1); z-index: 0; }

.cta-castel__btn-text, .cta-castel__btn-arrow { position: relative; z-index: 1; }

.cta-castel__btn-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1); }

.cta-castel__btn:hover { color: #172F38; border-color: #f4f7f8; }

.cta-castel__btn:hover::before { transform: translateX(0); }

.cta-castel__btn:hover .cta-castel__btn-arrow { transform: translateX(4px); }

@media screen and (max-width: 900px) { .cta-castel { min-height: 520px; padding: 80px 28px; } .cta-castel__quote { font-size: clamp(1.9rem, 5.5vw, 2.8rem); } .cta-castel__quote::before { left: -18px; top: -32px; font-size: 88px; } }

@media screen and (max-width: 560px) { .cta-castel { min-height: 480px; padding: 72px 24px; } .cta-castel__overlay { background: linear-gradient(100deg, rgba(23, 47, 56, 0.95) 0%, rgba(23, 47, 56, 0.85) 100%); } .cta-castel__quote { font-size: clamp(1.7rem, 7vw, 2.2rem); } .cta-castel__quote::before { display: none; } .cta-castel__tag-line { width: 24px; } }

/*==================================================================================================== EN TETE : PAGE SECONDAIRE ===================================================================================================*/
.page-hero-castel { position: relative; min-height: 50vh; padding: 60px 32px; display: flex; align-items: center; overflow: hidden; background: #172F38; color: #f4f7f8; font-family: 'Lato', sans-serif; }

.page-hero-castel__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; filter: saturate(0.9) contrast(1.05); }

.page-hero-castel__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(23, 47, 56, 0.92) 0%, rgba(23, 47, 56, 0.78) 50%, rgba(23, 47, 56, 0.5) 100%); }

/* Barre accent gauche */
.page-hero-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 3; }

.page-hero-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.28); }

/* Losange déco */
.page-hero-castel__diamond { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 1px solid rgba(75, 127, 143, 0.18); transform: rotate(45deg); z-index: 2; pointer-events: none; }

.page-hero-castel__diamond::after { content: ''; position: absolute; inset: 32px; border: 1px solid rgba(75, 127, 143, 0.1); }

/* Contenu en grille logo / texte */
.page-hero-castel__content { position: relative; z-index: 4; max-width: 1680px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 0.6fr 1fr; gap: 100px; align-items: center; }

/* Logo à gauche */
.page-hero-castel__logo { display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(250, 249, 249, 0.4); border: 1px solid rgba(75, 127, 143, 0.3); clip-path: polygon(24px 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%); }

.page-hero-castel__logo img { width: 100%; height: auto; display: block; }

/* Tag */
.page-hero-castel__tag { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; }

.page-hero-castel__tag-line { display: block; width: 32px; height: 2px; background: #9EC8D3; flex-shrink: 0; clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%); }

.page-hero-castel__tag-text { font-family: 'Kanit', sans-serif; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15rem; text-transform: uppercase; color: #9EC8D3; }

/* Titre */
.page-hero-castel__title { max-width: 950px; margin: 0; font-family: 'Rajdhani', sans-serif; font-size: clamp(2.6rem, 5.6vw, 4rem); line-height: 0.98; font-weight: 700; text-transform: uppercase; color: #f4f7f8; }

.page-hero-castel__title span { color: #78B8C8; }

/* Séparateur */
.page-hero-castel__sep { width: 120px; height: 4px; background: #4B7F8F; margin: 26px 0; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%); }

/* Description */
.page-hero-castel__desc { max-width: 680px; margin: 0; font-family: 'Lato', sans-serif; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.75; color: rgba(250, 249, 249, 0.88); }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation hero pages intérieures ============================== */
@media screen and (max-width: 1650px) and (min-width: 901px) { .page-hero-castel { min-height: 55vh; padding: 130px 48px 70px; align-items: center; } .page-hero-castel__content { max-width: 1240px; grid-template-columns: 0.5fr 1fr; gap: 70px; } .page-hero-castel__logo { padding: 26px; } .page-hero-castel__logo img { max-width: 360px; margin: 0 auto; } .page-hero-castel__tag { margin-bottom: 18px; } .page-hero-castel__title { font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1; max-width: 820px; } .page-hero-castel__sep { margin: 22px 0; width: 100px; } .page-hero-castel__desc { max-width: 620px; font-size: 1rem; line-height: 1.65; } .page-hero-castel__diamond { right: -130px; top: -120px; width: 280px; height: 280px; } }

/* Responsive */
@media screen and (max-width: 900px) { .page-hero-castel { min-height: auto; padding: 96px 24px; } .page-hero-castel__overlay { background: linear-gradient(180deg, rgba(23, 47, 56, 0.94) 0%, rgba(23, 47, 56, 0.82) 100%); } .page-hero-castel__content { grid-template-columns: 1fr; gap: 36px; text-align: center; } .page-hero-castel__logo { max-width: 220px; margin: 0 auto; } .page-hero-castel__tag { justify-content: center; } .page-hero-castel__sep { margin: 26px auto; } .page-hero-castel__desc { margin: 0 auto; } }

@media screen and (max-width: 560px) { .page-hero-castel__title { font-size: clamp(2.2rem, 9vw, 2.8rem); } .page-hero-castel__logo { max-width: 180px; } }

/*============================================================================================= INTRODUCTION / PRESENTATION DU SERVICE =================================================================================================*/
.service-intro-castel { position: relative; padding: 110px 32px 110px 48px; background: #f4f7f8; overflow: hidden; font-family: 'Lato', sans-serif; }

/* Barre accent gauche — cohérence avec hero/présentation */
.service-intro-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 1; }

.service-intro-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.18); }

/* Losange déco */
.service-intro-castel__diamond { position: absolute; right: -90px; bottom: -90px; width: 380px; height: 380px; border: 1px solid rgba(75, 127, 143, 0.36); transform: rotate(45deg); z-index: 0; pointer-events: none; }

.service-intro-castel__diamond::after { content: ''; position: absolute; inset: 36px; border: 1px solid rgba(75, 127, 143, 0.22); }

.service-intro-castel__container { position: relative; z-index: 2; max-width: 1620px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1.3fr 1.1fr; gap: 28px; align-items: stretch; }

.service-intro-castel__media { position: relative; height: 100%; min-height: 380px; overflow: hidden; background: #244B5A; clip-path: polygon(28px 0%, 100% 0%, calc(100% - 28px) 100%, 0% 100%); box-shadow: 0 18px 44px rgba(23, 47, 56, 0.12); }

.service-intro-castel__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.9) contrast(1.05); scale: 1.06; transition: transform 0.6s ease; }

.service-intro-castel__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 47, 56, 0) 55%, rgba(23, 47, 56, 0.38) 100%); pointer-events: none; }

.service-intro-castel__content { position: relative; height: 100%; padding: 48px 44px; background: #FFFFFF; border: 1px solid rgba(75, 127, 143, 0.16); box-shadow: 0 18px 44px rgba(23, 47, 56, 0.08); display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }

/* Tag */
.service-intro-castel__tag { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.service-intro-castel__tag-line { display: block; width: 28px; height: 2px; background: #4B7F8F; flex-shrink: 0; }

.service-intro-castel__tag-text { font-family: 'Kanit', sans-serif; font-size: 0.80rem; font-weight: 600; letter-spacing: 0.18rem; text-transform: uppercase; color: #4B7F8F; }

/* Titre */
.service-intro-castel__title { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.05; font-weight: 700 !important; text-transform: uppercase; color: #172F38; }

.service-intro-castel__title span { color: #4b7f8f; }

/* Séparateur */
.service-intro-castel__sep { width: 56px; height: 3px; background: #4B7F8F; margin: 22px 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%); }

/* Description */
.service-intro-castel__desc { margin: 0 0 16px; font-family: 'Lato', sans-serif; font-size: 1rem; line-height: 1.8; color: rgba(23, 47, 56, 0.78); }

.service-intro-castel__desc:last-of-type { margin-bottom: 0; }

/* Liste */
.service-intro-castel__list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(75, 127, 143, 0.16); }

.service-intro-castel__list-item { position: relative; padding-left: 26px; font-family: 'Kanit', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04rem; text-transform: uppercase; color: #172F38; }

.service-intro-castel__list-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 2px; background: #4B7F8F; }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation intro service ============================== */
@media screen and (max-width: 1650px) and (min-width: 1181px) { .service-intro-castel { padding: 90px 56px 90px 64px; } .service-intro-castel__container { max-width: 1240px; width: 100%; grid-template-columns: 0.95fr 1.25fr 0.95fr; gap: 20px; } .service-intro-castel__media { min-height: 340px; clip-path: polygon(22px 0%, 100% 0%, calc(100% - 22px) 100%, 0% 100%); } .service-intro-castel__media img { scale: 1.03; } .service-intro-castel__content { padding: 38px 34px; } .service-intro-castel__tag { margin-bottom: 16px; } .service-intro-castel__title { font-size: clamp(1.9rem, 2.4vw, 2.3rem); line-height: 1.05; } .service-intro-castel__sep { margin: 18px 0; } .service-intro-castel__desc { font-size: 0.96rem; line-height: 1.65; margin-bottom: 14px; } .service-intro-castel__list { gap: 10px; margin-top: 22px; padding-top: 22px; } .service-intro-castel__list-item { font-size: 0.78rem; padding-left: 22px; } .service-intro-castel__diamond { right: -160px; bottom: -140px; width: 320px; height: 320px; } }

@media screen and (max-width: 1180px) { .service-intro-castel__container { grid-template-columns: 1fr; max-width: 760px; gap: 24px; } .service-intro-castel__media { height: 360px; min-height: 360px; order: 2; } .service-intro-castel__media:first-of-type { order: 1; } .service-intro-castel__content { order: 1; height: auto; } .service-intro-castel__media:last-of-type { order: 3; } }

@media screen and (max-width: 680px) { .service-intro-castel { padding: 72px 24px 72px 36px; } .service-intro-castel__media { height: 260px; min-height: 260px; clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%); } .service-intro-castel__content { padding: 36px 28px; } .service-intro-castel__title { font-size: clamp(1.7rem, 8vw, 2.1rem); } .service-intro-castel__desc { font-size: 0.95rem; } }

/*====================================================================================================== METHODE DE TRAVAIL ======================================================================================================*/
.castel-method { position: relative; padding: 110px 32px; background: #172F38; color: #f4f7f8; overflow: hidden; }

.castel-method__decor { position: absolute; pointer-events: none; z-index: 1; }

.castel-method__decor--one { top: -120px; left: -150px; width: 380px; height: 620px; background: rgba(75, 127, 143, 0.22); transform: skewX(-18deg); }

.castel-method__decor--two { right: -150px; bottom: -180px; width: 420px; height: 420px; border: 1px solid rgba(250, 249, 249, 0.16); transform: rotate(45deg); }

.castel-method__container { position: relative; z-index: 2; max-width: 1450px; margin: 0 auto; }

.castel-method__header { max-width: 760px; margin-bottom: 58px; }

.castel-method__tag { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; font-family: 'Kanit', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: #9EC8D3; }

.castel-method__tag::before { content: ""; display: block; width: 28px; height: 2px; background: #9EC8D3; transform: skewX(-20deg); }

.castel-method .castel-method__title { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: clamp(40px, 4.5vw, 62px); line-height: 1; font-weight: 700 !important; text-transform: uppercase; color: #ffffff; }

.castel-method .castel-method__title span { color: #78b8c8 !important; }

.castel-method__header h2::after { content: ""; display: block; width: 120px; height: 4px; margin-top: 24px; background: #4B7F8F; transform: skewX(-20deg); }

.castel-method__header p { max-width: 680px; margin-top: 24px; margin-bottom: 0; font-family: 'Lato', sans-serif; font-size: 17px; line-height: 1.8; color: rgba(250, 249, 249, 0.78); }

.castel-method__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.castel-method__step { position: relative; min-height: 300px; padding: 34px 26px; background: rgba(250, 249, 249, 0.06); border: 1px solid rgba(250, 249, 249, 0.12); overflow: hidden; transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease; }

.castel-method__step::before { content: ""; position: absolute; inset: 0; background: #f4f7f8; transform: translateY(100%); transition: transform 0.45s ease; z-index: 1; }

.castel-method__step::after { content: ""; position: absolute; right: -70px; top: -90px; width: 180px; height: 240px; background: rgba(75, 127, 143, 0.18); transform: skewX(-18deg); z-index: 2; transition: all 0.45s ease; }

.castel-method__step:hover { transform: translateY(-8px); border-color: rgba(75, 127, 143, 0.48); }

.castel-method__step:hover::before { transform: translateY(0); }

.castel-method__step:hover::after { right: -45px; background: rgba(75, 127, 143, 0.26); }

.castel-method__number { position: relative; z-index: 3; margin-bottom: 34px; font-family: 'Rajdhani', sans-serif; font-size: 64px; line-height: 1; font-weight: 700; color: rgba(158, 200, 211, 0.32); transition: color 0.4s ease; }

.castel-method__step h3 { position: relative; z-index: 3; margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 30px; line-height: 1; font-weight: 700 !important; text-transform: uppercase; color: #f4f7f8; transition: color 0.4s ease; }

.castel-method__step h3::after { content: ""; display: block; width: 54px; height: 3px; margin-top: 18px; background: #4B7F8F; transform: skewX(-20deg); transition: width 0.4s ease; }

.castel-method__step p { position: relative; z-index: 3; margin-top: 22px; margin-bottom: 0; font-family: 'Lato', sans-serif; font-size: 15.5px; line-height: 1.75; color: rgba(250, 249, 249, 0.76); transition: color 0.4s ease; }

.castel-method__step:hover .castel-method__number { color: rgba(75, 127, 143, 0.22); }

.castel-method__step:hover h3 { color: #172F38; }

.castel-method__step:hover h3::after { width: 82px; }

.castel-method__step:hover p { color: rgba(31, 45, 51, 0.78); }

/* ============================== ÉCRANS ORDINATEURS ~1600PX Adaptation bloc méthode ============================== */
@media screen and (max-width: 1650px) and (min-width: 1181px) { .castel-method { padding: 90px 48px; } .castel-method__container { max-width: 1240px; width: 100%; } .castel-method__header { max-width: 700px; margin-bottom: 48px; } .castel-method .castel-method__title { font-size: clamp(38px, 3.8vw, 54px); } .castel-method__header p { max-width: 640px; font-size: 16px; line-height: 1.7; } .castel-method__steps { gap: 16px; } .castel-method__step { min-height: 280px; padding: 30px 20px; } .castel-method__number { font-size: 54px; margin-bottom: 28px; } .castel-method__step h3 { font-size: 26px; } .castel-method__step p { font-size: 15px; line-height: 1.65; margin-top: 20px; } .castel-method__decor--one { left: -220px; width: 330px; height: 560px; } .castel-method__decor--two { right: -210px; bottom: -190px; width: 340px; height: 340px; } }

@media screen and (max-width: 1180px) { .castel-method__steps { grid-template-columns: repeat(2, 1fr); } }

@media screen and (max-width: 680px) { .castel-method { padding: 72px 24px; } .castel-method__header { margin-bottom: 42px; } .castel-method__header p { font-size: 16px; } .castel-method__steps { grid-template-columns: 1fr; gap: 18px; } .castel-method__step { min-height: auto; padding: 30px 24px; } .castel-method__number { font-size: 54px; margin-bottom: 28px; } .castel-method__step h3 { font-size: 27px; } }

/*================================================================================================== BLOC IMAGE + CTA ================================================================================================================*/
.cta-service-castel { position: relative; min-height: 560px; padding: 110px 32px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #172F38; color: #f4f7f8; font-family: 'Lato', sans-serif; }

.cta-service-castel__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; filter: saturate(0.85) contrast(1.05); }

.cta-service-castel__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(23, 47, 56, 0.92) 0%, rgba(23, 47, 56, 0.75) 50%, rgba(23, 47, 56, 0.55) 100%); }

/* Barre accent gauche */
.cta-service-castel__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #4B7F8F; z-index: 3; }

.cta-service-castel__accent::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 12px; background: rgba(75, 127, 143, 0.28); }

/* Losange déco */
.cta-service-castel__diamond { position: absolute; right: -90px; bottom: -90px; width: 400px; height: 400px; border: 1px solid rgba(250, 249, 249, 0.12); transform: rotate(45deg); z-index: 3; pointer-events: none; }

.cta-service-castel__diamond::after { content: ''; position: absolute; inset: 36px; border: 1px solid rgba(250, 249, 249, 0.07); }

/* Contenu centré */
.cta-service-castel__content { position: relative; z-index: 4; max-width: 1200px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Tag */
.cta-service-castel__tag { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 28px; }

.cta-service-castel__tag-line { display: block; width: 36px; height: 2px; background: #4B7F8F; flex-shrink: 0; clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%); }

.cta-service-castel__tag-text { font-family: 'Kanit', sans-serif; font-size: 0.80rem; font-weight: 600; letter-spacing: 0.18rem; text-transform: uppercase; color: #9EC8D3; }

/* Titre */
.cta-service-castel__title { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; font-weight: 700 !important; text-transform: uppercase; color: #f4f7f8; }

/* Séparateur */
.cta-service-castel__sep { width: 56px; height: 3px; background: #4B7F8F; margin: 26px 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%); }

/* Description */
.cta-service-castel__desc { margin: 0; font-size: 1.0625rem; line-height: 1.8; color: rgba(250, 249, 249, 0.86); max-width: 840px; }

/* Bouton */
.cta-service-castel__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; margin-top: 36px; font-family: 'Kanit', sans-serif; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.08rem; text-transform: uppercase; text-decoration: none; color: #f4f7f8; background: #4B7F8F; border: 1px solid #4B7F8F; overflow: hidden; transition: border-color 0.3s, color 0.3s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%); }

.cta-service-castel__btn::before { content: ''; position: absolute; inset: 0; background: #f4f7f8; transform: translateX(-102%); transition: transform 0.38s cubic-bezier(0.77, 0, 0.18, 1); z-index: 0; }

.cta-service-castel__btn-text, .cta-service-castel__btn-arrow { position: relative; z-index: 1; }

.cta-service-castel__btn-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1); }

.cta-service-castel__btn:hover { color: #172F38; border-color: #f4f7f8; }

.cta-service-castel__btn:hover::before { transform: translateX(0); }

.cta-service-castel__btn:hover .cta-service-castel__btn-arrow { transform: translateX(4px); }

/* Responsive */
@media screen and (max-width: 780px) { .cta-service-castel { min-height: 520px; padding: 86px 24px; } .cta-service-castel__overlay { background: linear-gradient(100deg, rgba(23, 47, 56, 0.95) 0%, rgba(23, 47, 56, 0.85) 100%); } .cta-service-castel__desc { font-size: 1rem; } }

@media screen and (max-width: 520px) { .cta-service-castel { padding: 76px 24px; } .cta-service-castel__tag-line { width: 24px; } .cta-service-castel__title { font-size: clamp(1.9rem, 9vw, 2.6rem); } }

::marker { font-size: 0px; }

.col-lg-7.my-0.order-1.order-lg-1.order-xl-1.order-xxl-1 { color: white; }

h1.display-4.fw-bold.bandeauTitre.titles.text-color-seventh { color: black !important; }

li.dropdown.px-4 { font-family: 'Kanit', sans-serif; }

/*# sourceMappingURL=custom.css.map */