/* ========================================
   BENJAMIN ANTENAT - STYLES GLOBAUX
   ======================================== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --black: #0A0A0A;
    --white: #FFFFFF;
    --grey-light: #F5F5F7;
    --grey-dark: #1D1D1F;
    --copper: #B87333;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--grey-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}
a{
    outline: none;
}
p{
    font-size: 14pt !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}
li{
    font-size: 12pt !important;
    font-weight: 600;
}
/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}
nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s;
    z-index: 1002;
    font-family: 'Playfair Display', Georgia, serif;
}
.logo:hover {
    color: var(--copper);
}
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}
.nav-links a {
    color: var(--grey-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--copper);
    transition: width 0.3s var(--transition-smooth);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--copper);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 10px;
}
.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s var(--transition-smooth);
    display: block;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}
/* ========================================
   PAGE LOADER
   ======================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', Georgia, serif;
    animation: fadeInUp 0.8s ease;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid var(--grey-light);
    border-top-color: var(--copper);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%),
                url('/img/index/fond.webp') center/cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 0 5%;
    animation: fadeInUp 1.2s var(--transition-smooth);
}
.hero h1 {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero .subtitle {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;
    color: var(--grey-light);
    margin-bottom: 40px;
    letter-spacing: 1px;
}
.hero .tagline {
    font-size: clamp(16px, 2.5vw, 28px);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0.9;
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
    opacity: 0.6;
}
/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    padding: 150px 5% 80px;
    text-align: center;
    background: var(--grey-light);
}
.page-header h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--black);
}
.page-header p {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: var(--grey-dark);
}
/* ========================================
   SECTIONS COMMUNES
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}
.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}
.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--black);
    letter-spacing: -1px;
}
.section-title-alt {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--black);
    letter-spacing: -1px;
}
.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    text-align: center;
    color: var(--grey-dark);
    margin-bottom: 80px;
    font-weight: 300;
}
/* ========================================
   PHILOSOPHY / VISION
   ======================================== */
.philosophy {
    padding: 120px 5%;
    background: var(--grey-light);
    text-align: center;
}
.philosophy-text {
    max-width: 1200px;
    margin: 0 auto;
}
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
}
.vision-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--transition-smooth);
}
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(184, 115, 51, 0.15);
    scale: 105%;
}
.vision-icon {
    font-size: 48px;
    margin-bottom: 25px;
}
.vision-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
}
.vision-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-dark);
}
/* ========================================
   SPECIALTIES
   ======================================== */
.specialties-section {
    padding: 120px 0;
    background: var(--white);
}
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}
.specialty-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s;
}
.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(184, 115, 51, 0.15);
}
.specialty-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}
.specialty-content {
    padding: 40px;
}
.specialty-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}
.specialty-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-dark);
    margin-bottom: 25px;
}
.specialty-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.specialty-features li {
    font-size: 14px;
    color: var(--grey-dark);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}
.specialty-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: bold;
}
.specialty-link {
    color: var(--copper);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
}
.specialty-link:hover {
    gap: 15px;
}
/* ========================================
   FEATURED WORK
   ======================================== */
.featured-work {
    padding: 120px 0;
    background: var(--grey-light);
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.featured-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth);
    text-decoration: none;
    display: block;
}
.featured-item:hover {
    transform: scale(1.02);
}
.featured-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--transition-smooth);
}
.featured-item:hover .featured-image {
    transform: scale(1.1);
}
.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s;
}
.featured-item:hover .featured-overlay {
    opacity: 1;
}
.featured-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--copper);
    margin-bottom: 10px;
    font-weight: 600;
}
.featured-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.featured-overlay p {
    font-size: 14px;
    opacity: 0.9;
}
/* ========================================
   PROCESS TIMELINE
   ======================================== */

