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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Variables CSS */
:root {
    --primary-color: #5ec6fa;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Antic Didone', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: #1e3a22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

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

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

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

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

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

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

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

/* HERO FULLSCREEN IMAGE */
.hero {
    position: relative;
    width: 100vw;
    height: 75vh;
    min-height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 75vh;
    z-index: 0;
}
.hero-image img {
    width: 100vw;
    height: 75vh;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: blur(2px); /* flou très léger uniquement sur l'image */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 75vh;
    background: rgba(0,0,0,0.35);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Hero title animation (inchangé) */
#hero-title-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
#hero-title-anim.show {
    opacity: 1;
    transform: translateY(0);
}

/* Supprimer l'ancien style image hero */
.hero-image-blur-container, .hero-image-blur { display: none !important; }

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.3rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

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

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

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

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-dark .section-title {
    color: var(--white);
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
}

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

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    transition: box-shadow 0.2s;
    justify-content: flex-start;
    align-items: stretch;
}
.property-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    flex-shrink: 0;
}
.property-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
    align-items: stretch;
    min-height: 180px;
    padding: 0 28px;
    background: none;
    color: #222;
}
.property-title, .property-location, .property-price, .property-details, .property-details i {
    color: #222 !important;
    text-shadow: none;
}
.property-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin: 32px 0 0 0;
    padding: 0;
    text-align: left;
}
.property-location {
    font-size: 1.1rem;
    margin-bottom: 0.2em;
    color: #fff;
    opacity: 0.85;
}
.property-price {
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    color: #fff;
    opacity: 0.95;
}
.property-details {
    display: flex;
    gap: 1.2em;
    margin-top: 0.5em;
    color: #fff;
    font-size: 1rem;
    opacity: 0.92;
}
.property-details i {
    color: #fff;
    margin-right: 0.3em;
    font-size: 1.1em;
}
.property-card .btn {
    display: block;
    margin: 32px auto 18px auto;
    text-align: center;
    min-width: 160px;
    align-self: center;
}

/* Estimation Form */
.estimation-container {
    max-width: 800px;
    margin: 0 auto;
}

.estimation-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Team Section */
.team-container {
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #fff;
    font-size: 1.4rem;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-details a[href^="mailto"], .contact-details a[href^="tel"] {
    color: var(--text-light);
}
.contact-details a[href^="mailto"]:hover, .contact-details a[href^="tel"]:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.08);
}

/* Couleurs officielles pour les icônes sociales */
.social-links a[aria-label="Facebook"], .social-links a.facebook {
    background: #1877F3;
    color: #fff;
    border: none;
}
.social-links a[aria-label="Instagram"], .social-links a.instagram {
    background: #E4405F;
    color: #fff;
    border: none;
}
.social-links a[aria-label="LinkedIn"], .social-links a.linkedin {
    background: #0A66C2;
    color: #fff;
    border: none;
}

.social-links a:hover {
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.10));
    transform: translateY(-3px) scale(1.08);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: #e0e0e0;
    color: var(--text-dark);
    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(--text-dark);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    /* Grids */
    .services-grid,
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    /* Team */
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .team-photo {
        width: 150px;
        height: 150px;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .property-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .estimation-form {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
} 

/* Responsive */
@media (max-width: 900px) {
    .property-image { height: 220px; }
    .property-content { padding: 0 16px; min-height: 120px; }
    .property-title { font-size: 1.1rem; margin-top: 18px; }
    .property-card .btn { margin: 18px auto 12px auto; }
}
@media (max-width: 600px) {
    .property-card { min-height: 280px; }
    .property-image { height: 160px; }
    .property-content { padding: 0 8px; min-height: 80px; }
    .property-title { font-size: 1rem; margin-top: 10px; }
    .property-details { font-size: 0.9rem; gap: 0.7em; }
    .property-card .btn { margin: 10px auto 8px auto; }
} 

/* Centrage d'une seule carte de propriété sur une ligne */
.properties-grid:has(.property-card:only-child) {
    justify-items: center;
    display: grid;
    grid-template-columns: 1fr;
}

/* Pour compatibilité avec certains navigateurs qui ne supportent pas :has, fallback flex */
.properties-grid.single-card {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
}

/* Fallback pour les navigateurs sans support :has */
.properties-grid.single-card .property-card {
    width: calc(50% - 1rem);
    margin: 0 auto;
}

/* Design premium pour toutes les cartes de propriété */
.property-card {
    position: relative;
    background: none;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.15);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.property-card .property-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.property-card .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

/* Overlay sombre dégradé vers le bas pour toutes les cartes */
.property-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(30,30,30,0.55) 60%, rgba(30,30,30,0.10) 100%);
    pointer-events: none;
}

