@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:ital,wght@0,400;0,700;1,400&family=Inter:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #FFE604;
    --primary-dark: #FFE604;
    --accent: #FFE604;
    --text: #e8e8e8;
    --text-light: #888888;
    --bg: #0a0a0a;
    --bg-alt: #141414;
    --white: #ffffff;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1100px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .likeH1, .likeH2 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   BACKGROUND ANIMATED SHAPES
======================================== */
#bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-shape-outer {
    position: absolute;
    will-change: transform;
    transition: transform 0.1s linear;
}

.bg-shape {
    will-change: transform;
}

.shape-circle {
    border-radius: 50%;
    border: 1.5px solid rgba(254, 237, 2, 0.12);
}

.shape-circle-glow {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 237, 2, 0.07) 0%, transparent 70%);
}

.shape-square {
    border: 1.5px solid rgba(254, 237, 2, 0.09);
}

.shape-hex {
    background: rgba(254, 237, 2, 0.05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-dot {
    border-radius: 50%;
    background: rgba(254, 237, 2, 0.3);
}

.shape-ring {
    border-radius: 50%;
    border: 3px solid rgba(254, 237, 2, 0.06);
}

.shape-cross {
    position: relative;
}

.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: rgba(254, 237, 2, 0.12);
    border-radius: 2px;
}

.shape-cross::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.shape-cross::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(254, 237, 2, 0.06);
}

/* Float keyframes */
@keyframes bgFloat1 {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-28px) rotate(10deg); }
    100% { transform: translateY(-6px) rotate(-4deg); }
}

@keyframes bgFloat2 {
    0%   { transform: translateY(0px) scale(1) rotate(0deg); }
    50%  { transform: translateY(-22px) scale(1.06) rotate(-14deg); }
    100% { transform: translateY(-8px) scale(0.97) rotate(6deg); }
}

@keyframes bgFloat3 {
    0%   { transform: translateY(0px) rotate(45deg); }
    50%  { transform: translateY(-32px) rotate(68deg); }
    100% { transform: translateY(-10px) rotate(38deg); }
}

@keyframes bgFloat4 {
    0%   { transform: scale(1) rotate(0deg); }
    33%  { transform: scale(1.09) rotate(12deg); }
    66%  { transform: scale(0.94) rotate(-9deg); }
    100% { transform: scale(1.03) rotate(5deg); }
}

@keyframes bgFloat5 {
    0%   { transform: translateY(0px) translateX(0px); }
    25%  { transform: translateY(-18px) translateX(12px); }
    75%  { transform: translateY(-28px) translateX(-12px); }
    100% { transform: translateY(-7px) translateX(5px); }
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50%       { opacity: 0.10; transform: scale(1.12); }
}

@keyframes bgSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ========================================
   HEADER
======================================== */
header.site-header {
    height: var(--header-height);
    background: transparent;
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-bottom 0.4s ease;
}

header.site-header.scrolled {
    position: fixed;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 0 rgba(254, 237, 2, 0.4);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 100px;
    width: auto;
    position:absolute;
    top:10px
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav.main-nav ul li a {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 4px;
}

nav.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav.main-nav ul li a:hover {
    color: var(--primary);
}

nav.main-nav ul li a:hover::after {
    width: 100%;
}

/* Sous-menus (desktop) : masques par defaut, visibles au survol de la rubrique parente */
nav.main-nav ul li {
    position: relative;
}

nav.main-nav ul li.has-submenu > .submenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav.main-nav ul li.has-submenu:hover > .submenu,
nav.main-nav ul li.has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 237, 2, 0.15);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    z-index: 1010;
}

.submenu li a {
    display: block;
    padding: 10px 22px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
}

.submenu li a::after {
    display: none;
}

.submenu li a:hover {
    background: rgba(254, 237, 2, 0.08);
    color: var(--primary) !important;
}

.submenu-arrow {
    font-size: 0.65rem;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

nav.main-nav ul li.has-submenu:hover .submenu-arrow {
    transform: rotate(180deg);
}

.submenu-toggle {
    display: none;
}

/* Menu toggle mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle i {
    font-size: 1.4rem;
    color: var(--text);
}

/* ========================================
   HERO
======================================== */
.hero {
    height: 88vh;
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    z-index: 1;
}
/* Hero "plein cadre" genere par le CMS sur les pages automatiques
   (actualites.html liste et detail, etc.) : markup .hero-media / .hero-bg-img /
   .hero-content, independant du design du hero utilise sur les autres pages.
   Sans ces regles l'image s'affiche a sa taille native, collee en haut a
   gauche du hero. */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img,
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    color: var(--white);
}


