/*
Theme Name: Strategie Analytique
Theme URI: https://strategieanalytique.com
Author: Antigravity x Cedrick Kounougo
Description: Un thème WordPress minimaliste haut de gamme pour expert en ingénierie et investissement.
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: strategie-analytique
*/

/* -------------------------------------------------------------------------
 * 1. IMPORT FONTS
 * ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* -------------------------------------------------------------------------
 * 2. VARIABLES & RESET
 * ------------------------------------------------------------------------- */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --accent-color: #000000;
    --border-color: #eeeeee;
    --container-width: 1100px;
    --section-padding: 100px;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------------
 * 3. TYPOGRAPHY
 * ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* -------------------------------------------------------------------------
 * 4. LAYOUT
 * ------------------------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: var(--section-padding) 0;
}

/* -------------------------------------------------------------------------
 * 3. LOGO & HEADER (FORCED VISIBILITY V4.3)
 * ------------------------------------------------------------------------- */
.site-logo-v43 {
    max-height: 52px;
    width: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.site-logo-v43:hover {
    transform: translateY(-2px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

/* -------------------------------------------------------------------------
 * 2. PROMO BANNER (EXECUTIVE V4.3)
 * ------------------------------------------------------------------------- */
.promo-banner-v4 {
    background: linear-gradient(90deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    color: #fff;
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.promo-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.promo-icon {
    font-size: 1.2rem;
}

.promo-text {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.promo-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.promo-close:hover {
    color: #fff;
}

/* -------------------------------------------------------------------------
 * 4. ANIMATIONS
 * ------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* -------------------------------------------------------------------------
 * 4. HEADER & NAV (GLASSMORPHISM)
 * ------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo strong {
    font-weight: 600;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 35px;
}

.main-navigation li a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
}

.main-navigation li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.main-navigation li a:hover::after {
    width: 100%;
}

.nav-extra {
    border-left: 1px solid var(--border-color);
    padding-left: 30px;
}

.blog-link {
    font-weight: 700 !important;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

/* -------------------------------------------------------------------------
 * 6. HERO SECTION (ULTRA-PREMIUM V3)
 * ------------------------------------------------------------------------- */
.hero-manifeste {
    text-align: center;
    padding: 220px 0;
    background: url('assets/images/hero-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: #fff; /* Improved contrast for the background */
}

.hero-manifeste::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-manifeste .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Stronger shadow for readability */
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 50px;
    color: rgba(255,255,255,0.9);
}

/* -------------------------------------------------------------------------
 * 7. BUTTONS & CTAS (EXECUTIVE GLOW)
 * ------------------------------------------------------------------------- */
.btn-minimal {
    display: inline-block;
    padding: 18px 36px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border: 1px solid #000;
    color: #000;
    background: #fff;
    position: relative;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 0 transparent;
}

.btn-minimal:hover {
    color: #fff;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.btn-minimal.accent {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-minimal.accent:hover {
    background: #fff;
    color: #000;
}

.hero-manifeste .btn-minimal {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.hero-manifeste .btn-minimal:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

/* -------------------------------------------------------------------------
 * 8. EXPERTISE PILLARS (REDEEMED V10)
 * ------------------------------------------------------------------------- */
.section-title {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.02em;
}

.grid-piliers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.pilier {
    background: #fff;
    padding: 60px 45px;
    text-align: center;
    border: 1px solid #f2f2f2;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pilier:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
    border-color: #eee;
}

.pilier h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.pilier p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.pillar-icon {
    width: 60px !important;
    height: auto !important;
    margin: 0 auto 35px;
    display: block !important;
    filter: none !important;
    opacity: 1 !important;
}

/* -------------------------------------------------------------------------
 * 9. IMPACT & FIGURES (NEW V10)
 * ------------------------------------------------------------------------- */
.impact-figures {
    background: #000;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.figure-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.figure-number {
    font-size: 4rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    color: #fff;
}

.figure-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.5;
}
.pilier-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-minimal {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 4px;
    align-self: center;
}

.btn-minimal.accent {
    font-weight: 600;
    color: #000;
    border-bottom-width: 2px;
}

/* -------------------------------------------------------------------------
 * 8b. PROJECTS
 * ------------------------------------------------------------------------- */
.projets-recents {
    background-color: #fcfcfc;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
}

.project-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pilier-card,
.project-card,
.blog-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pilier-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: #000;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-content {
    padding: 40px;
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
 * 9. BLOG & CARDS
 * ------------------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-read-more {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: lowercase;
    font-style: italic;
}

/* -------------------------------------------------------------------------
 * 12. REDEEDMED FOOTER (V10 CENTRALIZED)
 * ------------------------------------------------------------------------- */
.site-footer-v10 {
    padding: 100px 0 60px;
    background: #000 !important; /* FORCED BLACK */
    color: #fff !important;
    text-align: center;
}

.footer-centered-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-branding {
    margin-bottom: 60px;
}

.footer-logo-v10 {
    max-height: 50px;
    filter: brightness(0) invert(1) !important;
    margin-bottom: 25px;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

.footer-newsletter-v10 {
    margin-bottom: 80px;
    padding: 60px 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.newsletter-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0.8;
}

.footer-newsletter-v10 p {
    font-size: 1rem;
    opacity: 0.4;
    margin-bottom: 35px;
    font-weight: 300;
}

.newsletter-form-v10 {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form-v10 input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px 25px;
    color: #fff;
    flex: 1;
    font-size: 0.9rem;
}

.newsletter-form-v10 .btn-minimal {
    padding: 18px 30px;
}

.footer-nav-v10 {
    margin-bottom: 60px;
}

.footer-links-horizontal {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-links-horizontal a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.4;
    font-weight: 600;
}

.footer-links-horizontal a:hover {
    opacity: 1;
}

.footer-disclaimer-v10 {
    margin-bottom: 60px;
}

.disclaimer-inner {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
}

.disclaimer-inner strong {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    margin-bottom: 15px;
    opacity: 0.6;
}

.disclaimer-inner p {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.35;
    max-width: 600px;
    margin: 0 auto 20px;
}

.legal-link {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.footer-bottom-v10 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    opacity: 0.25;
}

.copyright, .legal-mini a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-mini a {
    margin-left: 20px;
}

/* -------------------------------------------------------------------------
 * 10. SALES PAGES
 * ------------------------------------------------------------------------- */
.sales-page {
    padding: 80px 0;
}

.container-narrow {
    max-width: 900px;
}

.sales-header {
    text-align: center;
    margin-bottom: 80px;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.sales-title {
    margin-bottom: 20px;
}

.sales-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

.sales-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 80px;
    align-items: start;
}

.sales-content {
    font-size: 1.1rem;
}

.sales-content h2 {
    margin-top: 50px;
    font-size: 2rem;
}

.cta-card {
    background: #000;
    color: #fff;
    padding: 50px 40px;
    text-align: center;
}

.sticky-sidebar {
    position: sticky;
    top: 50px;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-card .price {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

.cta-card .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-primary-large {
    display: block;
    background: #fff;
    color: #000;
    padding: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.3s ease;
}

.btn-primary-large:hover {
    background: #eee;
    opacity: 1;
}

@media (max-width: 900px) {
    .sales-layout {
        grid-template-columns: 1fr;
    }

    .cta-card {
        margin-top: 50px;
    }
}

/* -------------------------------------------------------------------------
 * 11. BLOG SINGLE & POSTS
 * ------------------------------------------------------------------------- */
.container-very-narrow {
    max-width: 750px;
}

.blog-post-single {
    padding: 60px 0;
}

.post-header {
    text-align: center;
    margin-bottom: 60px;
}

.post-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.post-title {
    font-size: 3rem;
    margin-bottom: 40px;
}

.post-thumbnail {
    margin-top: 40px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 30px;
}

.post-footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-navigation {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

/* -------------------------------------------------------------------------
 * 14. CONTACT PAGE
 * ------------------------------------------------------------------------- */
.contact-page {
    padding: 120px 0 100px;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
}

.info-item {
    margin-bottom: 40px;
}

.info-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.info-item p {
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background: #fcfcfc;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* -------------------------------------------------------------------------
15. STANDARD PAGES
------------------------------------------------------------------------- */
.site-page {
    padding: 120px 0 100px;
}

.page-header {
    margin-bottom: 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2,
.entry-content h3 {
    margin: 50px 0 20px;
}

/* -------------------------------------------------------------------------
 * 12. MOBILE RESPONSIVE
 * ------------------------------------------------------------------------- */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-piliers {
        grid-template-columns: 1fr;
    }

    .main-navigation ul {
        display: none;
    }

    .hero-manifeste {
        padding: 100px 0;
    }
}