.home-process {
    padding: 120px 0;
    background: var(--white);
}
.process-section {
    background: var(--grey-light);
    padding: 100px 5%;
    text-align: center;
}
.process-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--black);
}
.process-timeline,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.process-item,
.process-step {
    text-align: center;
}
.process-icon {
    width: 80px;
    height: 80px;
    background: var(--grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--copper);
    transition: all 0.3s;
}
.process-item:hover .process-icon {
    background: var(--copper);
    color: var(--white);
    transform: scale(1.1);
}
.process-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--copper);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}
.process-item h3,
.process-step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
}
.process-item p,
.process-step p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey-dark);
}
/* ========================================
   GALLERY (Portfolio)
   ======================================== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 5% 40px;
    flex-wrap: wrap;
}
.filter-tab {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--grey-dark);
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    font-family: inherit;
}
.filter-tab:hover,
.filter-tab.active {
    background: var(--copper);
    color: var(--white);
}
.gallery {
    padding: 0 5% 100px;
    max-width: 1600px;
    margin: 0 auto;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    background: var(--grey-dark);
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s;
    text-decoration: none;
    display: block;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}
.gallery-item:hover::before {
    opacity: 1;
}
.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--white);
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.4s var(--transition-smooth);
}
.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}
.gallery-item-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}
.gallery-item-category {
    font-size: 14px;
    opacity: 0.8;
}
.gallery-item-desc {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 5px;
    font-weight: 400;
}
/* ========================================
   SERVICES (Prestations)
   ======================================== */
.services-intro {
    padding: 80px 5%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.services-intro p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: var(--grey-dark);
}
.services-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--transition-smooth);
}
.service-card:hover {
    scale: 105% ;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(184, 115, 51, 0.15);
}
.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
}
.service-card .service-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-dark);
    margin-bottom: 25px;
}
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    font-size: 14px;
    color: var(--grey-dark);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper);
    font-weight: bold;
}
/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}
.about-image {
    position: sticky;
    top: 120px;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
}
.about-text {
    padding-top: 40px;
}
.about-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}
.about-text .subtitle-about {
    font-size: clamp(16px, 2vw, 20px);
    font-style: italic;
    color: var(--grey-dark);
    margin-bottom: 50px;
}
.about-text p {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 30px;
}
.values-section {
    background: var(--grey-light);
    padding: 100px 5%;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.value-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: 15px;
}
.value-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-dark);
}
.clients-section {
    padding: 100px 5%;
    text-align: center;
    background: var(--white);
}
.clients-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--black);
}
.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
}
.client-logo {
    width: 120px;
    height: 60px;
    background: var(--grey-dark);
    border-radius: 8px;
}
/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.contact-info {
    padding-top: 40px;
}
.contact-info h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}
.contact-info p {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 50px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-item h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--copper);
    margin-bottom: 10px;
}
.contact-item a {
    color: var(--grey-dark);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
.contact-item a:hover {
    color: var(--copper);
}
.social-links,
.social-links-contact {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.social-links a,
.social-links-contact a {
    font-size: 16px;
}
.contact-form {
    background: var(--grey-light);
    padding: 50px;
    border-radius: 16px;
}
.form-group {
    margin-bottom: 30px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-dark);
    margin-bottom: 10px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    background: var(--white);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: var(--grey-dark);
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--copper);
}
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
/* ========================================
   BUTTONS & CTA
   ======================================== */
.cta-section {
    padding: 100px 5%;
    text-align: center;
    background: var(--white);
}
.cta-spaced {
    padding: 120px 5%;
}
.cta-section h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}
.cta-section p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--grey-dark);
    margin-bottom: 40px;
}
.cta-space {
    margin-top: 3vh;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-button,
.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: var(--copper);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    letter-spacing: 1px;
    font-family: inherit;
}
.cta-button:hover,
.btn-primary:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 115, 51, 0.3);
}
.btn-primary:disabled {
    background: var(--grey-dark);
    cursor: not-allowed;
    transform: none;
}
.cta-secondary {
    background: transparent;
    border: 2px solid var(--copper);
    color: var(--copper);
}
.cta-secondary:hover {
    background: var(--copper);
    color: var(--white);
}
/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content {
    padding: 80px 0 100px;
    background: var(--white);
}
.legal-article {
    font-size: 16px;
    line-height: 1.8;
    color: var(--grey-dark);
}
.legal-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--grey-light);
    border-left: 4px solid var(--copper);
    border-radius: 8px;
}
.legal-article h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--black);
    margin-top: 60px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--grey-light);
}
.legal-article h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--black);
    margin-top: 40px;
    margin-bottom: 20px;
}
.legal-article p {
    margin-bottom: 20px;
}
.legal-article ul,
.legal-article ol {
    margin: 20px 0 25px 30px;
    padding-left: 20px;
}
.legal-article li {
    margin-bottom: 12px;
    line-height: 1.7;
}
.legal-article a {
    color: var(--copper);
    text-decoration: underline;
    transition: color 0.3s;
}
.legal-article a:hover {
    color: var(--black);
}
.legal-article strong {
    font-weight: 600;
    color: var(--black);
}
.legal-date {
    font-style: italic;
    color: var(--grey-dark);
    opacity: 0.8;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--grey-light);
}
.legal-note {
    margin-top: 40px;
    padding: 20px;
    background: #fff3e0;
    border-left: 4px solid var(--copper);
    border-radius: 8px;
    font-size: 14px;
}
/* ========================================
   PROJECT DETAIL PAGE
   ======================================== */
