/* --- CHARTE GRAPHIQUE & CONFIGURATION --- */
:root {
    --primary-color: #0B2545; /* Bleu Marine */
    --secondary-color: #134074; 
    --accent-color: #C5A059; /* Or / Doré */
    --accent-hover: #AA843D;
    --text-dark: #1F2937; 
    --text-light: #F3F4F6; 
    --bg-light: #F8FAFC; 
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif; 
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- LAYOUTS & CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0 auto;
}

.subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #6B7280;
    font-size: 1.1rem;
    font-style: italic;
}

/* --- BARRE DE NAVIGATION (HEADER) --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: table;
    width: 100%;
    padding: 10px 0;
}

.nav-logo {
    display: table-cell;
    vertical-align: middle;
    width: 250px;
}

.nav-logo img {
    display: block;
    max-height: 55px;
    width: auto;
}

.nav-links {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
}

.nav-links a {
    margin-left: 25px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    margin-left: 30px !important;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(11, 37, 69, 0.9), rgba(19, 64, 116, 0.85));
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: #E5E7EB;
    font-style: italic;
}

.hero .btn-main {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin: 10px;
}

.hero .btn-main:hover {
    background-color: var(--accent-hover);
}

.hero .btn-outline {
    background: transparent; 
    border: 2px solid var(--accent-color);
}

/* --- PRESENTATION / LE CABINET --- */
.about-table {
    display: table;
    width: 100%;
    margin-top: 30px;
}

.about-col-text {
    display: table-cell;
    width: 65%;
    vertical-align: middle;
    padding-right: 50px;
}

.about-col-img {
    display: table-cell;
    width: 35%;
    vertical-align: middle;
    text-align: center;
}

.sceau-officiel {
    max-width: 260px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 3px solid var(--accent-color);
}

.about-col-text h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-col-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: justify;
    color: #4B5563;
}

/* --- EXPERTISES (SERVICES) --- */
.expertises {
    background-color: var(--white);
}

.grid-expertises {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px;
}

.grid-row {
    display: table-row;
}

.card-service {
    display: table-cell;
    width: 33.33%;
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 6px;
    border-top: 4px solid var(--primary-color);
    vertical-align: top;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.card-service:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-5px);
}

.card-service h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.card-service p {
    font-size: 0.95rem;
    color: #4B5563;
}

.icon-law {
    font-size: 2rem;
    color: var(--accent-color);
}

/* --- TEAM SECTION --- */
.team-grid-leader {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.team-grid {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 15px;
    margin-top: 20px;
}

.team-row {
    display: table-row;
}

.team-card {
    display: table-cell;
    width: 20%; 
    background-color: var(--white);
    padding: 20px 15px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    vertical-align: top;
    border-bottom: 2px solid transparent;
}

.team-card:hover {
    border-bottom: 2px solid var(--accent-color);
}

.team-leader {
    display: inline-block;
    float: none;
    width: 25%;
    border: 2px solid var(--accent-color);
    background-color: #FFFDF9;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #E5E7EB;
    margin: 0 auto 15px auto;
    line-height: 80px;
    font-size: 1.5rem;
    color: #9CA3AF;
}

.team-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.team-card .phone {
    font-size: 0.8rem;
    color: #6B7280;
}

.team-hidden {
    opacity: 0; 
    pointer-events: none;
}

/* --- CONTACT & FOOTER --- */
.contact-section {
    background-color: var(--white);
}

.contact-table {
    display: table;
    width: 100%;
}

.contact-form-col {
    display: table-cell;
    width: 55%;
    padding-right: 40px;
    vertical-align: top;
}

.contact-info-col {
    display: table-cell;
    width: 45%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 6px;
    vertical-align: top;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 15px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.contact-info-col h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    color: var(--accent-color);
    display: block;
    font-size: 1.05rem;
}

.info-note {
    margin-top: 40px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 20px;
}

.info-note small {
    color: var(--accent-color); 
    font-style: italic;
}

footer {
    background-color: #05101E;
    color: #9CA3AF;
    padding: 40px 0;
    text-align: center;
    font-size: 0.95rem;
    border-top: 3px solid var(--accent-color);
}

footer strong {
    color: var(--white);
}

.signature {
    margin-top: 10px; 
    font-size: 0.85rem; 
    color: #6B7280;
}

/* --- RESPONSIVE MOBILE & TABLETTES --- */
@media (max-width: 768px) {
    .navbar, .about-table, .grid-expertises, .grid-row, .card-service, .team-grid, .team-row, .team-card, .contact-table, .contact-form-col, .contact-info-col {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px;
        padding-right: 0 !important;
    }
    .nav-links {
        text-align: center;
        margin-top: 15px;
    }
    .nav-links a {
        margin: 0 10px;
        display: inline-block;
    }
    .btn-cta {
        margin-left: 0 !important;
        margin-top: 10px;
    }
    .about-col-img {
        text-align: center;
        margin-top: 20px;
    }
    .team-leader {
        width: 100% !important;
    }
}