/* =========================
   RESET & BASE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;

    color: #e5e5e5; /* texte sur fond sombre */
    background-color: #212121;
}

h1, h2, h3 {
    color: inherit;
}

p {
    color: inherit;
}

main {
    flex: 1;
}

/* =========================
   HEADER
========================= */

header {
    height: auto;
    border-bottom: 2px solid #000;
    background: #212121;
    position: sticky;
    top: 0;
    z-index: 100;
	font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 0;
}

.header-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.h-logo {
    height: 80px;
    width: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    color: #d4af37;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
    font-size: 14px;

}

@media (max-width: 768px) {
    .h-logo {
        height: 45px;
    }
}

.header-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

/* Boutons header (mutualis�s) */
.header-list a {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #ad7732;
    color: #212121;
    box-shadow: 6px 6px 0px black;
    transition: 0.2s;
}

.header-list a:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px black;
}

/* =========================
   LAYOUT PRINCIPAL
========================= */

.m-page {
    display: flex;
    flex: 1;
}

/* Colonne gauche */
.m-desc {
    width: 25%;
    padding: 40px;
    color: white;
}

/* .m-logo { */
    /* width: 100%; */
    /* margin-bottom: 20px; */
/* } */

/* Colonne droite */
.m-projects {
    color: #222;
	position: relative;
}


/* =========================
	SERVICES
========================= */

.m-services {
    margin-top: 30px;
    color: white;
}

.m-services h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #ad7732;
}

/* colonne verticale compacte */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* style pro et discret */
.service-item {
    background: #2a2a2a;
    padding: 12px 15px;
    border-radius: 8px;

    border-left: 3px solid #ad7732;

    font-size: 1em;

    transition: 0.2s ease;
}

.service-item:hover {
    transform: translateX(4px);
    background: #333;
}

/* =========================
   PAGE ACCUEIL (slider)
========================= */

.m-projects {
    background: linear-gradient(#e0e0e0, #d6d6d6);
    width: 75%;
    padding: 20px 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center; /* centre proprement les blocs */
	animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}


.display-projects {
    overflow: hidden;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: auto;

    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =========================
   CAROUSEL
========================= */

.carousel {
    position: relative;
    width: 100%;
    max-width: 1300px;

    aspect-ratio: 16 / 9;

    overflow: hidden;
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* conteneur interne */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* images */
.carousel-item {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-position: center top;

    opacity: 0;
    transform: scale(1.15); /* zoom initial plus fort */

    transition:
        opacity 0.8s ease,
        transform 1.2s ease;
}

/* important : img � l�int�rieur du picture */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* image active */
.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    animation: slowZoom 6s ease-in-out forwards;
}

@keyframes slowZoom {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1.12);
    }
}

@keyframes slowZoomMobile {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1.10);
    }
}

/* image active */
.carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

/* boutons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
	font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.prev { left: 10px; }
.next { right: 10px; }

/* barre progression */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
}

.progress {
    height: 100%;
    width: 0%;
    background: #ad7732;
    transition: width linear;
}

.carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    pointer-events: none;
}

/* =========================
   PAGE CONTACT
========================= */

.m-contact {
    color: white;
}

.m-text-contact {
    font-size: 1.6em;
    margin-bottom: 20px;
}

.m-detail-contact {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.m-text-other-contact {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.m-mailto {
    margin-bottom: 30px;
}

.m-text-nota {
    font-size: 1.2em;
    color: #ff6b6b;
}

.contact-mail {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.contact-mail:hover {
  opacity: 0.7;
}

.mail-icon svg {
  transition: transform 0.2s;
}

.contact-mail:hover .mail-icon svg {
  transform: translateY(-2px);
}

.mail-icon {
  display: flex;
  color: #ad7732;
}

.contact-mail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #e0e0e0;
}

.contact-card {
    background: #ffffff;
    color: #333;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: #222;
    font-weight: 500;
}

.contact-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.contact-card a {
    color: #ad7732;
    font-weight: 500;
    text-decoration: none;
}

.contact-card a:hover {
    opacity: 0.7;
}

.contact-section {
    margin-top: 30px;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 30px;
	color: #111;
}

/* Grid desktop */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-phone {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

.contact-warning {
    margin-top: 10px;
    color: #e57373; /* rouge plus doux */
    font-size: 0.85em;
}

.contact-facebook {
    height: 50px;
    margin-top: 10px;
}

.section-title.premium {
    width: 100%;
    max-width: 1200px;
    margin: 5px auto 25px;
    display: flex;
    justify-content: center;
}

.section-title.premium h2 {
    position: relative;
    padding: 12px 35px;
    font-size: 1.6em;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #222;

    background:
        linear-gradient(145deg, #ffffff, #eaeaea),
        repeating-linear-gradient(
            90deg,
            rgba(0,0,0,0.02) 0px,
            rgba(0,0,0,0.02) 1px,
            transparent 1px,
            transparent 3px
        );

    border-radius: 10px;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);

    border: 1px solid rgba(0,0,0,0.08);
}

.section-title.premium h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);

    width: 40px;
    height: 3px;
    background: #ad7732;
    border-radius: 2px;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: 20px;
    border-top: 2px solid black;
}

.footer-banner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 20px;
}

.f-logo {
    height: 60px;
    margin-left: 50px;
}

.f-legal-notice {
    text-align: center;
    color: white;
    font-size: 0.9em;
}

.f-social {
    text-align: center;
    color: white;
}

.link-facebook {
    height: 60px;
    margin-top: 10px;
}

/* =========================
   RESPONSIVE (mobile)
========================= */

@media (max-width: 900px) {
	
	header {
        height: auto;
        padding: 10px 0;
    }
	
	body {
    overflow-x: hidden;
	}
	
    .m-page {
        flex-direction: column;
    }

    .m-desc,
    .m-projects,
    .m-contact {
        width: 100%;
    }

    .header-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .h-logo {
        margin: auto;
    }

    .footer-banner {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .f-logo {
        margin: auto;
    }
	
	.carousel {
        aspect-ratio: 4 / 3;
    }
	
    .carousel-item {
        transform: scale(1.08); /* zoom r�duit sur mobile */
        transition: opacity 0.6s ease, transform 0.8s ease;
    }

    .carousel-item.active {
        transform: scale(1);
        animation: slowZoomMobile 5s ease-in-out forwards;
    }
	
	.carousel-btn {
    width: 48px;
    height: 48px;
	}
	
	.contact-grid {
        grid-template-columns: 1fr;
    }
	
	.services-list {
        max-width: 100%;
    }
	
	.m-text-desc h1 {
        font-size: 1.4em;
    }
	
}