.project-header {
    padding: 150px 5% 80px;
    background: var(--grey-light);
}
.project-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.project-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--copper);
    margin-bottom: 20px;
    font-weight: 600;
}
.project-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--black);
    letter-spacing: -1px;
}
.project-intro {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 50px;
}
.project-meta-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}
.meta-inline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.meta-inline-item i {
    color: var(--copper);
    font-size: 16px;
    margin-top: 3px;
}
.meta-inline-item span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey-dark);
}
.meta-inline-item strong {
    font-weight: 600;
    color: var(--black);
}
.photo-gallery {
    padding: 0 60px;
    background: var(--white);
}
.container-wide {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
.gallery-photo-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
    transition: opacity 0.3s var(--transition-smooth);
}
.gallery-photo-item:hover {
    opacity: 0.9;
}
.gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-photo-item.large {
    height: 70vh;
}
.gallery-row {
    display: grid;
    gap: 0;
    margin: 0;
}
.gallery-row.two-cols {
    grid-template-columns: repeat(2, 1fr);
    height: 60vh;
}
.gallery-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
    height: 50vh;
}
.gallery-row .gallery-photo-item {
    height: 100%;
}
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}
.gallery-lightbox.active {
    display: flex;
}
.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}
.lightbox.active {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 50px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 3001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover {
    transform: scale(1.1);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}
.lightbox-prev {
    left: 30px;
}
.lightbox-next {
    right: 30px;
}
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    background: var(--grey-dark);
    border-radius: 12px;
}
.project-navigation {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.project-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.nav-back {
    color: var(--grey-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-back:hover {
    color: var(--copper);
}
.nav-adjacent {
    display: flex;
    gap: 30px;
}
.nav-prev,
.nav-next {
    color: var(--grey-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-prev:hover,
.nav-next:hover {
    color: var(--copper);
}
/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 80px 5% 30px;
    background: var(--black);
    color: var(--grey-light);
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}
.footer-section h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}
.footer-section h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}
.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.8;
}
.footer-location {
    margin-top: 10px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: var(--grey-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    opacity: 0.8;
}
.footer-section ul li a:hover {
    color: var(--copper);
    opacity: 1;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--copper);
    transform: translateY(-3px);
    text-decoration: none;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.copyright {
    font-size: 14px;
    opacity: 0.6;
}
/* ========================================
   IMAGE GRID
   ======================================== */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.image-grid-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--grey-dark) 0%, var(--black) 100%);
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth);
}
.image-grid-item:hover {
    transform: scale(1.05);
}
.image-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
/* ========================================
   RESPONSIVE - TABLETTES
   ======================================== */
