* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Cormorant Garamond', serif;
    background: #fff;
    color: #111;
    line-height: 1.6;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #bd2e34;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 1.2rem 4rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: capitalize;
}

.logo img {
    height: 40px;
    width: auto;
    display: inline-block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    font-weight: 600;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 6rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: #111;
    text-align: center;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 2rem;
    overflow: hidden;
    background-color: #111;
    background-image: url('elmt/wallpaper/PHOTO-2026-08-10-22-57-56.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: none;
    background: rgba(0, 0, 0, 0.35);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 900px;
    padding: 2rem 2.5rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
    color: #111;
}

.hero-section h1,
.hero-section .subtitle {
    text-shadow: none;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: capitalize;
    color: #bd2e34;
    text-shadow: none;
}

.hero-section .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #111;
}

/* Home Cards Section */
.home-cards-section {
    background-color: #fff;
    padding: 1rem 2rem;
}

.home-cards {
    display: flex;
    gap: 0;
    width: 100%;
    align-items: stretch;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.home-card-divider {
    width: 1px;
    background: #bd2e34;
    opacity: 0.4;
    flex-shrink: 0;
    margin: 0 2rem;
}

.home-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    transition: all 0.3s;
    cursor: pointer;
}

.home-card:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
}

.home-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #bd2e34;
}

.home-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
}

/* Section Vision */
.vision-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #fff;
    background-image: url('elmt/wallpaper/WhatsApp-Image-2026-08-10-at-225900.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.vision-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.vision-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.vision-section .section-content {
    position: relative;
    z-index: 1;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.vision-text {
    background: #fff;
    color: #111;
    padding: 1.6rem;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
}

.vision-text h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #bd2e34;
    text-transform: capitalize;
}

.vision-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #111;
    margin-bottom: 1.5rem;
}

.vision-image {
    width: 100%;
    height: 500px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 2rem;
    letter-spacing: 3px;
}

/* Vision section text color override */
.vision-section {
    color: #fff !important;
}

.hero-section .subtitle,
.hero-copy {
    color: #111 !important;
}

/* Ensure titles and subtitles are red where requested */
.hero-section h1,
.vision-text h1,
.section-title,
.home-card h2,
.subtitle-text,
.portfolio-category-section h2,
.contact-info h2,
.team-member h2,
.architecte-section .value-card h3 {
    color: #bd2e34 !important;
}

body.page-vision .vision-text,
body.page-vision .vision-text p,
body.page-vision .vision-text a,
body.page-vision .vision-text li {
    color: #fff !important;
}

.architecte-section .value-card p,
.team-member .role {
    color: #222 !important;
}

.portfolio-category-title {
    color: #bd2e34 !important;
    border-bottom-color: #bd2e34 !important;
}

/* Ensure portfolio categories stay red */
.portfolio-category-section h2 {
    color: #bd2e34 !important;
    border-bottom-color: #bd2e34 !important;
}

/* Section Services */
.services-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
}

.services-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.services-section .section-content {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 600;
    letter-spacing: -1px;
    color: #bd2e34;
    text-transform: capitalize;
}

.services-grid {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

.service-divider {
    width: 1px;
    background: #bd2e34;
    flex-shrink: 0;
    opacity: 0.4;
}

.service-card {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    padding: 3rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.service-card:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #bd2e34;
    text-transform: capitalize;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1rem;
}

/* Section Portfolio */
.portfolio-section {
    background: transparent;
}

.portfolio-category-section {
    margin-top: 3rem;
}

.portfolio-category-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #bd2e34;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #bd2e34;
    text-transform: capitalize;
}

.portfolio-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.portfolio-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background: #ddd;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.portfolio-info {
    padding: 2rem;
    display: none;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #222;
    text-transform: capitalize;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: #666;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    padding: 0;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Hide controls for single-image carousels */
.carousel.no-controls .carousel-btn,
.carousel.no-controls .carousel-dots {
    display: none;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #fff;
}

/* Section Contact */
.contact-section {
    background: transparent;
}

.contact-content {
    display: flex;
    gap: 0;
    margin-top: 3rem;
    align-items: stretch;
}

.contact-divider {
    width: 1px;
    background: #bd2e34;
    opacity: 0.4;
    flex-shrink: 0;
    margin: 0 3rem;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #bd2e34;
    text-transform: capitalize;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #555;
}

.contact-details strong {
    color: #222;
    font-weight: 600;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #222;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #222;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #222;
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #fff;
    color: #111;
    padding: 4rem 4rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: #bd2e34;
}