.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(10, 8, 0, 0.35) 100%
    );
    z-index: 1;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
    max-width: 700px;
}

.hero .likeH1 {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    display: block;
    margin-bottom: 20px;
    animation: heroFadeIn 0.9s ease forwards;
    opacity: 0;
    letter-spacing: -1px;
}

/* Note Google (etoiles + nb d'avis) injectee par le CMS dans le hero via {{NOTE}} */
.hero .note {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 4px;
    animation: heroFadeIn 0.9s ease 0.15s forwards;
    opacity: 0;
}

.hero .note-stars {
    font-size: 1.2em; /* etoiles legerement agrandies par rapport au texte du nombre d'avis */
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.85;
    font-weight: 300;
    animation: heroFadeIn 0.9s ease 0.25s forwards;
    opacity: 0;
    max-width: 500px;
}

.hero-accent {
    color: var(--primary);
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   CONTENT AREA
======================================== */
.content-area {
    background: var(--bg);
}

/* Rattrapage header fixe/absolu sur les pages sans hero (IMAGE_MAIN vide) : actualites.html (liste et detail), et toute page sans image principale. Sans ce correctif, le contenu qui suit directement le header dans le DOM passe sous celui-ci (texte masque). Le selecteur `+` ne cible que le cas ou l'element suit directement le header (pas de hero entre les deux). */
header.site-header + .content-area,
header.site-header + .phone-section {
    padding-top: calc(var(--header-height) + 64px);
}


.content-area h1 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 40px;
    text-align: center;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.content-area h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 14px auto 0;
}

.html-content {
    font-size: 1.05rem;
    color: var(--text);
    margin: 0 auto;
}

.html-content p {
    margin-bottom: 20px;
}

.html-content a {
    color: var(--primary);
    border-bottom: 1px solid rgba(254, 237, 2, 0.3);
}

.html-content a:hover {
    border-bottom-color: var(--primary);
}

.html-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
    display: block;
    border: 1px solid rgba(254, 237, 2, 0.1);
}

.html-content ul,
.html-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
    color: var(--text);
}

.html-content li {
    margin-bottom: 10px;
}

/* Tables */
.html-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(254, 237, 2, 0.1);
}

.html-content th {
    background: var(--primary);
    color: #0a0a0a;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: left;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.html-content td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.html-content tr:last-child td { border-bottom: none; }
.html-content tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.html-content tr:hover { background: rgba(254, 237, 2, 0.04); }

/* ========================================
   GALLERY
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(254, 237, 2, 0.08);
    background: var(--bg-alt);
    transition: all 0.35s ease;
    height: 240px;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(254, 237, 2, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(254, 237, 2, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover {
    border-color: rgba(254, 237, 2, 0.3);
    box-shadow: 0 8px 30px rgba(254, 237, 2, 0.1);
    transform: translateY(-4px);
}

.gallery-item:hover img { transform: scale(1.06); }

/* ========================================
   SERVICES
======================================== */
.services-section-public {
    padding: 90px 0;
    background: var(--bg-alt);
}

.services-section-public > .container > h2,
.services-section-public > .container > .likeH2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 50px;
    display: block;
}

