/* ==========================================================
   Nawa Carrelage 2002 — feuille de style principale
   Palette issue du logo : bleu marine, bleu canard, or
   ========================================================== */
:root {
    --navy: #1a2b6d;
    --navy-dark: #0f1a47;
    --navy-light: #2a3d8a;
    --teal: #116a7b;
    --teal-light: #1d8ea2;
    --gold: #c59b3e;
    --gold-light: #e2c27a;
    --cream: #f7f5ef;
    --soft: #f3f5fa;
    --text: #3b4357;
    --muted: #6b7388;
    --border: #e3e7ef;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 26, 71, .08);
    --shadow-lg: 0 20px 50px rgba(15, 26, 71, .16);
    --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --bs-primary: var(--navy);
    --bs-primary-rgb: 26, 43, 109;
    --bs-link-color: var(--teal);
    --bs-link-color-rgb: 17, 106, 123;
    --bs-link-hover-color: var(--navy);
    --bs-link-hover-color-rgb: 26, 43, 109;
    --bs-body-color: var(--text);
    --bs-body-font-family: var(--font-body);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--text); font-size: 1rem; line-height: 1.7; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-title); color: var(--navy); font-weight: 600; line-height: 1.25; }
img { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
::selection { background: var(--gold-light); color: var(--navy-dark); }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: .7rem 1.6rem; letter-spacing: .2px; transition: all .3s ease; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(26, 43, 109, .25); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d8b25c); color: #fff; border: 2px solid transparent; }
.btn-gold:hover, .btn-gold:focus { background: linear-gradient(135deg, #b38a30, var(--gold)); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 155, 62, .35); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-width: 2px; }
.btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* ---------- Barre supérieure & navigation ---------- */
.topbar { background: var(--navy-dark); color: rgba(255, 255, 255, .8); font-size: .85rem; padding: .5rem 0; }
.topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar i { color: var(--gold); }

.site-header { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); box-shadow: 0 2px 18px rgba(15, 26, 71, .07); z-index: 1030; }
.site-header .navbar { padding: .85rem 0; }
.brand-name { font-family: var(--font-title); font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: .2px; white-space: nowrap; text-decoration: none; }
.brand-1 { color: var(--navy); }
.brand-2 { color: var(--teal); }
.brand-3 { color: var(--gold); font-size: .62em; vertical-align: .3em; letter-spacing: 1px; }
.site-header .nav-link { color: var(--navy); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .8px; padding: .5rem .9rem !important; position: relative; }
.site-header .nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.dropdown-toggle::after { display: none; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--teal); }
.dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); padding: .6rem; border-top: 3px solid var(--gold); }
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; color: var(--navy); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--soft); color: var(--teal); }
.dropdown-item i { color: var(--gold); }

.navbar-toggler { border: 0; padding: .4rem; width: 44px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; box-shadow: none !important; }
.toggler-bar { display: block; height: 2px; width: 26px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 992px) {
    .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; padding: .8rem 0 1rem; }
    .site-header .nav-link::after { display: none; }
    .site-header .nav-link { padding: .7rem .2rem !important; border-bottom: 1px solid var(--border); }
    .dropdown-menu { box-shadow: none; border-top: 0; background: var(--soft); }
}
@media (max-width: 400px) {
    .brand-name { font-size: 1.4rem; }
}