.footer-section p,
.footer-section a {
    color: #111;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #bd2e34;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: #111;
}

.social-links a:hover {
    background: #e6e6e6;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.85rem;
}

/* Footer black for specific pages */
body.page-home footer,
body.page-vision footer,
body.page-architecte footer,
body.page-services footer,
body.page-portfolio footer,
body.page-contact footer {
    background: #000;
    color: #fff;
}

body.page-home footer .footer-section p,
body.page-vision footer .footer-section p,
body.page-architecte footer .footer-section p,
body.page-services footer .footer-section p,
body.page-portfolio footer .footer-section p,
body.page-contact footer .footer-section p,
body.page-home footer .footer-section a,
body.page-vision footer .footer-section a,
body.page-architecte footer .footer-section a,
body.page-services footer .footer-section a,
body.page-portfolio footer .footer-section a,
body.page-contact footer .footer-section a,
body.page-home footer .footer-bottom,
body.page-vision footer .footer-bottom,
body.page-architecte footer .footer-bottom,
body.page-services footer .footer-bottom,
body.page-portfolio footer .footer-bottom,
body.page-contact footer .footer-bottom {
    color: #fff;
}

body.page-home footer .footer-bottom { border-top-color: rgba(255,255,255,0.08); }

/* Grey framed content areas for selected pages */
body.page-architecte .section-content,
body.page-equipe .section-content,
body.page-portfolio .section-content,
body.page-contact .section-content {
    border: 1px solid #ccc;
    border-radius: 18px;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}

/* Architecte page specific overrides */
body.page-architecte .architecte-bio h2 {
    color: #bd2e34 !important;
}

/* Ensure the subtitle on the architecte page stays black */
body.page-architecte .subtitle-text {
    color: #111 !important;
}

/* Page-specific overrides */
/* Make member descriptions black on équipe page as requested */
body.page-equipe .description {
    color: #111 !important;
}

/* Global footer styles: black background and white text on all pages */
footer {
    background: #000;
    color: #fff;
}

footer .footer-section p,
footer .footer-section a,
footer .footer-bottom {
    color: #fff;
}

/* Social icons in footer: white circular background with black icon/text */
footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fff;
    color: #000 !important;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    margin-right: 0.5rem;
    border: 1px solid #e6e6e6;
}

footer .social-links a:hover {
    background: #f2f2f2;
}

/* Explicitly color social links by destination when needed */
footer .social-links a[href*="linkedin"] {
    color: #0A66C2 !important; /* LinkedIn blue */
}

footer .social-links a[href*="instagram"] {
    color: #E1306C !important; /* Instagram accent */
}

body.page-architecte .section-content h1,
body.page-architecte .section-content h2,
body.page-architecte .section-content h3,
body.page-architecte .section-content h4, 
body.page-architecte .section-content h5,
body.page-architecte .section-content h6,
body.page-equipe .section-content h1,
body.page-equipe .section-content h2,
body.page-equipe .section-content h3,
body.page-equipe .section-content h4,
body.page-equipe .section-content h5,
body.page-equipe .section-content h6,
body.page-portfolio .section-content h1,
body.page-portfolio .section-content h2,
body.page-portfolio .section-content h3,
body.page-portfolio .section-content h4,
body.page-portfolio .section-content h5,
body.page-portfolio .section-content h6,
body.page-contact .section-content h1,
body.page-contact .section-content h2,
body.page-contact .section-content h3,
body.page-contact .section-content h4,
body.page-contact .section-content h5,
body.page-contact .section-content h6,
body.page-architecte .section-content p,
body.page-equipe .section-content p,
body.page-portfolio .section-content p,
body.page-contact .section-content p,
body.page-architecte .section-content a,
body.page-equipe .section-content a,
body.page-portfolio .section-content a,
body.page-contact .section-content a {
    color: #fff;
}

body.page-vision .vision-text {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #ccc;
    color: #fff;
}

body.page-vision .vision-text h1,
body.page-vision .vision-text p,
body.page-vision .vision-text a,
body.page-vision .vision-text li {
    color: #fff;
}

