/* Styles publics pour Osmose ADS - Design Moderne Inspiré Tailwind */

/* ========== VARIABLES CSS ========== */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #10b981;
    --accent-hover: #059669;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* ========== RESET & BASE ========== */
.osmose-ad-page-modern {
    background: var(--gray-50);
    min-height: 100vh;
}

/* ========== HERO SECTION ========== */
.osmose-hero-modern {
    position: relative;
    padding: 5rem 0;
    text-align: center;
    color: white;
    overflow: hidden;
}

.osmose-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    transform: scale(1.1);
}

.osmose-hero-overlay-modern {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.osmose-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.osmose-hero-content-modern {
    max-width: 56rem;
    margin: 0 auto;
}

.osmose-hero-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.osmose-hero-title-modern i {
    margin-right: 1rem;
    font-size: 2.25rem;
    color: #ffffff !important;
}

.osmose-hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.75;
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.osmose-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .osmose-hero-buttons {
        flex-direction: row;
    }
    
    .osmose-hero-title-modern {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .osmose-hero-title-modern {
        font-size: 3.5rem;
    }
}

.osmose-btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    color: #ffffff !important;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.osmose-btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.osmose-btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.osmose-btn-hero i {
    color: #ffffff !important;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.osmose-btn-hero:hover i {
    transform: scale(1.1);
}

.osmose-btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #ffffff !important;
}

.osmose-btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    color: #ffffff !important;
}

.osmose-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff !important;
}

.osmose-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: #ffffff !important;
}

/* ========== CONTENU SECTION ========== */
.osmose-content-section {
    padding: 4rem 0;
}

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

.osmose-content-wrapper {
    width: 100%;
}

.osmose-content-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
}

@media (min-width: 768px) {
    .osmose-content-card {
        padding: 3rem;
    }
}

.osmose-content-grid {
    display: grid;
    gap: 2rem;
}

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

/* Colonne Gauche - Contenu */
.osmose-content-left {
    space-y: 1.5rem;
}

/* Image mise en avant dans le contenu */
.osmose-featured-image-container {
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.osmose-featured-image-content {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

@media (min-width: 768px) {
    .osmose-featured-image-content {
        max-height: 600px;
    }
}

.osmose-content-text {
    space-y: 1rem;
}

.osmose-h2 {
    font-size: 2em;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.osmose-h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--gray-900);
    margin: 1.5rem 0 0.75rem;
}

.osmose-h4 {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--gray-900);
    margin: 1.25rem 0 0.5rem;
}

.osmose-paragraph {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.osmose-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.osmose-list li {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    line-height: 1.75;
}

/* Sidebar */
.osmose-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.osmose-sidebar-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.osmose-card-green {
    background: #ecfdf5;
}

.osmose-card-yellow {
    background: #fef9e7;
    border-left: 4px solid #d97706;
}

.osmose-card-gradient {
    background: linear-gradient(to right, #eff6ff, #ecfdf5);
    border-left: 4px solid var(--primary-color);
}

.osmose-card-gray {
    background: var(--gray-50);
}

.osmose-card-border {
    border: 1px solid var(--gray-200);
}

.osmose-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.osmose-sidebar-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.osmose-sidebar-text {
    line-height: 1.75;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.osmose-btn-devis-inline {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.osmose-btn-devis-inline:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
}

/* Bouton d'appel dans la sidebar */
.osmose-card-call {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
}

.osmose-card-call .osmose-sidebar-subtitle {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.osmose-card-call .osmose-sidebar-text {
    color: rgba(255, 255, 255, 0.95);
}

.osmose-btn-call-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: white;
    color: var(--primary-color);
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.osmose-btn-call-sidebar:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.osmose-btn-call-sidebar i {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.osmose-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.osmose-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.osmose-info-list i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Partage Social */
.osmose-social-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.osmose-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #ffffff !important;
    border: none;
}

.osmose-social-btn span {
    color: #ffffff !important;
    font-weight: 600;
}

.osmose-social-btn i {
    color: #ffffff !important;
    font-size: 1.125rem;
}

.osmose-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #ffffff !important;
}

.osmose-social-btn:hover span {
    color: #ffffff !important;
}

.osmose-social-btn:hover i {
    color: #ffffff !important;
}

.osmose-social-fb {
    background: #1877f2 !important;
    color: #ffffff !important;
}

.osmose-social-fb:hover {
    background: #1565c0 !important;
    color: #ffffff !important;
}

.osmose-social-wa {
    background: #25d366 !important;
    color: #ffffff !important;
}

.osmose-social-wa:hover {
    background: #128c7e !important;
    color: #ffffff !important;
}

.osmose-social-email {
    background: var(--gray-600) !important;
    color: #ffffff !important;
}

.osmose-social-email:hover {
    background: var(--gray-700) !important;
    color: #ffffff !important;
}

/* CTA Section */
.osmose-cta-section {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.osmose-cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.osmose-cta-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.osmose-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .osmose-cta-buttons {
        flex-direction: row;
    }
}

/* ========== AVIS CLIENTS (GOOGLE REVIEWS) ========== */
.osmose-reviews-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
}

.osmose-reviews-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.osmose-reviews-text {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.osmose-reviews-widget {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* ========== ANNONCES SIMILAIRES ========== */
.osmose-related-section {
    padding: 4rem 0;
    background: var(--gray-100);
}

.osmose-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.osmose-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.osmose-section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.osmose-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .osmose-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .osmose-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.osmose-related-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.osmose-related-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.osmose-related-content {
    padding: 1.5rem;
}

.osmose-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.osmose-related-excerpt {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.osmose-related-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.osmose-related-link:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateX(4px);
}

/* ========== BOUTON FLOTTANT ========== */
.osmose-floating-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    transition: all 0.3s;
    z-index: 50;
    font-size: 1.5rem;
}

.osmose-floating-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .osmose-hero-modern {
        padding: 3rem 0;
    }
    
    .osmose-hero-title-modern {
        font-size: 1.875rem;
    }
    
    .osmose-hero-description {
        font-size: 1rem;
    }
    
    .osmose-content-section {
        padding: 2rem 0;
    }
    
    .osmose-content-card {
        padding: 1.5rem;
    }
    
    .osmose-sidebar-modern {
        margin-top: 2rem;
    }
}

