@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* Hero pages services: modifie ici les photos et cadrages */
:root {
    --font-body: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

    --hero-carrelage-image: url('images/gallery/carrelage-interieur-millau.webp');
    --hero-faience-image: url('images/gallery/salle-de-bain-apres-faience.webp');
    --hero-exterieur-image: url('images/gallery/carrelage-exterieur-finition.webp');
    --hero-zone-image: url('images/gallery/carrelage-interieur-millau.webp');
    --hero-carreleur-image: url('images/gallery/pose-carrelage-cuisine.webp');

    /* Desktop */
    --hero-carrelage-position: center 38%;
    --hero-faience-position: center 32%;
    --hero-exterieur-position: center 36%;
    --hero-zone-position: center 40%;
    --hero-carreleur-position: center 42%;

    /* Mobile (tu peux ajuster le cadrage avec X% Y%) */
    --hero-carrelage-position-mobile: center 40%;
    --hero-faience-position-mobile: center 30%;
    --hero-exterieur-position-mobile: center 42%;
    --hero-zone-position-mobile: center 38%;
    --hero-carreleur-position-mobile: center 44%;

    /* Boutons plein : bleu footer, aplats (sans dégradé) */
    --btn-action-bg: #2c3e50;
    --btn-action-bg-hover: #34495e;
    --btn-action-text: #ffffff;
    --btn-action-text-hover: #f8fafc;
    --btn-action-border: rgba(255, 255, 255, 0.22);
    --btn-action-shadow: rgba(30, 45, 61, 0.35);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* évite une bande sombre si le navigateur laisse un trou entre sections (vh / layers) */
    background-color: #ebe5dc;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #ebe5dc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Styles globaux pour les titres H3 */
h3 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70px;
}

.nav-container .nav-menu {
    margin: 0;
    padding: 0;
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.logo-nav-small {
    height: 30px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 30px;
    min-width: 30px;
}

.logo-nav-small:hover {
    transform: scale(1.05);
}

/* Forcer l'affichage permanent du logo */
.nav-logo .logo-nav-small {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Logo hero avec visibilité forcée */
.logo-hero-small {
    height: 70px;
    width: 70px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 auto 1rem;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.logo-hero-small:hover {
    transform: scale(1.05);
}

/* Forcer l'affichage permanent du logo hero */
.hero-logo .logo-hero-small {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 999 !important;
}

.logo-nav {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-nav:hover {
    transform: scale(1.05);
}

.logo-nav-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
    object-fit: contain;
    border-radius: 0;
    display: block;
    margin: 0 auto;
}

.logo-nav-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.logo-css {
    display: flex;
    align-items: center;
    height: 50px;
}

.diamond {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.diamond:hover {
    transform: rotate(45deg) scale(1.1);
}

.letters {
    color: white;
    font-weight: bold;
    font-size: 16px;
    transform: rotate(-45deg);
    font-family: var(--font-heading);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #b18a5a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b18a5a, #b86b4b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.45) 100%), url('images/gallery/salle-de-bain-apres-faience.webp');
    background-size: cover;
    background-position: center;
    /* scroll : fixed provoque souvent une bande vide/noire sous le hero (mobile Safari, etc.) */
    background-attachment: scroll;
    color: white;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.sub-hero {
    min-height: 60vh;
    padding: 100px 0 40px;
    background-attachment: scroll;
}

.hero-carrelage {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.44) 100%), var(--hero-carrelage-image);
    background-size: cover;
    background-position: var(--hero-carrelage-position);
}

.hero-faience {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.41) 100%), var(--hero-faience-image);
    background-size: cover;
    background-position: var(--hero-faience-position);
}

.hero-exterieur {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.4) 100%), var(--hero-exterieur-image);
    background-size: cover;
    background-position: var(--hero-exterieur-position);
}

.hero-zone-intervention {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.43) 100%), var(--hero-zone-image);
    background-size: cover;
    background-position: var(--hero-zone-position);
}

