/* ============================================
   P2M PLAFONDS TENDUS - STYLES PRINCIPAUX
   Optimisé pour index.html et pages intérieures
   ============================================ */

:root {
    --primary-blue: #2563EB;
    --primary-blue-dark: #1D4ED8;
    --primary-blue-light: #3B82F6;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-light: #E2E8F0;
    --footer-bg: #1E293B;
    --gold-star: #FBBF24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ============================================
   HEADER & NAVIGATION
============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text span {
    color: var(--primary-blue);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-links > li > a:hover {
    color: var(--primary-blue);
}

.nav-links > li > a i,
.nav-links > li > a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-links > li:hover > a i,
.nav-links > li:hover > a svg {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-links > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.nav-icons {
    display: flex;
    gap: 0.5rem;
}

.nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-icon:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.nav-icon i,
.nav-icon svg {
    width: 22px;
    height: 22px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    padding: 1rem;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--bg-light);
    border-radius: 0;
}

.mobile-menu .dropdown.active {
    display: block;
}

/* ============================================
   HERO SECTION (Index)
============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--footer-bg) 0%, #0f172a 100%);
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.hero-cta i,
.hero-cta svg {
    width: 20px;
    height: 20px;
}

.trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.trust-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bg-white);
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--gold-star);
}

.stars i,
.stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.trust-rating {
    font-weight: 600;
}

.trust-source {
    color: var(--text-light);
    font-size: 0.85rem;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

.trust-quote {
    font-style: italic;
    color: var(--text-light);
}

/* ============================================
   SECTIONS COMMUNES
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION (Index)
============================================ */
.services {
    padding: 5rem 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ============================================
   TRANSFORMATION SECTION (Index)
============================================ */
.transformation {
    padding: 5rem 0;
    background: var(--bg-light);
}

.comparison-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    cursor: ew-resize;
}

.comparison-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.comparison-before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--bg-white);
    transform: translateX(-50%);
    cursor: ew-resize;
}

.comparison-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.comparison-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ============================================
   WHY P2M SECTION (Index)
============================================ */
.why-p2m {
    padding: 5rem 0;
    background: var(--bg-white);
}

.why-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.why-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.1);
}

.feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--primary-blue);
}

.feature-card .feature-icon i,
.feature-card .feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ============================================
   ADVANTAGES SECTION (Index)
============================================ */
.advantages {
    padding: 5rem 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--bg-white);
}

.cta-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.cta-card-icon i,
.cta-card-icon svg {
    width: 100%;
    height: 100%;
}

.cta-card-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-card-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-white);
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-card-btn:hover {
    transform: translateY(-2px);
}

/* ============================================
   BLOG SECTION (Index)
============================================ */
.blog {
    padding: 5rem 0;
    background: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary-blue);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-meta i,
.blog-meta svg {
    width: 14px;
    height: 14px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-link i,
.blog-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-link:hover i,
.blog-link:hover svg {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.btn-outline i,
.btn-outline svg {
    width: 18px;
    height: 18px;
}

/* Button Primary */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary i,
.btn-primary svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: var(--footer-bg);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-brand .logo-text span {
    color: var(--primary-blue-light);
}

.footer-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
}

.social-link i,
.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-section h3 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: var(--bg-white);
}

.footer-contact-item i,
.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-blue-light);
}

.footer-zone-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-zone-item i,
.footer-zone-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-cities {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding-left: 26px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-copyright a {
  color: var(--bg-white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--bg-white);
}

/* ============================================
   PAGE INTÉRIEURE - HERO
============================================ */
.page-hero {
    background: var(--footer-bg);
    padding: 2rem 0 3rem;
    margin-top: 80px;
}

.page-hero .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.page-hero h1 {
    color: var(--bg-white);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 900px;
}

/* ============================================
   PAGE CONTENT WITH SIDEBAR
============================================ */
.page-content {
    background: var(--bg-light);
    min-height: 100vh;
}

.page-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 3rem 0;
    align-items: start;
}

/* ============================================
   SIDEBAR
============================================ */
.sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    order: 2;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-transform: uppercase;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    text-align: left;
}

.sidebar-nav-item:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.sidebar-nav-item.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--bg-white);
}

.sidebar-nav-item i,
.sidebar-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-cta {
    background: var(--primary-blue);
    border-radius: 12px;
    padding: 1.75rem;
    color: var(--bg-white);
}

.sidebar-cta h2 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.sidebar-cta-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.sidebar-cta-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.sidebar-cta-list i,
.sidebar-cta-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--bg-white);
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-cta-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.sidebar-cta-btn i,
.sidebar-cta-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   MAIN CONTENT (Pages intérieures)
============================================ */
.main-content {
    min-width: 0;
    order: 1;
}

.content-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-section p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Features List (Pages intérieures) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--bg-light);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin: 0;
}

.feature-item .feature-icon i,
.feature-item .feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