/* ---------- Médias : taille homogène quelle que soit l'image d'origine ---------- */
.media { position: relative; overflow: hidden; background: #e8ecf3; aspect-ratio: 4 / 3; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .6s ease; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.rounded-media { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Héros ---------- */
.hero {
    --hero-img: url('../img/placeholders/zellige.svg');
    position: relative; color: #fff; padding: clamp(4rem, 10vw, 8rem) 0; overflow: hidden;
    background: linear-gradient(110deg, rgba(15, 26, 71, .96) 0%, rgba(26, 43, 109, .88) 50%, rgba(17, 106, 123, .75) 100%), var(--hero-img) center / cover no-repeat;
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }
.eyebrow { text-transform: uppercase; letter-spacing: 4px; font-size: .8rem; font-weight: 600; color: var(--gold-light); margin-bottom: 1rem; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 1.25rem; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .88); max-width: 620px; margin-bottom: 2rem; }
.hero-tiles { position: relative; height: 380px; }
.hero-tiles .tile { position: absolute; width: 190px; height: 190px; transform: rotate(45deg); border: 6px solid #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); background-size: cover; background-position: center; }
.hero-tiles .tile-1 { left: 50%; top: 0; margin-left: -95px; background-image: url('../img/placeholders/zellige.svg'); animation: floaty 7s ease-in-out infinite; }
.hero-tiles .tile-2 { left: 8%; top: 150px; background-image: url('../img/placeholders/bricks.svg'); animation: floaty 7s ease-in-out -2s infinite; }
.hero-tiles .tile-3 { right: 8%; top: 150px; background-image: url('../img/placeholders/hexagons.svg'); animation: floaty 7s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Valeurs ---------- */
.values { margin-top: -2.5rem; position: relative; z-index: 2; }
.value-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); height: 100%; border-bottom: 3px solid transparent; transition: border-color .3s, transform .3s; }
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.value-icon { flex: 0 0 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--teal); font-size: 1.3rem; }
.value-card h2 { margin-bottom: .3rem; }
.value-card p { font-size: .92rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bg-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-kicker { display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .6rem; }
.section-kicker::before, .section-head .section-kicker::after { content: ''; width: 28px; height: 2px; background: var(--gold); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.rich-text h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.rich-text h3 { font-size: 1.25rem; margin: 1.5rem 0 .6rem; }
.rich-text ul { padding-left: 0; list-style: none; }
.rich-text ul li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.rich-text ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.rich-text blockquote { border-left: 4px solid var(--gold); padding: .5rem 1rem; background: var(--soft); border-radius: 0 8px 8px 0; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .1rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--teal); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.check-list a { color: var(--navy); text-decoration: none; }
.check-list a:hover { color: var(--teal); }

/* ---------- À propos ---------- */
.about-media { position: relative; padding: 0 2rem 2rem 0; }
.about-media::before { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border: 4px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about-media .media { border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 560px; }
.about-badge { position: absolute; left: -1rem; bottom: 3rem; background: var(--navy); color: #fff; padding: 1rem 1.4rem; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.about-badge strong { font-family: var(--font-title); font-size: 1.5rem; color: var(--gold-light); }
.about-badge span { font-size: .85rem; letter-spacing: 1px; }
@media (max-width: 575.98px) { .about-media { padding: 0 1rem 1rem 0; } .about-badge { left: .5rem; bottom: 1.5rem; } }

/* ---------- Cartes services ---------- */
.service-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover .media > img { transform: scale(1.08); }
.service-body { position: relative; padding: 2.2rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.service-icon { position: absolute; top: -28px; left: 1.5rem; width: 56px; height: 56px; border-radius: 14px; transform: rotate(45deg); background: linear-gradient(135deg, var(--navy), var(--teal)); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(26, 43, 109, .3); border: 3px solid #fff; }
.service-icon i { transform: rotate(-45deg); color: #fff; font-size: 1.2rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-more { font-weight: 700; color: var(--teal); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.service-card:hover .service-more { color: var(--gold); }

/* ---------- Carrousel des réalisations ---------- */
.projects-carousel { position: relative; }
.projects-carousel .swiper { padding: 1rem .25rem 1.5rem; }
.projects-carousel .swiper-slide { height: auto; transition: opacity .4s, transform .4s; }
.project-card { margin: 0; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.project-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; overflow: hidden; background: #e8ecf3; cursor: zoom-in; }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 26, 71, .55)); opacity: 0; transition: opacity .4s; }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-card:hover .project-media::after { opacity: 1; }
.project-zoom { position: absolute; z-index: 2; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; transform: scale(.5); opacity: 0; transition: all .35s; }
.project-card:hover .project-zoom, .project-media:focus-visible .project-zoom { transform: scale(1); opacity: 1; }
.project-info { padding: 1.3rem 1.4rem 1.5rem; position: relative; flex: 1; border-top: 4px solid var(--gold); }
.project-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--teal); padding: .25rem .7rem; border-radius: 30px; margin-bottom: .6rem; text-decoration: none; }
.project-tag:hover { background: var(--navy); color: #fff; }
.project-info h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.project-location { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: .4rem; }
.project-desc { font-size: .9rem; color: var(--muted); margin: 0; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: .5rem; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .3s; }
.carousel-btn:hover { background: var(--navy); color: #fff; }
.carousel-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.projects-carousel .swiper-pagination { position: static; width: auto !important; display: flex; gap: 4px; align-items: center; }
.projects-carousel .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--navy); opacity: .25; transform: rotate(45deg); border-radius: 2px; transition: all .3s; }
.projects-carousel .swiper-pagination-bullet-active { opacity: 1; background: var(--gold); width: 14px; height: 14px; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.gallery-item { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #e8ecf3; cursor: zoom-in; box-shadow: var(--shadow); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem; color: #fff; text-align: left; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(15, 26, 71, .85)); display: flex; flex-direction: column; }
.gallery-caption small { color: var(--gold-light); font-weight: 500; }

/* ---------- Lightbox ---------- */
.lightbox-content { background: transparent; border: 0; align-items: center; }
.lightbox-content .btn-close { position: absolute; top: -2.5rem; right: 0; opacity: 1; }
.lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox-caption { color: #fff; margin-top: 1rem; font-weight: 600; text-align: center; }
.modal-backdrop.show { opacity: .85; }

/* ---------- Offres ---------- */
.offer-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; position: relative; border-top: 4px solid var(--gold); transition: transform .3s, box-shadow .3s; }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.offer-badge { align-self: flex-start; background: var(--navy); color: var(--gold-light); font-weight: 700; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; padding: .35rem .9rem; border-radius: 30px; margin-bottom: 1rem; }
.offer-card h3 { font-size: 1.35rem; }
.offer-card p { color: var(--muted); }
.offer-date { font-size: .85rem; color: var(--teal) !important; font-weight: 600; }
.offer-chip { display: inline-block; background: rgba(197, 155, 62, .12); color: var(--navy); border: 1px solid var(--gold-light); border-radius: 30px; padding: .45rem 1rem; font-size: .9rem; }

/* ---------- Étapes ---------- */
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; height: 100%; transition: all .3s; overflow: hidden; }
.step:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.step-num { position: absolute; top: .6rem; right: 1rem; font-family: var(--font-title); font-size: 3rem; font-weight: 700; color: var(--soft); line-height: 1; }
.step-icon { font-size: 1.8rem; color: var(--teal); margin-bottom: 1rem; position: relative; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-cards li { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 12px; padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.contact-cards a, .contact-cards span:not(.cc-label):not(.cc-icon) { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-cards a:hover { color: var(--teal); }
.cc-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; }
.cc-whatsapp { background: #25d366; color: #fff; }
.cc-label { display: block; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.form-card { background: #fff; border-radius: 18px; padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.form-control, .form-select { border-color: var(--border); border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(17, 106, 123, .15); }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-floating > label { color: var(--muted); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map-wrap { line-height: 0; }
.map-placeholder { min-height: 380px; display: flex; align-items: center; justify-content: center; line-height: 1.6; padding: 2rem; color: #fff; background: linear-gradient(rgba(15, 26, 71, .88), rgba(15, 26, 71, .88)), url('../img/placeholders/hexagons.svg') center / cover; }
.map-placeholder iframe { width: 100%; height: 450px; border: 0; }
.map-placeholder.loaded { padding: 0; display: block; }

.sent-modal { border: 0; border-radius: 20px; text-align: center; padding: 2.5rem 2rem 2rem; }
.sent-icon { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; font-size: 2.2rem; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(17, 106, 123, .12); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- En-tête des pages internes ---------- */
.page-hero {
    --hero-img: url('../img/placeholders/zellige.svg');
    position: relative; padding: clamp(3rem, 8vw, 5.5rem) 0; color: #fff;
    background: linear-gradient(110deg, rgba(15, 26, 71, .95), rgba(26, 43, 109, .85) 55%, rgba(17, 106, 123, .8)), var(--hero-img) center / cover no-repeat;
}
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .8rem; }
.page-hero .lead { color: rgba(255, 255, 255, .88); max-width: 760px; font-size: 1.08rem; margin: 0; }
.page-hero .breadcrumb { margin-bottom: 1rem; font-size: .85rem; }
.page-hero .breadcrumb a { color: var(--gold-light); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255, 255, 255, .75); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }

/* ---------- Page service ---------- */
.features-box { background: var(--soft); border-radius: var(--radius); padding: 2rem; margin-top: 2.5rem; border-left: 5px solid var(--teal); }
.features-box .check-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.faq { margin-top: 2.5rem; }
.accordion-item { border: 1px solid var(--border); border-radius: 12px !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-button { font-family: var(--font-body); font-weight: 600; color: var(--navy); font-size: 1rem; }
.accordion-button:not(.collapsed) { background: var(--soft); color: var(--teal); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(17, 106, 123, .15); }
.sidebar-sticky { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.side-cta { background: linear-gradient(135deg, var(--navy), var(--teal)); color: rgba(255, 255, 255, .9); border: 0; }
.side-cta h2 { color: #fff; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid var(--border); }
.side-links a { display: block; padding: .7rem 0; color: var(--navy); font-weight: 600; text-decoration: none; }
.side-links a:hover { color: var(--teal); padding-left: .3rem; }
.side-links i { color: var(--gold); }
@media (max-width: 991.98px) { .sidebar-sticky { position: static; } }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy-dark), var(--navy) 60%, var(--teal)); color: rgba(255, 255, 255, .88); padding: 3rem 0; position: relative; }
.cta-band h2 { color: #fff; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); padding-top: 4.5rem; font-size: .93rem; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold)); }
.brand-footer { font-size: 1.9rem; }
.brand-footer .brand-1 { color: #fff; }
.brand-footer .brand-2 { color: #7fd0dc; }
.footer-tagline { color: var(--gold-light); text-transform: uppercase; letter-spacing: 2px; font-size: .75rem; font-weight: 600; }
.footer-title { color: #fff; font-size: 1.2rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .9rem; margin-bottom: .9rem; }
.footer-contact i { color: var(--gold); margin-top: .3rem; width: 16px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; color: #fff; text-decoration: none; transition: all .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3.5rem; padding: 1.3rem 0; font-size: .85rem; }
.footer-slogan { color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase; font-size: .75rem; }

/* ---------- Bouton « demi-fleur » des réseaux sociaux ---------- */
.social-flower { position: fixed; right: 21px; bottom: 86px; width: 54px; height: 54px; z-index: 1040; }
.flower-toggle { position: relative; z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 0; color: #fff; font-size: 1.2rem; background: linear-gradient(135deg, var(--gold), #d8b25c); box-shadow: 0 8px 22px rgba(197, 155, 62, .45); display: grid; place-items: center; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), background .3s; }
.flower-toggle::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(197, 155, 62, .5); animation: pulse 2.4s ease-out infinite; }
.flower-toggle i { position: absolute; transition: opacity .3s, transform .4s; }
.flower-toggle .icon-close { opacity: 0; transform: rotate(-90deg); }
.social-flower.open .flower-toggle { background: linear-gradient(135deg, var(--navy), var(--teal)); transform: rotate(180deg); }
.social-flower.open .flower-toggle::before { animation: none; opacity: 0; }
.social-flower.open .flower-toggle .icon-open { opacity: 0; transform: rotate(90deg); }
.social-flower.open .flower-toggle .icon-close { opacity: 1; transform: rotate(0); }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }

.flower-bg { position: absolute; z-index: 1; left: 50%; top: 50%; width: calc(var(--r) * 2 + 90px); height: calc(var(--r) * 2 + 90px); margin: calc((var(--r) * 2 + 90px) / -2) 0 0 calc((var(--r) * 2 + 90px) / -2); border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .97) 30%, rgba(243, 245, 250, .93) 70%, rgba(243, 245, 250, 0) 71%); transform: scale(0); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), opacity .3s; pointer-events: none; filter: drop-shadow(0 10px 25px rgba(15, 26, 71, .15)); }
.social-flower.open .flower-bg { transform: scale(1); opacity: 1; }

.flower-petals { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flower-petals li { position: absolute; left: 3px; top: 3px; width: 48px; height: 48px; transform: rotate(var(--a)) translateX(0) rotate(45deg) scale(.2); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; transition-delay: calc(var(--i) * 40ms); }
.social-flower.open .flower-petals { pointer-events: auto; }
.social-flower.open .flower-petals li { transform: rotate(var(--a)) translateX(var(--r)) rotate(45deg) scale(1); opacity: 1; }
.petal { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 1.15rem; border-radius: 50% 50% 50% 4px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); box-shadow: 0 6px 16px rgba(15, 26, 71, .3); transition: transform .25s, filter .25s; }
.petal i { transform: rotate(calc(-1 * var(--a) - 45deg)); }
.petal:hover, .petal:focus-visible { color: #fff; transform: scale(1.12); filter: brightness(1.12); }
.petal-facebook { background: linear-gradient(135deg, #1877f2, #0d5bc6); }
.petal-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.petal-tiktok { background: linear-gradient(135deg, #111, #333); }
.petal-linkedin { background: linear-gradient(135deg, #0a66c2, #084e96); }
.petal-youtube { background: linear-gradient(135deg, #ff0000, #c00); }
.petal-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.petal-phone { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.petal-mail { background: linear-gradient(135deg, var(--gold), #d8b25c); }

.back-to-top { position: fixed; right: 24px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 1039; box-shadow: 0 8px 20px rgba(15, 26, 71, .3); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .35s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); color: #fff; }
@media (max-width: 575.98px) {
    .social-flower { right: 13px; bottom: 76px; }
    .back-to-top { right: 16px; bottom: 16px; }
}

/* ---------- Divers ---------- */
.not-found .nf-code { font-family: var(--font-title); font-size: clamp(5rem, 15vw, 9rem); line-height: 1; color: var(--gold); margin-bottom: 0; }
.legal-text { max-width: 860px; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
