/* === VARIABLES CSS === */
:root {
    --primary-color: #3f3837;
    --primary-light: #5a5150;
    --accent-color: #d3c1af;
    --accent-light: #dcc9b8;
    --text-dark: #2d2926;
    --text-light: #6b625e;
    --text-muted: #8e857f;
    --bg-light: #faf9f7;
    --bg-white: #ffffff;
    --border-color: #e8e1dc;
    --shadow: 0 4px 6px -1px rgba(63, 56, 55, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(63, 56, 55, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* === TYPOGRAPHIE === */
h1, h2, h3 {
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bg-white);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 160px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.card-link {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-width: auto;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* === NAVIGATION === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(63, 56, 55, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--bg-white);
    margin: 0;
    text-align: left;
}

.logo h2 a {
    color: var(--bg-white);
    text-decoration: inherit;
}

.logo p {
    font-size: 0.875rem;
    color: var(--accent-color);
    margin: 0;
}

.logo p a {
    color: var(--accent-color);
    text-decoration: inherit;
} 

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--bg-white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    z-index: 3;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder i {
    font-size: 6rem;
    color: var(--accent-color);
}

/* === HERO LOGO === */
.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    background: var(--accent-color);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    display: block;
}

/* === PORTRAIT IMAGE === */
.portrait-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* === SECTIONS GÉNÉRALES === */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === PRÉSENTATION === */
.presentation {
    background: var(--bg-light);
    position: relative;
    z-index: 3;
}

.presentation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.presentation-image {
    display: flex;
    justify-content: center;
    align-self: start;
    margin-top: 2rem;
}

.intro .title {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.description p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.qualifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualifications ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.qualifications ul li i {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    min-width: 1.3em;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
}

.presentation-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 250px;
    height: 300px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--text-muted);
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* === DOMAINES === */
.domaines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.domaine-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.domaine-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.domaine-card h3 {
    margin-bottom: 1.5rem;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
}

.domaine-card ul {
    list-style: none;
    flex-grow: 1;
}

.domaine-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.domaine-card li:last-child {
    border-bottom: none;
}

.domaine-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* === HONORAIRES === */
.honoraires {
    background: var(--bg-light);
}

.honoraires-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pricing-intro {
    text-align: center;
}

.pricing-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.pricing-modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-mode {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-mode h4 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    min-height: 3rem;
}

.pricing-mode h4 i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.pricing-mode p {
    flex-grow: 1;
    text-align: justify;
}

.price {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-top: 1rem;
}

.pricing-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.price-highlight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

/* === CONTACT === */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
    min-width: 24px;
    flex-shrink: 0;
}

.contact-item p, .contact-item a {
    margin: 0;
    color: var(--text-light);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.social-links {
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* === FORMULAIRE === */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.contact-form h3 {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(211, 193, 175, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='m2 0-2 2h4zm0 5 2-2h-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    appearance: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

/* === GOOGLE MAPS === */
.map-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.map-container h4 {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-container h4 i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-address {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.map-address h5 {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.map-address p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.map-address i {
    color: var(--accent-color);
    width: 16px;
    margin-right: 0.5rem;
}

.map-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 1rem;
    background: rgba(211, 193, 175, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(211, 193, 175, 0.3);
}

.map-details h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.map-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.map-details li {
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-details li i {
    color: var(--accent-color);
    width: 14px;
    font-size: 0.85rem;
}

.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    height: 300px;
}

.map-wrapper:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* === FOOTER === */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* === ACTUALITÉS === */
.actualites {
    background: var(--bg-white);
}

.actualites-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.1);
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.125rem;
}

.filter-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag-filter {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.875rem;
}

.tag-filter:hover,
.tag-filter.active {
    background: var(--accent-color);
    color: var(--bg-white);
    border-color: var(--accent-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    font-size: 3rem;
}

.article-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 60px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.article-date .day {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
}

.article-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin: 0.25rem 0;
}

.article-date .year {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.article-category {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-category.fiscal {
    background: rgba(211, 193, 175, 0.2);
    color: #8b7d6b;
}

.article-category.societes {
    background: rgba(63, 56, 55, 0.1);
    color: #3f3837;
}

.article-category.commercial {
    background: rgba(211, 193, 175, 0.15);
    color: #9e8e7a;
}

.article-category.contentieux {
    background: rgba(63, 56, 55, 0.15);
    color: #4a423f;
}

.reading-time {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-read-more:hover {
    background: var(--accent-color);
    color: var(--bg-white);
}

.article-stats {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.actualites-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.load-more {
    justify-self: start;
    align-self: center;
}

.newsletter-signup {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.newsletter-signup h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-signup p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Animation pour le filtrage */
.article-card.fade-out {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-card.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-card.hidden {
    display: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .honoraires-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .actualites-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .search-bar {
        max-width: none;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .actualites-footer {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .load-more {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 0 1rem;
        text-align: center;
        padding-top: 140px;
        min-height: calc(100vh + 40px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .qualifications {
        text-align: left;
    }
    
    .qualifications li {
        align-items: flex-start;
    }
    
    .qualifications li i {
        margin-top: 0.125rem;
        flex-shrink: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .map-wrapper {
        height: 250px;
    }
    
    .domaines-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .domaine-card,
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .map-wrapper {
        height: 200px;
    }
    
    .map-address,
    .map-details {
        padding: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: none;
    }
    
    .filter-tags {
        gap: 0.5rem;
    }
    
    .tag-filter {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero {
        padding-top: 160px;
        min-height: calc(100vh + 60px);
    }
    
    .hero-logo {
        max-width: 250px;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        min-width: 140px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .qualifications {
        text-align: left;
    }
    
    .qualifications li {
        align-items: flex-start;
    }
    
    .qualifications li i {
        margin-top: 0.125rem;
        flex-shrink: 0;
    }
}

.main-content {
    margin-top: 0;
    padding-top: 0;
}
        
.page-hero {
    background: var(--bg-light);
    color: var(--primary-color);
    color: #3f3837 !important;
    padding-top: calc(4rem + 80px);
    padding-bottom: 2.5rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    color: #3f3837 !important;
    font-family: var(--font-primary);
    font-weight: 700;
}

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}

.content-section h3 {
    color: var(--primary-color);
    margin: 3rem 0 1rem 0;
    text-align: left;
}
        
.types-controles-box {
    margin: 1.5rem 0 1rem 0;
}

.types-controles-box h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.types-controles-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.types-controles-box li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.types-controles-box li .icon-type {
    color: var(--accent-color);
    font-size: 1.1em;
    margin-top: 0.18em;
    min-width: 1.2em;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.types-controles-box li strong {
    color: var(--accent-color);
    font-weight: 600;
    min-width: 0;
    display: inline;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}
        
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
        
.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    min-height: 3rem;
    display: flex;
    align-items: center;
}
        
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}
        
.service-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}
        
.service-card li:last-child {
    border-bottom: none;
}
        
.service-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-cards,
.optimization-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card,
.service-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-card h4,
.service-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    position: relative;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.benefit-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.warning-box h4 {
    color: #d68910;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
    border-left: none;
}

.cta-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.cta-section .btn {
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: calc(2rem + 80px);
        padding-bottom: 1rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
        color: var(--primary-color);
        color: #3f3837 !important;
    }
        
    .page-hero .hero-subtitle {
        font-size: 1.1rem;
        color: var(--primary-color);
        color: #3f3837 !important;
    }
        
    .method-steps {
        grid-template-columns: 1fr;
    }

    .step:not(:last-child)::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -1rem;
        transform: translateX(50%);
    }
        
    .service-cards,
    .optimization-services,
    .benefits {
    grid-template-columns: 1fr;
    }
        
    .cta-section {
        padding: 2rem;
    }
}