/* Force white backgrounds on the requested pages */
body.page-architecte .architecte-section,
body.page-services .services-section,
body.page-portfolio .portfolio-section,
body.page-contact .contact-section {
    background-color: #fff !important;
    color: #111 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-header { padding: 1rem 2rem; }
    section { padding: 4rem 2rem; }
    .hero-section h1 { font-size: 3rem; }
    .home-cards { grid-template-columns: 1fr; }
    .vision-content,
    .contact-content { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

/* Hamburger button - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #bd2e34;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    /* Navigation hamburger */
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 75vw;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        font-size: 1rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        z-index: 1002;
        overflow-y: auto;
    }
    .nav-menu.open { display: flex; }
    .nav-menu.open a {
        color: #111;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    .nav-menu.open a::after { display: none; }
    .nav-menu.open a.active { color: #bd2e34; font-weight: 600; }
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1001;
    }
    .nav-overlay.open { display: block; }
    .nav-toggle {
        z-index: 1003;
    }
    .nav-toggle span {
        background: #fff;
    }
    .site-header { padding: 0.8rem 1.2rem; }

    /* Hero */
    .hero-section {
        min-height: 100svh;
        padding: 1.5rem 1rem;
    }
    .hero-copy {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }
    .hero-section h1 { font-size: 2rem; letter-spacing: 1px; }
    .hero-section .subtitle { font-size: 0.95rem; }

    /* Home cards - stacked vertically */
    .home-cards {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .home-card-divider { display: none; }
    .home-card { padding: 1.2rem 1rem; }

    /* Services - stacked vertically */
    .services-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .service-divider { display: none; }

    /* Portfolio */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-image { height: 220px; }

    /* Section titles */
    .section-title { font-size: 1.8rem; }
    .portfolio-category-section h2 { font-size: 1.4rem; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Fix sections with lots of content on mobile */
    section {
        min-height: auto;
        align-items: flex-start;
        padding-top: 5rem;
    }

    /* Architecte */
    .architecte-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .architecte-photo { max-width: 160px; margin: 0 auto; }
    .architecte-bio h2 { font-size: 1.4rem; margin-top: 1.5rem; }
    .architecte-bio p { font-size: 0.95rem; }

    /* Values grid */
    .values-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: unset !important;
        gap: 1rem;
    }
    .values-vdivider { display: none; }
    .values-hdivider { display: none; }

    /* Vision */
    .vision-content { grid-template-columns: 1fr; }

    /* Contact */
    .contact-content {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .contact-divider { display: none; }
    .contact-form { padding: 1.2rem 1rem; }
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* empêche le zoom auto sur iOS */
        padding: 0.9rem;
    }
    .form-group { margin-bottom: 1rem; }
    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Section Architecte */
.architecte-section {
    background: transparent;
}

.subtitle-text {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

.architecte-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.architecte-photo img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.architecte-bio h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
    color: #bd2e34;
    text-transform: capitalize;
}

.architecte-bio p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    grid-template-rows: auto 1px auto;
    gap: 0;
    margin-top: 2rem;
}

.values-vdivider {
    background: #bd2e34;
    opacity: 0.4;
    width: 1px;
    grid-row: span 1;
}

.values-hdivider {
    background: #bd2e34;
    opacity: 0.4;
    height: 1px;
    grid-column: span 1;
    margin: 0;
}

.value-card {
    padding: 2rem;
    background: #fff;
}

.value-card:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #222;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Section Équipe */
.team-section {
    background: #fff;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.team-member {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-member h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #bd2e34;
    text-transform: capitalize;
}

.team-member .role {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member .description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Section Réalisations */
.realisations-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid #e0e0e0;
}

.realisations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.realisation-category {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.realisation-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #bd2e34;
    border-bottom: 2px solid #bd2e34;
    padding-bottom: 0.8rem;
    text-transform: capitalize;
}

.realisation-category ul {
    list-style: none;
    padding: 0;
}

.realisation-category li {
    padding: 0.6rem 0;
    font-size: 1rem;
    color: #555;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    padding-left: 1.5rem;
    position: relative;
}

.realisation-category li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

.realisation-category li:hover {
    color: #2c3e50;
    padding-left: 2rem;
}

.realisation-category li:last-child {
    border-bottom: none;
}

/* Responsive pour nouvelles sections */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .realisations-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .nav-menu { 
        gap: 1rem; 
        font-size: 0.75rem; 
    }
}

/* Page-specific color overrides requested by user */
/* Ensure architecte section headings (Parcours, Philosophie, Valeurs) are red
   and the subtitle is black */
body.page-architecte .architecte-bio h2 {
    color: #bd2e34 !important;
}

body.page-architecte .subtitle-text {
    color: #111 !important;
}

/* Ensure team descriptions are black on the equipe page */
body.page-equipe .team-member .description {
    color: #111 !important;
}