@media (max-width: 1200px) {
    .vision-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }

    .specialties-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1024px) {
    /* About Content */
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        position: relative;
        top: 0;
        max-height: 500px;
    }

    /* Contact Wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Process Grid */
    .process-timeline,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: right 0.4s var(--transition-smooth);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding: 0 5%;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 48px);
    }

    .hero .subtitle {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 30px;
    }

    .hero .tagline {
        font-size: clamp(15px, 3.5vw, 18px);
        margin-bottom: 40px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Page Header */
    .page-header {
        padding: 120px 5% 60px;
    }

    .page-header h1 {
        font-size: clamp(32px, 10vw, 56px);
    }

    /* Sections Spacing */
    .philosophy,
    .specialties-section,
    .featured-work,
    .home-process,
    .process-section,
    .values-section {
        padding: 80px 5%;
    }

    .cta-section {
        padding: 80px 5%;
    }

    .cta-spaced {
        padding: 100px 5%;
    }

    /* Grids - 1 colonne */
    .vision-grid,
    .specialties-grid,
    .featured-grid,
    .gallery-grid,
    .services-grid,
    .process-timeline,
    .process-grid,
    .values-grid,
    .image-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Gallery Grid ajustement */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards Padding */
    .vision-card,
    .service-card {
        padding: 40px 25px;
    }

    .specialty-content {
        padding: 30px 25px;
    }

    .specialty-image {
        height: 250px;
    }

    /* Filter Tabs */
    .filter-tabs {
        gap: 15px;
        padding: 40px 5%;
    }

    .filter-tab {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* Gallery Items */
    .gallery-item-overlay {
        padding: 20px;
    }

    .gallery-item-title {
        font-size: 18px;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button,
    .btn-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
        padding: 16px 40px;
        font-size: 15px;
    }

    .cta-space {
        margin-top: 2vh;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .social-icons {
        justify-content: center;
    }

    /* Legal Content */
    .legal-content {
        padding: 60px 0 80px;
    }

    .legal-article h2 {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .legal-article ul,
    .legal-article ol {
        margin-left: 20px;
        padding-left: 15px;
    }

    /* Project Detail */
    .photo-gallery {
        padding: 0 5%;
    }

    .gallery-row.two-cols,
    .gallery-row.three-cols {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-photo-item.large {
        height: 50vh;
    }

    .gallery-row .gallery-photo-item {
        height: 50vh;
    }

    .project-meta-inline {
        grid-template-columns: 1fr;
    }

    .project-navigation .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-adjacent {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    /* Lightbox */
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }
}
/* ========================================
   RESPONSIVE - PETITS MOBILES
   ======================================== */
@media (max-width: 480px) {
    /* Navigation */
    nav {
        padding: 15px 5%;
    }

    /* Hero */
    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .hero .tagline {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Sections */
    .philosophy,
    .specialties-section,
    .featured-work,
    .home-process,
    .process-section,
    .values-section,
    .cta-section {
        padding: 60px 5%;
    }

    /* Cards */
    .vision-card,
    .service-card {
        padding: 35px 20px;
    }

    .specialty-content {
        padding: 25px 20px;
    }

    .specialty-image {
        height: 220px;
    }

    /* Icons */
    .vision-icon,
    .service-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    /* Typography */
    .vision-card h3,
    .service-card h3 {
        font-size: 20px;
    }

    .specialty-content h3 {
        font-size: 20px;
    }

    .process-item h3,
    .process-step h3 {
        font-size: 17px;
    }

    /* Gallery */
    .gallery-item-overlay {
        padding: 15px;
    }

    .featured-overlay {
        padding: 20px;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }

    /* Buttons */
    .cta-button,
    .btn-primary,
    .cta-secondary {
        padding: 14px 30px;
        font-size: 14px;
    }

    /* Footer */
    footer {
        padding: 60px 5% 20px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
/* ========================================
   LANDSCAPE MOBILE FIX
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 5% 60px;
    }

    .hero-content {
        margin-top: 0;
    }

    .scroll-indicator {
        display: none;
    }

    .page-header {
        padding: 100px 5% 50px;
    }
}
/* ========================================
   UTILITY CLASSES
   ======================================== */
/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}
/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}
/* Selection color */
::selection {
    background: var(--copper);
    color: var(--white);
}
::-moz-selection {
    background: var(--copper);
    color: var(--white);
}
/* Prevent text selection on buttons */
button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
/* Animations for scroll-triggered elements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}
/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    nav,
    .menu-toggle,
    .scroll-indicator,
    .cta-section,
    footer,
    .lightbox,
    .page-loader {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .page-header,
    .hero {
        padding: 20px 0;
        background: #fff !important;
    }

    .hero-bg {
        display: none;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .legal-article a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */
/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--copper);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
}
.skip-link:focus {
    top: 0;
}
/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-indicator {
        animation: none;
    }

    .loader-spinner {
        animation: none;
        border: 3px solid var(--copper);
    }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --black: #000000;
        --white: #FFFFFF;
        --grey-light: #E0E0E0;
        --grey-dark: #2B2B2B;
        --copper: #D97706;
    }

    .cta-button,
    .btn-primary {
        border: 2px solid var(--black);
    }
}
/* ========================================
   BROWSER SPECIFIC FIXES
   ======================================== */
/* Safari iOS fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }

    /* Fix for iOS viewport height issue */
    body {
        min-height: -webkit-fill-available;
    }
}

/* Firefox specific */
@-moz-document url-prefix() {
    .gallery-grid,
    .featured-grid {
        gap: 24px;
    }
}