.property-card .property-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    padding: 0 32px 32px 32px;
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
}

.property-card .property-title {
    font-size: 2rem;
    font-family: 'Antic Didone', serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.property-card .property-location {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff !important;
    opacity: 0.95;
}

.property-card .property-details {
    color: #fff !important;
    opacity: 0.92;
    margin-bottom: 0.5rem;
}

.property-card .property-price {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff !important;
    opacity: 0.98;
}

.property-card .btn {
    display: none !important;
}

.property-card .property-details i {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
} 

/* Formulaire d'estimation professionnel */
.estimation-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

/* Sections du formulaire */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    font-family: 'Antic Didone', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.form-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Grille et rangées du formulaire */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

.form-row:last-child {
    margin-bottom: 0;
}

/* Groupes de champs */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

/* Styles spécifiques pour les champs avec datalist */
.form-group input[list] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
}

.form-group input[list]:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Placeholder pour indiquer la saisie libre */
.form-group input[list]::placeholder {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* Bouton d'envoi */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.form-actions .btn i {
    font-size: 1rem;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
    .estimation-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .estimation-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .form-actions .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
} 

/* Fond harmonisé avec le logo pour la section équipe */
#equipe.section, section#equipe, .section#equipe, .team-section-bg {
    background: #e0e0e0;
}

#a-louer.section, section#a-louer, .section#a-louer {
    background: #e0e0e0;
}

#services.section, section#services, .section#services {
    background: #e0e0e0;
}

/* Si la section équipe n'a pas d'ID, cibler via l'ordre ou ajouter une classe à la section dans le HTML pour plus de robustesse. */ 

/* Centrage parfait du bouton Laisser un avis sous la carte */
.contact-map .avis-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 2rem auto;
    width: 100%;
    max-width: 320px;
} 

/* Nouvelle section Nos Services moderne */
.services-modern {
  background: #e0e0e0;
  padding: 80px 0;
}
.services-modern .section-title {
  color: var(--text-dark);
  font-family: 'Antic Didone', serif;
  font-size: 2.5rem;
}
.services-modern .section-intro {
  color: var(--text-light);
  font-size: 1.15rem;
  margin: 0 auto 2.5rem auto;
  max-width: 600px;
  text-align: center;
}
.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .services-grid-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.service-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(94,198,250,0.08), 0 1.5px 8px 0 rgba(0,0,0,0.04);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1.5px solid #f5e9da;
}
.service-block:hover {
  box-shadow: 0 8px 32px 0 rgba(94,198,250,0.18), 0 4px 24px 0 rgba(0,0,0,0.08);
  transform: translateY(-8px) scale(1.025);
}
.service-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px 0 rgba(94,198,250,0.10);
  background: #f5e9da;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-title {
  font-family: 'Antic Didone', serif;
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  text-align: center;
}
.service-desc {
  color: var(--text-light);
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 0;
} 

/* Popup description service en overlay sur l'image, sans changer la taille */
.service-img {
  position: relative;
}
.service-desc-popup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(30, 42, 60, 0.88);
  color: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 20;
  padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.7;
}
.service-block.active .service-desc-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.service-desc-popup p {
  color: #fff;
  margin: 0;
  font-size: 1.08rem;
}
.close-desc {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 30;
}
.close-desc:hover {
  color: var(--primary-color);
}
@media (max-width: 900px) {
  .service-desc-popup {
    font-size: 1rem;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .service-desc-popup {
    font-size: 0.98rem;
    padding: 1rem 0.3rem 0.8rem 0.3rem;
  }
} 