.services-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.service-public-card {
    background: var(--bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(254, 237, 2, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.service-public-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(254, 237, 2, 0.12);
    border-color: rgba(254, 237, 2, 0.35);
}

.service-public-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.service-public-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.service-public-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-public-card:hover .service-public-img img { transform: scale(1.06); }

.service-public-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-left: 3px solid rgba(254, 237, 2, 0.2);
    transition: border-color 0.35s ease;
}

.service-public-card:hover .service-public-body {
    border-left-color: var(--primary);
}

.service-public-body h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.service-public-body p {
    font-size: 0.93rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.65;
    flex-grow: 1;
}

.service-public-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-from {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.btn-service {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-service::after {
    content: '→';
    transition: transform 0.2s ease;
}

.btn-service:hover::after { transform: translateX(4px); }

/* Service gallery button */
.btn-gallery-service {
    background: rgba(254, 237, 2, 0.06);
    border: 1px solid rgba(254, 237, 2, 0.2);
    color: var(--text-light);
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s;
    width: fit-content;
}

.btn-gallery-service:hover {
    background: rgba(254, 237, 2, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   AVIS / REVIEWS
======================================== */
.google-reviews-section {
    padding: 80px 0;
    background: var(--bg);
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header h2,
.reviews-header .likeH2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.rating-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.rating-summary .stars { color: var(--primary); font-size: 1.1rem; }
.rating-summary .count { color: var(--text-light); font-weight: 500; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--bg-alt);
    padding: 26px;
    border-radius: 8px;
    border: 1px solid rgba(254, 237, 2, 0.07);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 237, 2, 0.25);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.author-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(254, 237, 2, 0.2);
}

.review-stars { color: var(--primary); font-size: 0.85rem; margin-top: 2px; }

.review-text {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

/* ========================================
   REASSURANCE
======================================== */
.reassurance-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.reassurance-section .likeH2,
.reassurance-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 50px;
    display: block;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reassurance-card {
    background: var(--bg);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(254, 237, 2, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.reassurance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(254, 237, 2, 0.12);
    border-color: rgba(254, 237, 2, 0.35);
}

.reassurance-visuel-wrapper {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(254, 237, 2, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(254, 237, 2, 0.2);
    transition: background 0.35s ease, transform 0.35s ease;
}

.reassurance-card:hover .reassurance-visuel-wrapper {
    background: rgba(254, 237, 2, 0.16);
    transform: scale(1.08);
}

.reassurance-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.reassurance-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.reassurance-card-title {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.reassurance-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .reassurance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .reassurance-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ========================================
   BLOG / ACTUALITES
======================================== */
.blog-posts-list,
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 40px 0;
}

.blog-post-card {
    background: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(254, 237, 2, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(254, 237, 2, 0.12);
    border-color: rgba(254, 237, 2, 0.35);
}

.blog-post-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-post-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-alt), transparent);
}

.blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-post-card:hover .blog-post-img img {
    transform: scale(1.06);
}

.blog-post-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 3px solid rgba(254, 237, 2, 0.2);
    transition: border-color 0.35s ease;
}

.blog-post-card:hover .blog-post-body {
    border-left-color: var(--primary);
}

.blog-post-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-card h3 {
    font-size: 1.15rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.blog-post-card h3 a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post-card h3 a:hover {
    color: var(--primary);
}

.blog-post-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    text-decoration: none;
    margin-top: 6px;
    align-self: flex-start;
    transition: color 0.2s ease, gap 0.2s ease;
}

.btn-read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* Detail d'un article */
.blog-post-detail-img {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.blog-post-detail-img img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.blog-post-detail-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(254, 237, 2, 0.1);
    padding-bottom: 15px;
}

.blog-post-detail-meta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.blog-post-detail-meta a:hover {
    text-decoration: underline;
}

.blog-post-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-post-detail-content p {
    margin-bottom: 20px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0 10px;
}

.blog-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid rgba(254, 237, 2, 0.15);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.blog-pagination .page-link:hover,
.blog-pagination .page-link.active {
    background: var(--primary);
    color: #0a0a0a;
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .blog-posts-list,
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-posts-list,
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-post-img { height: 180px; }
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: var(--primary);
    color: #0a0a0a;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.cta-section h2,
.cta-section .likeH2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    display: block;
    color: #0a0a0a;
    font-family: var(--font-heading);
}

.cta-paragraph {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(10, 10, 10, 0.75);
}

/* ========================================
   TELEPHONE (section CMS {{CONTACT_TELEPHONE}})
======================================== */
.phone-section {
    padding: 34px 0;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    border-top: 1px solid rgba(254, 237, 2, 0.08);
    border-bottom: 1px solid rgba(254, 237, 2, 0.08);
    position: relative;
    z-index: 2;
}

.phone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    text-align: center;
}

.phone-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 400;
}

.phone-text strong {
    color: var(--white);
    font-weight: 600;
}

.phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(254, 237, 2, 0.1);
    border: 1px solid rgba(254, 237, 2, 0.25);
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #0a0a0a !important;
    padding: 13px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-btn:hover {
    background: transparent;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 237, 2, 0.15);
}

.phone-btn i {
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .phone-section { padding: 26px 0; }
    .phone-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    .phone-text {
        font-size: 0.95rem;
        justify-content: center;
    }
    .phone-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 14px 38px;
    background: #0a0a0a;
    color: var(--primary);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    border: 2px solid #0a0a0a;
}

.btn:hover {
    background: transparent;
    color: #0a0a0a;
    border-color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Btn variant pour zones sombres */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #0a0a0a;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 50px;
    font-family: var(--font-heading);
    display: block;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid rgba(254, 237, 2, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(254, 237, 2, 0.25);
}

.faq-item.open {
    border-color: rgba(254, 237, 2, 0.35);
    box-shadow: 0 10px 30px rgba(254, 237, 2, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
    font-family: var(--font-heading);
    transition: color 0.2s ease;
    margin: 0;
}

.faq-question:hover,
.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-question span {
    line-height: 1.4;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 22px;
    border-top: 1px solid rgba(254, 237, 2, 0.08);
}

.faq-answer p {
    margin: 18px 0 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .faq-section { padding: 60px 0; }
    .faq-title { font-size: 1.8rem; margin-bottom: 40px; }
    .faq-question { padding: 16px 18px; font-size: 0.98rem; }
    .faq-answer { padding: 0 18px; }
    .faq-item.open .faq-answer { padding: 0 18px 18px; }
}

/* ========================================
   FOOTER
======================================== */
footer.site-footer {
    background: #060606;
    color: var(--text-light);
    padding: 70px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(254, 237, 2, 0.15);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 22px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.footer-col p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.footer-col a {
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-col i {
    color: var(--primary);
    margin-right: 8px;
    width: 16px;
}

.copyright {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
}

.copyright a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

.copyright a:hover { color: var(--primary); }

/* ========================================
   CONTACT PAGE
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 28px;
    color: var(--white);
    font-size: 1.8rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 40px;
}

.contact-details li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
}

.contact-details i {
    color: var(--primary);
    width: 20px;
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(254, 237, 2, 0.1);
}

.contact-form h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-heading);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(254, 237, 2, 0.03);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.contact-form textarea { height: 150px; resize: vertical; }

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    background: var(--primary);
    color: #0a0a0a;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.contact-form .btn:hover {
    background: #e8d400;
    color: #0a0a0a;
    border-color: #e8d400;
}

/* ========================================
   LIGHTBOX
======================================== */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

#lightbox-overlay.active #lightbox-img { transform: scale(1); }

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(254, 237, 2, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 25px; right: 35px;
    color: var(--primary);
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 0.7; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(254, 237, 2, 0.08);
    border: 1px solid rgba(254, 237, 2, 0.2);
    color: var(--primary);
    font-size: 1.4rem;
    padding: 0;
    cursor: pointer;
    z-index: 2001;
    border-radius: 4px;
    width: 56px; height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(254, 237, 2, 0.18); }
.lightbox-prev { left: 35px; }
.lightbox-next { right: 35px; }

.lightbox-img-container {
    max-width: 80%;
    max-height: 85%;
    text-align: center;
    position: relative;
}

#lightbox-caption {
    color: var(--text-light);
    margin-top: 14px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .hero .likeH1 { font-size: 2.6rem; }
    .likeH1 { display: none !important; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 28px 22px; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
    .gallery-item { height: 180px; }

    .reviews-grid { grid-template-columns: 1fr; }
    .services-public-grid { grid-template-columns: 1fr; }

    .menu-toggle { display: block; }

    nav.main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 40px;
        border-left: 1px solid rgba(254, 237, 2, 0.15);
    }

    nav.main-nav.active { right: 0; }

    nav.main-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    nav.main-nav ul li a {
        font-size: 1.15rem;
        color: var(--text) !important;
    }

    /* Sous-menus (mobile) : replies par defaut, ouverts au toucher sur le chevron
       (classe .open posee par le JS du menu). Les selecteurs sont aussi specifiques
       que la regle desktop (nav.main-nav ul li.has-submenu > .submenu) pour la battre. */
    nav.main-nav ul li.has-submenu {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    nav.main-nav ul li.has-submenu > a {
        flex: 1 1 auto;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: -10px -8px -10px 0;
        background: none;
        border: none;
        color: var(--primary);
        font-size: 0.9rem;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .submenu-toggle i {
        transition: transform 0.3s ease;
    }

    .submenu-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    nav.main-nav ul li.has-submenu > .submenu,
    nav.main-nav ul li.has-submenu:hover > .submenu,
    nav.main-nav ul li.has-submenu:focus-within > .submenu {
        position: static;
        flex: 0 0 100%;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: max-height 0.35s ease, padding 0.35s ease;
        box-shadow: none;
        border: none;
        background: transparent;
        backdrop-filter: none;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 14px !important;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 18px;
    }

    nav.main-nav ul li.has-submenu > .submenu.open {
        max-height: 600px;
        padding: 14px 0 6px 18px;
    }

    .submenu li a {
        color: rgba(255, 255, 255, 0.65) !important;
        font-size: 1rem !important;
        padding: 4px 0;
    }

    .submenu li a:hover {
        color: var(--primary) !important;
        background: transparent;
    }

    .submenu-arrow {
        display: none;
    }

    .lightbox-nav { width: 44px; height: 44px; font-size: 1rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 20px; }

    section { padding: 60px 0; }

    .cta-section .container { padding: 0 20px; }

    /* Réduire les formes de fond sur mobile */
    #bg-shapes { opacity: 0.6; }
}