.content-image {
    margin-top: 2rem;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.solution-card {
    text-align: center;
    padding: 1.5rem;
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.solution-icon i,
.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* ============================================
   GALLERY SECTION (Réalisations)
============================================ */
.gallery-section {
    background: var(--bg-light);
    padding-bottom: 4rem;
}

.gallery-intro {
    padding: 3rem 0;
}

.gallery-intro h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.gallery-intro p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.gallery-intro p:last-child {
    margin-bottom: 0;
}

/* Masonry Gallery - Full Width */
.masonry-gallery {
    column-count: 4;
    column-gap: 1rem;
    padding: 0 1rem;
}

.masonry-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.masonry-caption {
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

/* Hover Effects */
.masonry-item:hover img {
    transform: scale(1.05);
}

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

.masonry-item:hover .masonry-caption {
    transform: translateY(0);
}

/* Masonry Variations - pour varier les hauteurs */
.masonry-tall img {
    min-height: 350px;
    object-fit: cover;
}

.masonry-wide img {
    min-height: 200px;
    object-fit: cover;
}

/* Gallery CTA */
.gallery-cta {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-cta h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.gallery-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ANIMATIONS
============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr 280px;
        gap: 2rem;
    }
    
    .masonry-gallery {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu { display: block; }
    
    .hero-title { font-size: 2.5rem; }
    .services-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    
    .page-hero h1 { font-size: 2rem; }
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { position: relative; top: 0; order: 2; }
    .main-content { order: 1; }
    .solutions-grid { grid-template-columns: repeat(3, 1fr); }
    
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 1rem; height: 70px; }
    .logo-img { height: 40px; }
    
    /* Nav icons visibles à gauche du burger */
    .nav-icons { 
        display: flex;
        gap: 0.35rem;
    }
    .nav-icon {
        width: 36px;
        height: 36px;
    }
    .nav-icon i,
    .nav-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .hero { min-height: 500px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .trust-bar-content { flex-direction: column; gap: 1rem; }
    .trust-divider { display: none; }
    
    .section-title { font-size: 1.5rem; }
    .services-grid, .blog-grid { grid-template-columns: 1fr; }
    .comparison-slider { height: 300px; }
    .features-grid, .advantages-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .page-hero { padding: 1.5rem 0 2rem; margin-top: 70px; }
    .page-hero h1 { font-size: 1.5rem; }
    .breadcrumb { font-size: 0.8rem; }
    .content-section { padding: 1.5rem; }
    .content-section h2 { font-size: 1.35rem; }
    .sidebar-nav-item { padding: 0.875rem 1rem; font-size: 0.85rem; }
    .sidebar-cta { padding: 1.5rem; }
    .sidebar-cta h2 { font-size: 1rem; }
    .feature-item { flex-direction: column; align-items: flex-start; }
    .solutions-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .solution-icon { width: 70px; height: 70px; }
    
    .mobile-menu { top: 70px; }
    
    /* Gallery Mobile - Stacked Layout */
    .masonry-gallery {
        column-count: 1;
        padding: 0 1rem;
    }
    
    .masonry-item {
        margin-bottom: 1rem;
    }
    
    .masonry-tall img,
    .masonry-wide img {
        min-height: auto;
    }
    
    .masonry-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 0) 40%);
    }
    
    .masonry-caption {
        transform: translateY(0);
    }
    
    .gallery-intro {
        padding: 2rem 0;
    }
    
    .gallery-intro h2 {
        font-size: 1.35rem;
    }
    
    .gallery-cta {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .gallery-cta h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .page-hero .container, .page-content .container { padding: 0 1rem; }
    .page-hero h1 { font-size: 1.25rem; }
    .content-section { padding: 1.25rem; border-radius: 8px; }
    .content-section h2 { font-size: 1.2rem; }
    .content-section p { font-size: 0.9rem; }
    .sidebar-cta-list li { font-size: 0.9rem; }
    
    /* Icônes encore plus petites sur très petit écran */
    .nav-icons { gap: 0.25rem; }
    .nav-icon {
        width: 32px;
        height: 32px;
    }
    .nav-icon i,
    .nav-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .gallery-intro h2 {
        font-size: 1.2rem;
    }
    
    .gallery-intro p {
        font-size: 0.9rem;
    }
    
    .masonry-gallery {
        padding: 0 0.5rem;
    }
    
    .masonry-item {
        border-radius: 8px;
    }
    
    .gallery-cta {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .gallery-cta h2 {
        font-size: 1.2rem;
    }
    
    .gallery-cta p {
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-section {
    background: var(--bg-light);
    padding: 3rem 0 4rem;
}

.contact-intro {
    max-width: 800px;
    margin-bottom: 3rem;
}

.contact-intro p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Info */
.contact-info {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.contact-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card:hover {
    background: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.contact-card-icon i,
.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

a.contact-card-value:hover {
    color: var(--primary-blue-dark);
}

.contact-card-info {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Form Placeholder */
.form-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px dashed var(--border-light);
}

.form-placeholder-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.form-placeholder-icon i,
.form-placeholder-icon svg {
    width: 36px;
    height: 36px;
}

.form-placeholder h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-placeholder p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.form-placeholder-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Features */
.contact-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.contact-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: var(--bg-light);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.contact-feature-icon i,
.contact-feature-icon svg {
    width: 28px;
    height: 28px;
}

.contact-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.contact-feature p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0 3rem;
    }
    
    .contact-intro {
        margin-bottom: 2rem;
    }
    
    .contact-intro p {
        font-size: 0.95rem;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .contact-card-icon i,
    .contact-card-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-card-content h3 {
        font-size: 1rem;
    }
    
    .contact-card-value {
        font-size: 1rem;
    }
    
    .form-placeholder {
        padding: 2rem 1.5rem;
    }
    
    .form-placeholder-icon {
        width: 60px;
        height: 60px;
    }
    
    .form-placeholder-icon i,
    .form-placeholder-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .form-placeholder h3 {
        font-size: 1.1rem;
    }
    
    .form-placeholder p {
        font-size: 0.9rem;
    }
    
    .form-placeholder-actions {
        flex-direction: column;
    }
    
    .form-placeholder-actions .btn-primary,
    .form-placeholder-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .contact-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .contact-feature {
        padding: 1.5rem;
    }
    
    .contact-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-feature-icon i,
    .contact-feature-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-card-icon {
        margin: 0 auto;
    }
}