/* Edge specific */
@supports (-ms-ime-align: auto) {
    .vision-grid,
    .specialties-grid {
        display: -ms-grid;
    }
}
/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */
/* GPU acceleration for animations */
.gallery-item,
.featured-item,
.vision-card,
.service-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}
/* Lazy loading placeholder */
.lazy-load {
    background: var(--grey-light);
    position: relative;
    overflow: hidden;
}
.lazy-load::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* ========================================
   ADDITIONAL RESPONSIVE FIXES
   ======================================== */
/* Very small screens (< 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero .tagline {
        font-size: 14px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .vision-card,
    .service-card,
    .specialty-content {
        padding: 25px 15px;
    }

    .cta-button,
    .btn-primary {
        padding: 12px 25px;
        font-size: 13px;
    }

    .filter-tab {
        font-size: 13px;
        padding: 6px 12px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
/* Large tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Extra large screens (> 1600px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 84px;
    }

    .section-title {
        font-size: 64px;
    }

    .page-header h1 {
        font-size: 80px;
    }
}
/* Orientation specific fixes */
@media (orientation: portrait) {
    .hero {
        min-height: 100vh;
    }

    .gallery-row.two-cols,
    .gallery-row.three-cols {
        height: auto;
    }

    .gallery-photo-item {
        min-height: 40vh;
    }
}
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 100vh;
        padding: 80px 5% 40px;
    }

    .page-header {
        padding: 100px 5% 50px;
    }

    .scroll-indicator {
        display: none;
    }
}
/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .nav-links a,
    .filter-tab,
    .cta-button,
    .btn-primary {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove hover effects on touch devices */
    .gallery-item:hover,
    .featured-item:hover,
    .vision-card:hover,
    .service-card:hover {
        transform: none;
    }

    /* Show overlays by default on touch */
    .gallery-item-overlay,
    .featured-overlay {
        opacity: 1;
    }
}
/* iPad Pro specific */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .hero {
        min-height: 100vh;
    }

    .vision-grid,
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ========================================
   FIX POUR DÉBORDEMENTS
   ======================================== */

/* Empêcher le débordement horizontal global */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}
/* S'assurer que tous les conteneurs ne débordent pas */
section,
.container,
.container-narrow,
.container-wide {
    max-width: 100%;
    overflow-x: hidden;
}
/* Fix pour les grandes images */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}
/* Fix pour les grids qui pourraient déborder */
.gallery-grid,
.featured-grid,
.specialties-grid,
.vision-grid,
.services-grid {
    width: 100%;
    max-width: 100%;
}
/* Fix pour le texte qui ne doit pas déborder */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
/* ========================================
   AJOUT À STYLES.CSS - SOCIAL LINKS CONTACT
   À ajouter après la section CONTACT PAGE
   ======================================== */
/* Style spécifique pour les liens sociaux de la page contact */
.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.social-links-contact a {
    width: 44px;
    height: 44px;
    background: var(--grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-dark);
    font-size: 18px;
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
}
.social-links-contact a:hover {
    background: var(--copper);
    color: var(--white);
    transform: translateY(-3px);
}
/* Responsive pour social links contact */
@media (max-width: 768px) {
    .social-links-contact {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    .social-links-contact a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
/* ========================================
   RESPONSIVE FIXES — TABLETTE ET MOBILE
   ======================================== */
/* ----------- TABLETTE (max 1024px) ----------- */
@media (max-width: 1024px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        height: 100vh;
        width: 60%;
        padding-top: 120px;
        gap: 30px;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    /* À propos */
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        position: relative;
        top: 0;
        width: 100%;
        height: 60vh;
        max-height: 480px;
    }

    .about-text {
        padding-top: 0;
    }

    /* Prestations */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 30px;
    }

    .service-card {
        padding: 40px 30px;
    }
}
/* ----------- MOBILE (max 768px) ----------- */
@media (max-width: 768px) {

    nav {
        padding: 15px 5%;
    }

    .page-header {
        padding: 120px 5% 60px;
    }

    /* À propos */
    .about-image {
        height: 50vh;
        max-height: 400px;
        border-radius: 12px;
    }

    .values-grid {
        gap: 30px;
    }

    .clients-logos {
        gap: 40px;
    }

    /* Prestations */
    .service-card h3 {
        font-size: 20px;
    }

    .service-card .service-description {
        font-size: 14px;
    }

    .service-list li {
        font-size: 13px;
    }
}
/* ----------- PETITS TÉLÉPHONES (max 480px) ----------- */
@media (max-width: 480px) {

    .logo {
        font-size: 16px;
    }

    .menu-toggle span {
        width: 22px;
    }

    /* À propos */
    .about-image {
        height: 45vh;
        max-height: 350px;
    }

    .about-text p {
        font-size: 15px;
    }

    /* Prestations */
    .service-card {
        padding: 30px 25px;
    }

    .service-card h3 {
        font-size: 18px;
    }
}
/* ========================================
   HERO SECTION - UPDATED
   ======================================== */

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   SPECIALTIES - UPDATED
   ======================================== */