.hero-carreleur-millau {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.43) 100%), var(--hero-carreleur-image);
    background-size: cover;
    background-position: var(--hero-carreleur-position);
}

.intro-content--stack {
    display: block;
}

.intro-content--narrow {
    display: block;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content--center {
    display: block;
    text-align: center;
}

.intro-text--centered .intro-description {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.intro-title--spaced {
    margin-top: 3rem;
}

.page-prose-list {
    margin-left: 2em;
}

.page-prose-note {
    margin-top: 1.5rem;
}

.page-prose-indent {
    margin-top: 1.5rem;
    text-indent: 2em;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Carrousel dans le hero */
.hero-carousel {
    margin-top: 2rem;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    position: relative;
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.hero-carousel-slide {
    min-width: 100%;
    height: 260px;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 0;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.hero-carousel-dot.active {
    width: 28px;
    background: #b18a5a;
}

@media (max-width: 768px) {
    .hero-carousel {
        margin-top: 1.5rem;
        border-radius: 0;
    }

    .hero-carousel-slide {
        height: 190px;
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    color: white;
    padding: 12px 30px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(177, 138, 90, 0.3);
    opacity: 0;
    animation: slideInDown 0.5s ease-out 0.15s both;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideInUp 0.5s ease-out 0.5s both;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #e9ecef;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: slideInUp 0.5s ease-out 0.85s both;
}

.hero-subline {
    font-size: 1rem;
    font-weight: 400;
    color: #f1f3f5;
    max-width: 520px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: slideInUp 0.5s ease-out 1.2s both;
}

.hero-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.hero-tile-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 210px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
    color: #111111;
    text-align: center;
    transform: translateY(0) rotate(0deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    border-radius: 0;
}

.hero-tile-left,
.hero-tile-right {
    opacity: 0;
}

.hero-tile-left {
    animation: slideInLeft 0.5s ease-out 1.5s both;
}

.hero-tile-right {
    animation: slideInRight 0.5s ease-out 1.7s both;
}

.hero-tile-button:hover {
    background: #f8f9fa;
    border-color: #b18a5a;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
    transform: translateY(-4px);
}

.hero-tile-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
}

.hero-tile-detail {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.hero-tile-secondary {
    background: var(--btn-action-bg);
    color: var(--btn-action-text);
    border-color: var(--btn-action-border);
}

.hero-tile-secondary:hover {
    background: var(--btn-action-bg-hover);
    color: var(--btn-action-text-hover);
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-tile-button {
        width: 100%;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-hero {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-css-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.diamond-hero {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

.letters-hero {
    color: white;
    font-weight: bold;
    font-size: 28px;
    transform: rotate(-45deg);
    font-family: var(--font-heading);
}

.logo-text {
    color: #FF6B9D;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
    letter-spacing: 1px;
}

.logo-image-hero {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo-image-hero:hover {
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #f8f9fa;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #e9ecef;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--btn-action-bg);
    color: var(--btn-action-text);
    border: 1px solid var(--btn-action-border);
    box-shadow: 0 2px 10px var(--btn-action-shadow);
}

.btn-primary:hover {
    background: var(--btn-action-bg-hover);
    color: var(--btn-action-text-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px var(--btn-action-shadow);
}

.btn-secondary {
    background: transparent;
    color: #b86b4b;
    border: 2px solid #b86b4b;
}

.btn-secondary:hover {
    background: #b86b4b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.hero-image {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-logo-image {
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
    display: block;
    margin: 0 auto;
}

.hero-logo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Assurer que le logo est visible et centré */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .hero-logo-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-width: 100%;
    height: auto;
    min-height: 300px;
    margin: 0 auto;
}

/* Section Introduction */
.intro-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f5f0 0%, #e4ded3 100%);
    position: relative;
    overflow: visible;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%234ECDC4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.intro-text-shell {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.intro-text-marble {
    position: absolute;
    z-index: 0;
    top: -1.5rem;
    bottom: -1.5rem;
    left: -6%;
    right: -18%;
    border-radius: 24px;
    background-color: #5a5f63;
    background-image:
        linear-gradient(135deg, rgba(252, 250, 246, 0.88) 0%, rgba(236, 230, 220, 0.82) 45%, rgba(228, 222, 212, 0.78) 100%),
        url('images/intro-marble-bg.png');
    background-size: cover;
    background-position: center;
    box-shadow:
        0 22px 50px rgba(25, 30, 35, 0.2),
        0 2px 0 rgba(255, 255, 255, 0.35) inset;
    pointer-events: none;
}

.intro-text {
    animation: introTextFromLeft 0.8s ease-out forwards;
}

.intro-text-shell .intro-text {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.25rem 1.5rem 1.5rem;
}

@keyframes introTextFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.intro-image {
    position: relative;
    z-index: 2;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    max-width: 340px;
    width: 100%;
    justify-self: end;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-text-marble {
        left: -12px;
        right: -12px;
        top: -0.75rem;
        bottom: -0.75rem;
        border-radius: 18px;
    }

    .intro-text-shell .intro-text {
        padding: 1.25rem 0.75rem 1.25rem 1rem;
    }

    .intro-image {
        order: 2;
        justify-self: center;
        max-width: min(100%, 300px);
    }
}

.page-inline-photo {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

.intro-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #555555;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    border-radius: 0;
}

/* Titre d’intro centré : accent sous le titre, pas à gauche du bloc */
.intro-title.intro-title-centered {
    text-align: center;
}

.intro-title.intro-title-centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2.5rem;
}

.intro-block .intro-description {
    margin-bottom: 1.25rem;
}

.intro-services-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.65rem 0;
}

.intro-services-list {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #495057;
    margin: 0 0 2rem 0;
    padding-left: 1.35rem;
    list-style-type: disc;
}

.intro-services-list li {
    margin-bottom: 0.45rem;
}

.intro-services-list li:last-child {
    margin-bottom: 0;
}

.intro-services-list strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Liens dans le contenu: éviter le bleu navigateur par défaut */
.intro-text a:not(.btn),
.contact-item a:not(.btn),
.avis-card a:not(.btn) {
    color: #b18a5a;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    transition: color 0.2s ease;
}

.intro-text a:not(.btn):visited,
.contact-item a:not(.btn):visited,
.avis-card a:not(.btn):visited {
    color: #8c6b3f;
}

.intro-text a:not(.btn):hover,
.contact-item a:not(.btn):hover,
.avis-card a:not(.btn):hover {
    color: #b86b4b;
}

.intro-text a:not(.btn):focus-visible,
.contact-item a:not(.btn):focus-visible,
.avis-card a:not(.btn):focus-visible {
    outline: 2px solid rgba(177, 138, 90, 0.45);
    outline-offset: 2px;
}

.intro-engagement {
    background: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    border-left: 5px solid #b18a5a;
    position: relative;
    overflow: hidden;
}

.intro-engagement::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(214, 196, 172, 0.2), rgba(177, 138, 90, 0.15));
    border-radius: 0;
    transform: translate(30px, -30px);
}

.intro-engagement h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.intro-engagement p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.intro-engagement-contact {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.intro-cta {
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 15px 50px rgba(177, 138, 90, 0.3);
    position: relative;
    overflow: hidden;
}

.intro-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-emoji {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.cta-text {
    text-align: left;
}

.cta-text h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    color: #b18a5a;
    border: 2px solid white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-large:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Rendre le bouton d'appel bien visible sur fond blanc dans les CTA */
.page-cta .btn-secondary {
    background: transparent;
    color: #b86b4b;
    border: 2px solid #b86b4b;
    backdrop-filter: none;
}

.page-cta .btn-secondary:hover {
    background: #b86b4b;
    color: #ffffff;
    border-color: #b86b4b;
}

.cta-contact-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-contact-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.cta-contact-info i {
    margin-right: 0.5rem;
    color: #b18a5a;
}

/* Animations pour la section intro */
@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(0%) translateY(0%) rotate(180deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #b18a5a, #b86b4b);
    border-radius: 0;
}

/* Services */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f5f0 0%, #e4ded3 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #b86b4b;
}

.services-grid .service-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Règle alternative pour forcer l'effet de zoom */
.service-card {
    transition: all 0.3s ease !important;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(177, 138, 90, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Réalisations */
.realisations {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.realisations .container {
    position: relative;
    z-index: 2;
}

.realisations .section-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background: white;
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background: #f0f0f0;
    border-radius: 0;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2.5rem 2rem 2rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    color: #f8f9fa;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Domaines (Carrelage, Faïence, Extérieur) */
.domaines {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f7f5f0 100%);
}

.domaines-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.domaines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.domaine-card {
    display: block;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.domaine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.domaine-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #e4ded3 0%, #d6c4ac 100%);
}

.domaine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.domaine-card:hover .domaine-image img {
    transform: scale(1.12);
}

.domaine-content {
    padding: 1.5rem 1.25rem;
}

.domaine-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.35rem;
}

.domaine-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.domaine-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #b18a5a;
    transition: gap 0.25s ease;
}

.domaine-card:hover .domaine-link {
    gap: 0.6rem;
}

@media (max-width: 900px) {
    .domaines-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Avis */
.avis {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f5f0 0%, #f2e6da 100%);
}

/* Engagements */
.engagements {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f5f0 0%, #e4ded3 50%, #f2e6da 100%);
    position: relative;
    overflow: hidden;
}

.engagements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="french-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%234ECDC4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23french-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.engagements .container {
    position: relative;
    z-index: 2;
}

.engagements-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
    font-weight: 300;
    position: relative;
}

.engagements-subtitle::before,
.engagements-subtitle::after {
    content: '❦';
    color: #b18a5a;
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem 2rem;
    margin-bottom: 3rem;
    align-items: start;
    justify-items: center;
    width: 100%;
}

.engagement-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease, color 0.3s ease;
    border: none;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin: 0;
}

.engagement-card::before {
    content: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.engagement-icon {
    width: 128px;
    height: 128px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: none;
    position: relative;
    color: #2c3e50;
}

.engagement-doodle {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
}

.engagement-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    position: relative;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
}

.engagement-card h3::after {
    content: none;
}

.engagement-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    max-width: 240px;
    margin: 0 auto;
}

.engagements-footer {
    text-align: center;
    margin-top: 2rem;
}

.engagements-quote {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border: none;
}

.engagements-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #b18a5a;
    font-family: serif;
    line-height: 1;
}

.engagements-quote blockquote {
    margin: 0;
    font-size: 1.3rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.engagements-quote cite {
    color: #b18a5a;
    font-weight: 600;
    font-size: 1.1rem;
    font-style: normal;
    display: block;
    text-align: right;
    position: relative;
}

.engagements-quote cite::before {
    content: '—';
    margin-right: 0.5rem;
    color: #b86b4b;
    font-weight: bold;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.avis-card {
    background: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.avis-card:hover {
    transform: translateY(-5px);
}

.avis-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.avis-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.avis-author strong {
    color: #2c3e50;
    font-weight: 600;
}

.avis-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #b18a5a;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b18a5a;
    box-shadow: 0 0 0 3px rgba(177, 138, 90, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact « premium » (page dédiée + bloc #contact accueil) : intro + panneau clair */
.contact-premium.contact.contact-page-section {
    padding: 0 0 5rem;
}

.contact-page-intro {
    background: linear-gradient(180deg, #e8e6e1 0%, #dedad3 100%);
    padding: 3.25rem 0 2.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.contact-page-intro-inner {
    max-width: 640px;
    margin: 0 auto;
}

.contact-page-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.contact-page-lead {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    line-height: 1.65;
    color: #4a5568;
    margin: 0 auto;
    max-width: 34em;
}

.contact-page-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-page-divider-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: rgba(44, 62, 80, 0.2);
}

.contact-page-divider-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.contact-page-divider-mark img {
    display: block;
}

.contact-page-panel {
    background: linear-gradient(180deg, #ebe8e2 0%, #f6f4f0 55%, #faf9f7 100%);
    padding: 3.5rem 0 4rem;
    border-top: 1px solid rgba(44, 62, 80, 0.07);
}

.contact-premium .contact-page-grid {
    margin-bottom: 0;
    align-items: start;
}

.contact-premium .contact-page-info .contact-item {
    margin-bottom: 1.75rem;
}

.contact-premium .contact-page-info .contact-item:last-child {
    margin-bottom: 0;
}

.contact-premium .contact-page-info .contact-item i {
    color: rgba(177, 138, 90, 0.85);
    font-size: 1.15rem;
    margin-top: 0.35rem;
    font-weight: 300;
}

.contact-premium .contact-page-info .contact-item h3 {
    color: #2c3e50;
    font-weight: 500;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.contact-premium .contact-page-info .contact-item p {
    color: #5a6570;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.contact-premium .contact-page-info .contact-item a {
    color: #6b5538;
    text-decoration: none;
    border-bottom: 1px solid rgba(177, 138, 90, 0.45);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-premium .contact-page-info .contact-item a:hover {
    color: #4a3d28;
    border-color: rgba(177, 138, 90, 0.85);
}

.contact-premium .contact-page-form {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

.contact-premium .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-premium .form-group-field {
    position: relative;
    margin-bottom: 1rem;
}

.contact-premium .form-group-field .field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(44, 62, 80, 0.38);
    font-size: 0.88rem;
    pointer-events: none;
    z-index: 1;
}

.contact-premium .form-group-field-message .field-icon-message {
    top: 1.15rem;
    transform: none;
}

.contact-premium .form-group-field input,
.contact-premium .form-group-field select,
.contact-premium .form-group-field textarea {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.65rem;
    min-height: 2.75rem;
    border: 1px solid #e0dcd4;
    border-radius: 8px;
    background: transparent;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-premium .form-group-field textarea {
    min-height: 8.5rem;
    resize: vertical;
    padding-top: 0.85rem;
    line-height: 1.55;
}

.contact-premium .form-group-field input::placeholder,
.contact-premium .form-group-field textarea::placeholder {
    color: #8a9199;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.contact-premium .form-group-field select {
    cursor: pointer;
    appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232c3e50' fill-opacity='0.45' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    color: #2c3e50;
}

.contact-premium .form-group-field select option {
    background: #faf9f7;
    color: #2c3e50;
}

.contact-premium .form-group-field input:focus,
.contact-premium .form-group-field select:focus,
.contact-premium .form-group-field textarea:focus {
    outline: none;
    border-color: rgba(177, 138, 90, 0.75);
    background: transparent;
    box-shadow: 0 0 0 3px rgba(177, 138, 90, 0.12);
}

.contact-premium .form-group-field input:-webkit-autofill,
.contact-premium .form-group-field input:-webkit-autofill:hover,
.contact-premium .form-group-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #2c3e50;
    transition: background-color 9999s ease-out;
    box-shadow: 0 0 0 1000px #faf9f7 inset;
    border: 1px solid #e0dcd4;
}

.contact-premium .form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}

.contact-premium .form-row-split .form-group-field {
    margin-bottom: 1rem;
}

.contact-premium .contact-page-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
    transform: none;
    box-shadow: 0 2px 10px var(--btn-action-shadow);
}

.contact-premium .contact-page-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px var(--btn-action-shadow);
}

.contact-premium .contact-page-form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #5a6570;
    min-height: 1.25em;
}

@media (max-width: 768px) {
    .contact-premium .form-row-split {
        grid-template-columns: 1fr;
    }

    .contact-premium .contact-page-form {
        margin-top: 0.5rem;
        padding: 0;
    }

    .contact-page-intro {
        padding: 2.5rem 0 2.25rem;
    }
}


/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #b18a5a;
}

.footer-logo h3 {
    color: #b18a5a;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.footer-logo {
    margin-bottom: 1rem;
}

.logo-footer {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.logo-footer:hover {
    opacity: 1;
}

.logo-footer-image {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
    object-fit: contain;
    border-radius: 0;
    display: block;
    margin: 0 auto;
}

.logo-footer-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.logo-css-footer {
    display: flex;
    align-items: center;
    height: 60px;
}

.diamond-footer {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.diamond-footer:hover {
    transform: rotate(45deg) scale(1.1);
}

.letters-footer {
    color: white;
    font-weight: bold;
    font-size: 18px;
    transform: rotate(-45deg);
    font-family: var(--font-heading);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #b18a5a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-carrelage {
        background-position: var(--hero-carrelage-position-mobile);
    }

    .hero-faience {
        background-position: var(--hero-faience-position-mobile);
    }

    .hero-exterieur {
        background-position: var(--hero-exterieur-position-mobile);
    }

    .hero-zone-intervention {
        background-position: var(--hero-zone-position-mobile);
    }

    .hero-carreleur-millau {
        background-position: var(--hero-carreleur-position-mobile);
    }

    .nav-container {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        min-height: 60px;
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        color: #333;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 10px 25px;
    }

    .intro-title {
        font-size: 1.4rem;
    }

    .intro-description {
        font-size: 1.1rem;
    }

    .intro-services-heading {
        font-size: 1.05rem;
    }

    .intro-services-list {
        font-size: 1rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cta-text {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .gallery,
    .avis-grid,
    .engagements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .engagement-card {
        padding: 2rem;
    }

    .engagements-quote {
        padding: 2rem;
    }

    .engagements-quote blockquote {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-badge {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .intro-title {
        font-size: 1.2rem;
    }

    .intro-description {
        font-size: 1rem;
    }

    .intro-services-heading {
        font-size: 1rem;
    }

    .intro-services-list {
        font-size: 0.95rem;
        padding-left: 1.15rem;
    }

    .intro-engagement {
        padding: 1.5rem;
    }

    .intro-engagement h3 {
        font-size: 1.3rem;
    }

    .intro-engagement p {
        font-size: 1rem;
    }

    .intro-cta {
        padding: 2rem;
    }

    .cta-text h4 {
        font-size: 1.2rem;
    }

    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .engagement-card {
        padding: 1.5rem;
    }

    .engagement-icon {
        width: 112px;
        height: 112px;
    }

    .engagements-quote {
        padding: 1.5rem;
    }

    .engagements-quote blockquote {
        font-size: 1rem;
    }

    .engagements-subtitle {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.avis-card,
.engagement-card {
    animation: fadeInUp 0.6s ease forwards;
}


/* Bouton téléphone flottant */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: phonePulse 2s infinite;
}

.phone-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--btn-action-bg);
    color: var(--btn-action-text);
    border-radius: 0;
    text-decoration: none;
    border: 1px solid var(--btn-action-border);
    box-shadow: 0 4px 18px var(--btn-action-shadow);
    transition: all 0.3s ease;
    font-size: 24px;
}

.phone-button:hover {
    background: var(--btn-action-bg-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 22px var(--btn-action-shadow);
    color: var(--btn-action-text-hover);
    text-decoration: none;
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 4px 18px var(--btn-action-shadow);
    }
    50% {
        box-shadow: 0 4px 18px var(--btn-action-shadow), 0 0 0 10px rgba(44, 62, 80, 0.12);
    }
    100% {
        box-shadow: 0 4px 18px var(--btn-action-shadow);
    }
}

/* Responsive pour le bouton téléphone */
@media (max-width: 768px) {
    .floating-phone {
        bottom: 20px;
        right: 20px;
    }
    
    .phone-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Bloc CTA en fin de page (services, etc.) */
.page-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cta h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.page-cta .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .page-cta {
        padding: 2rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Badges marketing pour les types de carrelage (page carreleur Millau) */
.services-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(177, 138, 90, 0.25);
}

.service-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6c4ac, #b18a5a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.service-badge-title {
    font-weight: 600;
    font-size: 0.96rem;
    color: #2c3e50;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-badge-subtitle {
    font-size: 0.8rem;
    color: #777;
}

@media (max-width: 600px) {
    .services-badges {
        grid-template-columns: 1fr;
    }

    .service-badge {
        border-radius: 12px;
    }
}

/* Carte visuelle des communes (page carreleur Millau) */
.communes-map {
    position: relative;
    margin-top: 1.5rem;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.communes-map-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(177, 138, 90, 0.12), transparent 55%),
                radial-gradient(circle at 80% 70%, rgba(184, 107, 75, 0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.communes-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    z-index: 1;
}

.commune-card {
    position: relative;
    padding: 0.9rem 1rem 0.8rem 2.4rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0;
    border-left: 3px solid #b18a5a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.commune-dot {
    position: absolute;
    left: 0.85rem;
    top: 1.05rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b18a5a;
    box-shadow: 0 0 0 6px rgba(177, 138, 90, 0.25);
}

.commune-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.98rem;
}

.commune-tag {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .communes-map {
        padding: 1.8rem 1.2rem;
    }

    .communes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Galerie et Carrousel */
.gallery-page {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f7f5f0 0%, #e4ded3 100%);
    min-height: 100vh;
}

.gallery-header {
    text-align: left;
    margin-bottom: 3rem;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Bandeau carrousel sous-texte sur les pages de service */
.carousel-strip {
    padding: 40px 0 20px;
    background: #f8f9fa;
}

.carousel-strip .carousel-container {
    max-width: 1200px;
}

/* Section mosaïque */
.mosaic-section {
    padding: 40px 0 80px;
    background: #ffffff;
}

.mosaic-section .section-title {
    text-align: left;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mosaic-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mosaic-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.mosaic-item:hover::after {
    opacity: 1;
}

/* Lightbox pour affichage plein écran */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}

@media (min-width: 769px) {
    /* Limite l'upscale en desktop pour garder un aperçu net */
    .lightbox-content {
        max-width: min(82vw, 1100px);
        max-height: min(82vh, 760px);
    }

    .lightbox-img {
        max-width: min(82vw, 1100px);
        max-height: min(82vh, 760px);
    }
}

.lightbox-hitbox {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18%;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.lightbox-hitbox-left {
    left: 0;
}

.lightbox-hitbox-right {
    right: 0;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    padding: 0.2rem 0.5rem;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Filtres */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #b18a5a;
    background: transparent;
    color: #b18a5a;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #b18a5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(177, 138, 90, 0.3);
}

/* Carrousel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

/* Pages Carrelage / Faience / Exterieur: ratio plus doux en desktop */
.carousel-strip .carousel-wrapper {
    aspect-ratio: 4 / 3;
}

/* Ajustement desktop: carrousel plus compact sur pages services */
@media (min-width: 769px) {
    .carousel-strip .carousel-container {
        max-width: 900px;
    }

    .carousel-strip .carousel-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 520px;
    }

    .carousel-strip .slide-info {
        padding: 1.25rem 1rem 1rem;
    }

    .carousel-strip .slide-info h3 {
        font-size: 1.2rem;
    }

    .carousel-strip .slide-info p {
        font-size: 0.95rem;
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-info p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contrôles du carrousel */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: #2c3e50;
}

.carousel-btn svg {
    color: #2c3e50;
    fill: currentColor;
}

/* Indicateurs */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(177, 138, 90, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #b18a5a;
    transform: scale(1.2);
}

/* Miniatures */
.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem;
    font-size: 0.8rem;
    text-align: center;
}

/* Icône d'expansion sur les images de la galerie */
.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(177, 138, 90, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-icon i {
    color: white;
    font-size: 1.2rem;
}

/* Grille de projets (galerie) */
.gallery-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.gallery-project-card {
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
    outline: none;
}

.gallery-project-card:hover,
.gallery-project-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.gallery-project-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(177, 138, 90, 0.45);
}

.gallery-project-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e4ded3 0%, #d6c4ac 100%);
    overflow: hidden;
}

.gallery-project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-project-card:hover .gallery-project-card-image img {
    transform: scale(1.05);
}

.gallery-project-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    letter-spacing: 0.02em;
}

.gallery-project-card-body {
    padding: 1.25rem 1.2rem 1.4rem;
}

.gallery-project-card-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.gallery-project-card-desc {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0.75rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-project-card-hint {
    font-size: 0.9rem;
    font-weight: 600;
    color: #b18a5a;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Modale projet */
.project-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1900;
    background: rgba(20, 24, 28, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.project-gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
}

body.project-modal-open {
    overflow: hidden;
}

.project-gallery-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    background: linear-gradient(135deg, #f7f5f0 0%, #e4ded3 100%);
    padding: 2rem 1.5rem 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.project-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}

.project-modal-close:hover {
    background: #000;
}

.project-modal-heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 3rem 0.5rem 0;
    padding-right: 0.5rem;
}

.project-modal-lead {
    font-size: 1rem;
    color: #555;
    margin: 0 0 1.25rem;
    line-height: 1.5;
    max-width: 52em;
}

.project-gallery-modal .carousel-container {
    margin-bottom: 1.25rem;
}

.project-modal-thumbs {
    margin-bottom: 0;
}

/* Responsive pour la galerie */
@media (max-width: 768px) {
    .gallery-page {
        padding: 100px 0 60px;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .carousel-wrapper {
        aspect-ratio: auto;
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .slide-info {
        padding: 1rem;
    }
    
    .slide-info h3 {
        font-size: 1.2rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
    }

    .gallery-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .project-gallery-modal-inner {
        padding: 1.5rem 1rem 1.5rem;
    }

    .project-modal-heading {
        font-size: 1.35rem;
        margin-right: 2.5rem;
    }
}

/* Pages légales (politique de confidentialité, etc.) */
.legal-page-main {
    padding-top: 100px;
    min-height: 100vh;
    background: #f8f9fa;
}

.legal-page-inner {
    padding: 3rem 0 4rem;
}

.legal-page-header {
    background: #fff;
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-page-header h1 {
    color: #2c3e50;
    text-align: center;
    margin: 0 0 1.25rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-page-lead {
    color: #555;
    line-height: 1.75;
    max-width: 50em;
    margin: 0 auto 1rem;
    text-align: center;
}

.legal-page-meta {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

.legal-page-body {
    background: #fff;
    padding: 2.5rem 2rem 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    color: #555;
    line-height: 1.8;
}

.legal-page-body h2 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin: 2.25rem 0 1rem;
    padding-top: 0.5rem;
    scroll-margin-top: 6rem;
}

.legal-page-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.legal-page-body h3 {
    color: #34495e;
    font-size: 1.05rem;
    margin: 1.5rem 0 0.65rem;
}

.legal-page-body p,
.legal-page-body li {
    margin: 0 0 0.85rem;
}

.legal-page-body ul {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.legal-page-body a {
    color: #2c3e50;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page-body a:hover {
    color: #1a252f;
}

.legal-page-last-updated {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
}

.legal-page-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.legal-page-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 280px;
}

.legal-page-table th,
.legal-page-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.legal-page-table th {
    background: #f1f3f5;
    color: #2c3e50;
    font-weight: 600;
}

.legal-page-table td:first-child {
    width: 38%;
}

@media (max-width: 640px) {
    .legal-page-table td:first-child {
        width: auto;
    }

    .legal-page-inner {
        padding: 2rem 0 3rem;
    }

    .legal-page-header,
    .legal-page-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
