/*
Theme Name: Fiducie Heritage
Theme URI: https://www.bensaid-avocats.fr
Author: Bensaid Avocats
Author URI: https://www.bensaid-avocats.fr
Description: Thème Heritage style Pictet
Version: 1.0
*/

:root {
    --primary-dark: #1A1A1A;
    /* Noir Charbon */
    --primary-green: #2C3E50;
    /* Bleu-Vert Institutionnel (Slate) */
    --accent-gold: #C5A065;
    /* Or vieilli/Sable */
    --white-cream: #FDFBF7;
    /* Papier Crémeux */
    --white-pure: #FFFFFF;
    --text-grey: #4A4A4A;
    --container-width: 1200px;
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--white-cream);
    color: var(--primary-dark);
    line-height: 1.6;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: var(--primary-dark);
    line-height: 1.2;
}

.text-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.btn-solid {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-green);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-green);
    border-radius: 2px;
}

.btn-solid:hover {
    background: transparent;
    color: var(--primary-green);
}

.btn-solid.white {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

.btn-solid.white:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-radius: 2px;
    margin-right: 20px;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}

.fade-in {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.site-header {
    padding: 30px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.site-description {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation {
    position: absolute;
    top: 35px;
    right: 40px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.main-navigation a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.btn-nav {
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 2px;
}

/* Hero */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
}

.hero h1 {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 50px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background: var(--white-pure);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

/* Intro / Vision */
.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: var(--text-grey);
    text-align: justify;
}

.intro-image img {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.expertise-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
    /* Important for anchor tag */
    color: inherit;
    /* Inherit text color */
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.card-content {
    padding: 30px 25px;
    border: 1px solid #eee;
    border-top: none;
}

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

.card-content p {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 20px;
    min-height: 60px;
}

.read-more {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1rem;
    position: relative;
}

.read-more::after {
    content: '→';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s;
}

.expertise-card:hover .read-more::after {
    transform: translateX(5px);
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.value-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(197, 160, 101, 0.2);
    margin-bottom: 15px;
}

.value-item p {
    color: var(--text-grey);
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: #fff;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-legal h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-cta {
    padding: 120px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.footer-cta h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {

    .intro-layout,
    .expertise-grid,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .main-navigation {
        display: none;
    }

    .site-header {
        text-align: center;
    }

    .main-navigation ul {
        justify-content: center;
        gap: 15px;
    }
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(18, 18, 18, 0.5), rgba(18, 18, 18, 0.3)),
        url('images/hero-placeholder.jpg') center/cover;
    background-attachment: fixed;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(209, 95, 28, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -2px;
}

.hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--gold-light);
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--orange-hermes);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.4s ease;
    border: 2px solid var(--orange-hermes);
}

.cta-button:hover {
    background: transparent;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 120px 0;
}

section:nth-child(even) {
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--orange-hermes);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Introduction Section */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--orange-hermes);
}

.intro-text p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.9;
}

.intro-text .highlight {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--black-deep);
    margin: 40px 0;
    padding-left: 30px;
    border-left: 3px solid var(--gold-primary);
}

.schema-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.schema-container img,
.schema-container svg {
    width: 100%;
    height: auto;
}

/* Usages Grid */
.usages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.usage-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border-top: 3px solid transparent;
}

.usage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-top-color: var(--orange-hermes);
}

.usage-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
}

.usage-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--black-deep);
}

.usage-card .problem {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--orange-hermes);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.usage-card p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #666;
}

.usage-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.usage-card ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.usage-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 600;
}

.usage-link {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--orange-hermes);
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--orange-hermes);
    transition: all 0.3s ease;
}

.usage-link:hover {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}

/* Avantages Section */
.avantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.avantage-item {
    text-align: center;
    padding: 40px 20px;
}

.avantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--gold-primary), var(--orange-hermes));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.avantage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--black-deep);
}

.avantage-item p {
    font-size: 0.95rem;
    color: #666;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 30px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--white-cream);
}

.faq-question h4 {
    font-size: 1.3rem;
    color: var(--black-deep);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--orange-hermes);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 40px 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--black-deep), var(--grey-slate));
    color: #fff;
    text-align: center;
    padding: 100px 40px;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gold-light);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.cta-button.secondary:hover {
    background: var(--gold-primary);
    color: var(--black-deep);
}

/* Footer */
.footer {
    background: var(--black-deep);
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #999;
}

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

    .hero h1 {
        font-size: 4rem;
    }

    .section-title h2 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .usages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .avantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-content {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-text h3 {
        font-size: 2rem;
    }

    .usages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .usage-card {
        padding: 40px 30px;
    }

    .avantages-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 25px 25px;
    }

    .faq-question h4 {
        font-size: 1.1rem;
    }

    .faq-answer-content {
        padding: 0 25px 25px;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .usage-card {
        padding: 30px 20px;
    }

    .container {
        padding: 0 15px;
    }
}