.specialty-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

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

/* ========================================
   FEATURED WORK - UPDATED
   ======================================== */

.featured-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth);
    text-decoration: none;
    display: block;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

.featured-item:hover .featured-image {
    transform: scale(1.1);
}

/* ========================================
   ABOUT PAGE - UPDATED
   ======================================== */

.about-image {
    position: sticky;
    top: 120px;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
}

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

/* ========================================
   GALLERY (Portfolio) - UPDATED
   ======================================== */

.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s;
    text-decoration: none;
    display: block;
    background: var(--grey-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   RESPONSIVE - MOBILE - UPDATED
   ======================================== */

@media (max-width: 768px) {
    .specialty-image {
        height: 250px;
    }
    
    .about-image {
        position: relative;
        top: 0;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .specialty-image {
        height: 220px;
    }
    
    .about-image {
        height: 45vh;
        max-height: 350px;
    }
}

@media (max-width: 1024px) {
    .about-image {
        position: relative;
        top: 0;
        width: 100%;
        height: 60vh;
        max-height: 480px;
    }
}
/* ========================================
   MODIFICATIONS CSS POUR BALISES IMG
   À REMPLACER/AJOUTER DANS styles.css
   ======================================== */

/* ========================================
   HERO SECTION - UPDATED
   ======================================== */

.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   SPECIALTIES - UPDATED
   ======================================== */

.specialty-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

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

/* ========================================
   FEATURED WORK - UPDATED
   ======================================== */

.featured-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth);
    text-decoration: none;
    display: block;
}

.featured-item:hover {
    transform: scale(1.02);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

.featured-item:hover .featured-image {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s;
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

/* ========================================
   ABOUT PAGE - UPDATED
   ======================================== */

.about-image {
    position: sticky;
    top: 120px;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
}

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

/* ========================================
   GALLERY (Portfolio) - UPDATED
   ======================================== */

.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s;
    text-decoration: none;
    display: block;
    background: var(--grey-dark);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: var(--white);
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.4s var(--transition-smooth);
}

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

/* ========================================
   PROJECT DETAIL GALLERY - UPDATED
   ======================================== */

.gallery-photo-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.gallery-photo-item:hover {
    opacity: 0.9;
}

.gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-photo-item.large {
    height: 70vh;
}

.gallery-row {
    display: grid;
    gap: 0;
    margin: 0;
}

.gallery-row.two-cols {
    grid-template-columns: repeat(2, 1fr);
    height: 60vh;
}

.gallery-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
    height: 50vh;
}

.gallery-row .gallery-photo-item {
    height: 100%;
}

.gallery-row .gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   LIGHTBOX - UPDATED
   ======================================== */

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

/* ========================================
   RESPONSIVE - MOBILE - UPDATED
   ======================================== */

@media (max-width: 768px) {
    .specialty-image {
        height: 250px;
    }
    
    .about-image {
        position: relative;
        top: 0;
        max-height: 500px;
    }
    
    .gallery-row.two-cols,
    .gallery-row.three-cols {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-photo-item.large {
        height: 50vh;
    }

    .gallery-row .gallery-photo-item {
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .specialty-image {
        height: 220px;
    }
    
    .about-image {
        height: 45vh;
        max-height: 350px;
    }
}

@media (max-width: 1024px) {
    .about-image {
        position: relative;
        top: 0;
        width: 100%;
        height: 60vh;
        max-height: 480px;
    }
}

/* ========================================
   ORIENTATION FIXES
   ======================================== */

@media (orientation: portrait) {
    .gallery-row.two-cols,
    .gallery-row.three-cols {
        height: auto;
    }

    .gallery-photo-item {
        min-height: 40vh;
    }
}
/* ========================================
   FIN DU FICHIER CSS
   ======================================== */