/* Import Google Fonts - Style similaire au thème Andreas */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap');

/* Police personnalisée fbft (via TypeKit) */
@font-face {
    font-family: fbft;
    src: url(https://use.typekit.net/af/79292d/00000000000000007735d6ac/31/l?subset_id=2&fvd=n4&v=3) format("woff2"),
         url(https://use.typekit.net/af/79292d/00000000000000007735d6ac/31/d?subset_id=2&fvd=n4&v=3) format("woff"),
         url(https://use.typekit.net/af/79292d/00000000000000007735d6ac/31/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}
@font-face {
    font-family: fbft;
    src: url(https://use.typekit.net/af/802c96/00000000000000007735d6bd/31/l?subset_id=2&fvd=n5&v=3) format("woff2"),
         url(https://use.typekit.net/af/802c96/00000000000000007735d6bd/31/d?subset_id=2&fvd=n5&v=3) format("woff"),
         url(https://use.typekit.net/af/802c96/00000000000000007735d6bd/31/a?subset_id=2&fvd=n5&v=3) format("opentype");
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
}

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

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Site Container */
.site-container {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 1152px;
}

.site-content {
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

/* Site Header - Style identique au site principal */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 100px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border-bottom: 4px solid #f2f2f2;
}

/* Navigation principale */
.nav-container {
    display: flex;
    align-items: center;
    text-align: left;
    width: 59%;
}

.nav-title {
    display: inline-block;
    padding-left: 0;
    padding-right: 22px;
}

.nav-title a {
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #999;
    text-decoration: none;
    line-height: 30px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-title a:hover {
    color: #999;
}

.nav-title a.active {
    color: #191919;
    font-weight: 500;
}

/* Logo central */
.logo-wrap {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0;
    padding-top: 0;
    width: 29.5%;
}

.logo {
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}

.logo,
.logo a {
    color: #191919;
    text-decoration: none;
}

.logo a:hover {
    color: #191919;
    font-weight: 700;
}

.logo-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.logo-image {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Icônes sociales header */
.social {
    font-size: 0;
}

.social li {
    display: inline-block;
    list-style: none;
}

.social a {
    display: block;
    text-align: center;
}

.pf-nav-social {
    text-align: right;
    width: 11.5%;
}

.pf-nav-social li {
    padding: 0;
}

.pf-nav-social a:hover svg {
    fill: #191919;
    opacity: 1;
}

.pf-nav-social svg {
    fill: #191919;
    height: 24px;
    opacity: 1;
    width: 24px;
}

/* Menu hamburger */
.hamburger-click-area {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    width: 22px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger i {
    display: block;
    height: 1px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.hamburger i:nth-child(1) { width: 100%; }
.hamburger i:nth-child(2) { width: 70%; }
.hamburger i:nth-child(3) { width: 50%; }

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 1001;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.mobile-menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #1a1a1a;
}

.mobile-menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav a {
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #999;
    text-decoration: none;
    line-height: 30px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav a:hover {
    color: #191919;
}

.mobile-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.mobile-social a:hover {
    opacity: 0.5;
}

.mobile-social .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 100px auto 0;
    background: #ffffff;
    padding: 60px 40px;
    min-height: calc(100vh - 100px);
}

/* Layout deux colonnes */
.page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Contenu principal */
.main-content {
    flex: 1;
    min-width: 0;
}

.main-content h1 {
    text-align: left;
}

.main-content .subtitle {
    text-align: left;
    margin-bottom: 0;
}

/* Sidebar Réseaux Sociaux */
.social-sidebar {
    width: 350px;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fafafa;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    position: sticky;
    top: 120px;
}

/* Onglets */
.sidebar-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.sidebar-tab svg {
    fill: currentColor;
    opacity: 0.7;
}

.sidebar-tab:hover {
    color: #666;
    background: #f5f5f5;
}

.sidebar-tab.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.sidebar-tab.active svg {
    opacity: 1;
}

.sidebar-tab[data-tab="facebook"].active {
    color: #1877f2;
    border-bottom-color: #1877f2;
}

.sidebar-tab[data-tab="instagram"].active {
    color: #E1306C;
    border-bottom-color: #E1306C;
}

/* Contenu des onglets */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Bouton Me suivre */
.follow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.follow-btn svg {
    fill: currentColor;
}

.follow-btn-facebook {
    background: #1877f2;
    color: #fff;
}

.follow-btn-facebook:hover {
    background: #166fe5;
}

.follow-btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.follow-btn-instagram:hover {
    opacity: 0.9;
}

/* Grille Instagram */
.instagram-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 3px !important;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.instagram-stat svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

/* Styles spécifiques pour la sidebar */
.social-sidebar .posts-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.social-sidebar .post {
    border: none;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.social-sidebar .post:hover {
    transform: none;
    box-shadow: none;
}

.social-sidebar .post:last-child {
    border-bottom: none;
}

.social-sidebar .post-header {
    padding: 12px 15px 8px;
}

.social-sidebar .post-date {
    font-size: 10px;
}

.social-sidebar .post-content {
    padding: 0 15px 12px;
}

.social-sidebar .post-message {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.social-sidebar .post-media {
    height: auto;
}

.social-sidebar .post-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.social-sidebar .post-footer {
    padding: 10px 15px;
    margin-top: 0;
}

.social-sidebar .post-stats {
    font-size: 11px;
    gap: 15px;
}

.social-sidebar .loading {
    padding: 40px 20px;
}

.social-sidebar .pagination {
    margin-top: 0;
    padding: 15px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.social-sidebar .pagination-btn {
    min-width: 30px;
    height: 30px;
    font-size: 11px;
}

.social-sidebar .no-messages {
    padding: 30px 15px;
    font-size: 12px;
}

/* Titres */
h1 {
    color: #191919;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
    margin-bottom: 14px;
    margin-top: 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.subtitle {
    color: #999;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 28px;
    margin-bottom: 50px;
    margin-top: 0;
    text-align: center;
    text-transform: none;
    width: 100%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

h2 {
    font-family: 'Raleway', sans-serif;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Feed Controls */
.feed-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #1a1a1a;
    padding: 12px 0;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.refresh-btn:hover {
    opacity: 1;
}

.refresh-btn:active {
    opacity: 0.5;
}

.refresh-btn .icon {
    fill: currentColor;
    width: 14px;
    height: 14px;
}

/* Loading */
.loading {
    text-align: center;
    padding: 80px 20px;
    color: #555;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 1px solid #e5e5e5;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 1s linear infinite;
}

.loading p {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Message */
.error-message {
    background-color: #fff;
    color: #1a1a1a;
    padding: 20px;
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Success Message */
.success-message {
    background-color: #fff;
    color: #1a1a1a;
    padding: 20px;
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Posts Container - Grille 2 colonnes */
.posts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Post Card - Style minimaliste */
.post {
    background: #ffffff;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeIn 0.6s ease-out;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 15px 20px;
}

.post-meta {
    flex: 1;
}

.post-date {
    color: #555;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.post-link {
    color: #555;
    padding: 5px;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.post-link:hover {
    opacity: 1;
}

.post-link .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Post Content */
.post-content {
    padding: 0 20px 20px 20px;
}

.post-message {
    color: #999;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 28px;
    text-align: center;
    text-transform: none;
    width: 100%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.post-message a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

.post-message a:hover {
    border-color: #1a1a1a;
}

/* Post Media */
.post-media {
    position: relative;
    background-color: #f5f5f5;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-media > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.post-media img,
.post-media video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.post-media:hover img,
.post-media:hover video {
    transform: scale(1.02);
}

/* Multiple Images Gallery */
.post-media:has(.post-gallery) {
    display: block;
}

.post-gallery {
    display: grid;
    gap: 3px;
    height: 100%;
    width: 100%;
}

.post-gallery.gallery-2 {
    grid-template-columns: 1fr 1fr;
}

.post-gallery.gallery-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.post-gallery.gallery-3 .gallery-item:first-child {
    grid-row: span 2;
}

.post-gallery.gallery-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-more {
    position: relative;
}

.gallery-more::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    transition: background 0.3s ease;
}

.gallery-more:hover::after {
    background: rgba(0, 0, 0, 0.7);
}

/* Post Footer */
.post-footer {
    padding: 15px 20px 20px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.post-stats {
    display: flex;
    gap: 25px;
    color: #555;
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
}

.stat-item .icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
}

/* ============================================
   FACEBOOK REACTIONS STYLES
   ============================================ */

/* Reactions container within stat item */
.stat-reactions {
    position: relative;
}

/* Reactions summary wrapper */
.reactions-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

/* Reaction icons row - stacked emoji display */
.reaction-icons {
    display: flex;
    flex-direction: row-reverse;
}

.reaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 14px;
    margin-right: -6px;
    cursor: default;
    filter: grayscale(100%);
    opacity: 0.7;
}

.reaction-icon:first-child {
    margin-right: 0;
}

/* Total reactions count */
.reactions-total {
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-left: 4px;
}

/* Empty reactions state */
.reactions-empty {
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #999;
}

/* Reactions breakdown tooltip */
.reactions-breakdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 100;
    white-space: nowrap;
}

.reactions-breakdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

.reactions-breakdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #e8e8e8;
}

/* Show breakdown on hover */
.reactions-summary:hover .reactions-breakdown {
    display: flex;
    gap: 12px;
}

/* Individual reaction detail in tooltip */
.reaction-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.reaction-detail-icon {
    font-size: 18px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.reaction-detail-count {
    font-family: fbft, 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
}

/* Comments stat item - maintain existing style */
.stat-comments {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Shared Link Preview */
.shared-link {
    margin: 20px 0;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shared-link:hover {
    border-color: #ddd;
}

.shared-link-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
}

.shared-link-content {
    padding: 20px;
}

.shared-link-domain {
    color: #555;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.shared-link-title {
    color: #1a1a1a;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 14px;
}

.shared-link-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

/* No Messages */
.no-messages {
    text-align: center;
    color: #555;
    padding: 60px 40px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 400;
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 60px;
    padding: 30px 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 10px 15px;
    background-color: transparent;
    color: #1a1a1a;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    opacity: 0.6;
}

.pagination-btn:hover:not(:disabled) {
    opacity: 1;
}

.pagination-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.pagination-btn.active {
    opacity: 1;
    border-bottom: 1px solid #1a1a1a;
}

.pagination-btn .icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.pagination-info {
    color: #555;
    font-size: 13px;
    margin: 0 5px;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .nav-container {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .posts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .post-media {
        height: 450px;
    }

    .nav-container {
        display: none;
    }

    .pf-nav-social {
        display: none;
    }

    .hamburger-click-area {
        display: block;
    }

    .logo-wrap {
        width: 100%;
        flex: 1;
    }

    .site-header {
        height: 90px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-inner {
        padding: 0 20px;
    }

    /* Layout responsive */
    .page-layout {
        flex-direction: column;
    }

    .social-sidebar {
        width: 100%;
        max-height: none;
        position: static;
        margin-top: 30px;
    }

    .main-content h1,
    .main-content .subtitle {
        text-align: center;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 90px;
        padding-top: 0;
    }

    .logo {
        font-size: 21px;
        letter-spacing: 0.5px;
    }

    .container {
        margin-top: 80px;
        padding: 40px 25px;
    }

    h1 {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 11px;
    }

    .subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .post-header {
        padding: 15px 15px 12px 15px;
    }

    .post-content {
        padding: 0 15px 15px 15px;
    }

    .post-message {
        font-size: 14px;
        line-height: 20px;
    }

    .post-footer {
        padding: 12px 15px 15px 15px;
    }

    .shared-link {
        margin: 15px 0;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 3px;
    }

    .pagination-btn {
        min-width: 35px;
        height: 35px;
        font-size: 11px;
    }

    /* Reactions responsive 768px */
    .reaction-icon {
        width: 18px;
        height: 18px;
        font-size: 12px;
        margin-right: -5px;
    }

    .reactions-total {
        font-size: 12px;
    }

    .reactions-breakdown {
        padding: 8px 10px;
    }

    .reaction-detail-icon {
        font-size: 16px;
    }

    .reaction-detail-count {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 70px;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .container {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .feed-controls {
        justify-content: center;
    }

    .posts-container {
        gap: 30px;
    }

    .post-media {
        height: 300px;
    }

    .mobile-nav a {
        font-size: 12px;
    }

    /* Reactions responsive 480px */
    .reaction-icon {
        width: 16px;
        height: 16px;
        font-size: 11px;
        margin-right: -4px;
    }

    .reactions-breakdown {
        left: 0;
        transform: none;
    }

    .reactions-breakdown::after,
    .reactions-breakdown::before {
        left: 20px;
        transform: none;
    }
}

/* Compteurs stats */
.stats-section {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 20px;
    margin-left: 2px;
}

.stat-label {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-top: 8px;
}

/* Disponibilité */
.availability-text {
    margin-top: 30px;
    font-size: 14px;
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.availability-text a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #1a1a1a;
    transition: border-color 0.3s ease;
}

.availability-text a:hover {
    border-color: transparent;
}

.gallery-intro {
    margin-top: 35px;
    margin-bottom: 0;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: #555;
    letter-spacing: 0.5px;
}

/* Cartes galeries */
.gallery-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.gallery-card {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateX(5px);
}

.gallery-card-img {
    width: 240px;
    min-width: 240px;
    height: 150px;
    overflow: hidden;
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-card-title {
    padding: 0 25px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.gallery-separator {
    border-top: 1px solid #e0e0e0;
    margin: 0 10px;
}

@media (max-width: 480px) {
    .gallery-card-img {
        width: 180px;
        min-width: 180px;
        height: 110px;
    }

    .gallery-card-title {
        font-size: 12px;
        padding: 0 15px;
        letter-spacing: 2px;
    }
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour iframe */
body.iframe-mode {
    padding: 0;
    background: transparent;
}

body.iframe-mode .container {
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}
