/* --- Couleurs & Typographie --- */
:root {
    --primary-color: #A31E5D; /* Rose/Rouge foncé */
    --text-dark: #333;
    --text-light: #666;
    --footer-bg: #333;
    --footer-text: #ccc;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* --- Header --- */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.agency-name {
    font-family: 'Times New Roman', Times, serif; /* Pour ressembler au logo original */
    font-size: 36px;
    color: var(--primary-color);
    font-weight: bold;
    text-transform: capitalize;
}

.by-team {
    font-size: 14px;
    color: #666;
    align-self: flex-end;
    margin-top: -5px;
}
.by-team .med { color: var(--primary-color); }

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.top-nav ul, .sub-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}

.top-nav a {
    color: #666;
    font-size: 13px;
}
.top-nav a.active { color: var(--primary-color); font-weight: bold; }

.sub-nav { margin-top: 10px; }
.sub-nav a { color: var(--text-dark); font-weight: bold; font-size: 15px; }
.sub-nav i { color: #888; font-size: 16px; }

.fav { position: relative; }
.fav .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
}

#lang-select {
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

/* --- Bannière --- */
.banner {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1600&auto=format&fit=crop'); /* Image de plage générique */
    background-size: cover;
    background-position: center;
    height: 150px;
    color: #fff;
    display: flex;
    align-items: center;
}

.banner-title-wrapper h1 {
    margin: 0;
    font-size: 28px;
    font-weight: normal;
}

/* --- Contenu Principal (Grille) --- */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.main-text strong { color: #000; font-weight: bold;}
.main-text p { margin-bottom: 20px; }

/* --- Sidebar --- */
.sidebar h2 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 25px;
}

.contact-block { margin-bottom: 30px; }
.contact-block h3 {
    font-size: 14px;
    margin: 0 0 5px 0;
    font-weight: bold;
    color: #000;
}
.contact-block p { margin: 0; font-size: 13px; color: #555; }

.contact-details { margin-top: 15px; }
.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.contact-details i {
    color: #000;
    width: 15px;
    text-align: center;
    font-size: 12px;
}
.contact-details a { color: var(--primary-color); text-decoration: underline;}

.map-container {
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: 12px;
    padding: 40px 0 20px;
    margin-top: 40px;
}

footer a { color: #fff; text-decoration: underline; }
footer strong { color: #fff; }

.footer-top, .footer-middle, .footer-logo-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
}

.footer-logo-section { border: none; margin-bottom: 10px; padding-bottom: 0; }

.agency-info p { margin: 0 0 5px 0; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a {
    background: #555;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
}
.social-links a:hover { background: var(--primary-color); }

.footer-links { display: flex; gap: 15px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline;}

.share-links { display: flex; align-items: center; gap: 10px; }
.share-links i { color: #fff; font-size: 14px; border: 1px solid #555; padding: 5px; border-radius: 50%; width: 22px; text-align: center;}

.responsive-design, .adapt-immo {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 48%;
}

.responsive-design i { font-size: 24px; color: #777; }
.responsive-design span { line-height: 1.4; color: #888;}

.adapt-immo { flex-direction: column; align-items: flex-end; }
.adapt-immo span { text-transform: uppercase; }
.adapt-immo .immo { color: var(--primary-color); font-weight: bold; }
.adapt-immo .details { font-size: 10px; text-transform: none; text-align: right; color: #888; margin-top: 5px;}

.footer-locations {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 11px;
}
.footer-locations ul { list-style: none; padding: 0; margin: 0; width: 22%;}
.footer-locations li { margin-bottom: 3px; }

/* --- RESPONSIVE : Tablettes et Mobiles --- */
@media (max-width: 992px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .header-content { flex-direction: column; text-align: center; gap: 15px; }
    .header-right { align-items: center; }
    .logo { align-items: center; }
    .by-team { align-self: center; }
}

@media (max-width: 768px) {
    .banner { height: 100px; }
    .banner h1 { font-size: 22px; }
    .top-nav ul, .sub-nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .header-right { font-size: 12px; }
    
    .footer-top, .footer-middle, .footer-locations, .footer-logo-section { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
    .footer-links, .share-links { flex-wrap: wrap; justify-content: center; }
    .footer-locations ul { width: 100%; margin-bottom: 10px;}
    
    .responsive-design, .adapt-immo { width: 100%; text-align: center; justify-content: center;}
    .adapt-immo { align-items: center;}
    .adapt-immo .details { text-align: center;}
}