/*
Theme Name: Fiducie Blog - Bensaid Avocats
Theme URI: https://www.bensaid-avocats.fr
Description: Thème WordPress premium pour le blog Fiducie-Sûreté. Design Hermès Luxe avec optimisation SEO complète.
Version: 1.0
Author: Bensaid Avocats
Author URI: https://www.bensaid-avocats.fr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fiducie-blog
Tags: blog, law, luxury, two-columns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

Ce thème a été créé spécifiquement pour le blog Fiducie-Sûreté de Bensaid Avocats.
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@200;300;400;500&display=swap');

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --black-deep: #121212;
    --grey-slate: #2C2C2C;
    --white-soft: #FAFAFA;
    --white-cream: #F9F7F2;
    --orange-hermes-muted: #D15F1C;
    --container-width: 1300px;
    --spacing-section: 120px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white-cream);
    color: var(--grey-slate);
    line-height: 1.8;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    margin-top: 0;
    color: var(--black-deep);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

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

/* WordPress Classes */
.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.site-header {
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)), url('images/hero_luxury.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--orange-hermes-muted);
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

.site-title a {
    color: inherit;
}

.site-description {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.site-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #444;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 60px 40px;
    padding: 80px 0;
}

/* Article Card */
.article-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-card:hover {
    transform: translateY(-10px);
}

.article-card.featured {
    grid-column: span 8;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: stretch;
    background-color: #fff;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.featured-image-container {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.article-card.featured .card-content {
    padding: 60px;
    border-top: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content {
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.article-card:hover .card-content {
    border-top-color: var(--orange-hermes-muted);
}

.article-category {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.article-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 15px;
}

.article-title a {
    background-image: linear-gradient(var(--black-deep), var(--black-deep));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .5s;
}

.article-card:hover .article-title a {
    background-size: 100% 1px;
    color: var(--orange-hermes-muted);
}

.article-excerpt {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

.read-more-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    color: var(--orange-hermes-muted);
}

.read-more-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--orange-hermes-muted);
    transition: width 0.3s ease;
}

.article-card:hover .read-more-link::before {
    width: 100%;
}

/* Single Post */
.single-post-container {
    max-width: 900px;
    margin: 80px auto;
    background: #fff;
    padding: 100px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.03);
    position: relative;
}

.single-post-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.post-header {
    text-align: center;
    margin-bottom: 80px;
}

.post-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.post-meta {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 1px;
}

.post-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #444;
}

.post-content .intro {
    font-size: 1.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--black-deep);
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

.post-content h2 {
    font-size: 2.5rem;
    margin-top: 60px;
    margin-bottom: 30px;
}

.post-content h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--orange-hermes-muted);
}

.post-content blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    text-align: center;
    color: var(--orange-hermes-muted);
    border: none;
    margin: 60px 0;
    line-height: 1.4;
    position: relative;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    padding: 30px;
    background: var(--white-cream);
    border-left: 3px solid var(--orange-hermes-muted);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 10px;
    color: var(--orange-hermes-muted);
}

.author-info p {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
.site-footer {
    padding: 80px 0;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.site-footer a {
    color: var(--orange-hermes-muted);
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .site-description {
        font-size: 3.8rem;
    }
}

@media (max-width: 1024px) {
    .article-card {
        grid-column: span 6;
    }

    .article-card.featured {
        grid-column: span 12;
    }

    .site-description {
        font-size: 3.2rem;
    }

    .blog-grid {
        gap: 40px 30px;
        padding: 60px 0;
    }
}

@media (max-width: 768px) {

    /* Header Mobile */
    .site-header {
        padding: 80px 0 60px;
        background-attachment: scroll;
    }

    .site-title {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .site-description {
        font-size: 2.2rem;
        letter-spacing: 0;
    }

    .site-tagline {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    /* Grid Mobile */
    .article-card {
        grid-column: span 12;
    }

    .article-card.featured {
        grid-template-columns: 1fr;
        grid-column: span 12;
    }

    .article-card.featured .card-content {
        padding: 40px 30px;
    }

    .featured-image-container {
        height: 250px;
        min-height: auto;
    }

    .blog-grid {
        gap: 50px 0;
        padding: 40px 0;
    }

    /* Article Titles Mobile */
    .article-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .article-excerpt {
        font-size: 0.95rem;
    }

    /* Single Post Mobile */
    .single-post-container {
        padding: 40px 25px;
        margin: 40px auto;
    }

    .single-post-container::before {
        display: none;
    }

    .post-header {
        margin-bottom: 40px;
    }

    .post-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .post-meta {
        font-size: 0.7rem;
    }

    .post-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .post-content .intro {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .post-content h2 {
        font-size: 1.8rem;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .post-content h3 {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .post-content blockquote {
        font-size: 1.4rem;
        margin: 40px 0;
        padding: 0 15px;
    }

    /* Author Box Mobile */
    .author-box {
        flex-direction: column;
        padding: 25px 20px;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto 15px;
    }

    .author-info p {
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 50px 0;
        font-size: 0.65rem;
    }

    .site-footer a {
        display: inline-block;
        margin: 5px 8px;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {

    /* Extra Small Mobile */
    .site-header {
        padding: 60px 0 50px;
    }

    .site-description {
        font-size: 1.8rem;
    }

    .site-tagline {
        font-size: 0.8rem;
    }

    .article-title {
        font-size: 1.4rem;
    }

    .post-header h1 {
        font-size: 1.7rem;
    }

    .post-content p {
        font-size: 1rem;
    }

    .single-post-container {
        padding: 30px 20px;
    }

    .container {
        padding: 0 15px;
    }
}