* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

/* ========== LIGHTBOX MODAL ========== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    color: #FFC107;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 193, 7, 0.8);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Images cliquables */
.renovation-image img,
.creation-image img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.renovation-image img:hover,
.creation-image img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.site-header {
    background: #FFC107;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left,
.header-right {
    width: 200px;
}

.header-center {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex: 1;
}

.logo img {
    width: 100px;
    height: auto;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu a {
    text-decoration: none;
    color:#000;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu a.active {
    font-weight: bold;
}

.menu a:hover {
    color: #666;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../assets/images/IMG_0227.jpg') center/cover no-repeat;
    text-align: center;
}

.hero > * {
    max-width: 1200px;
}

.hero h1 {
    margin-bottom: 10px;
    font-size: 42px;
    font-weight: light;
    color: #fffffff2;
}

.hero p {
    margin-bottom: 5px;
    color: #fffffff2;
}

.btn-hero {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    background: #1565C0;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 100px;
    transition: background 0.3s ease;
}

.btn-contact-info {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    background: #1565C0;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.btn-contact-info:hover {
    background: #0D47A1;
}

.btn-hero img {
    width: 28px;
    height: 28px;
    margin-right: 15px;
}

.btn-hero span {
    display: block;
    font-size: 15px;
    margin-top: 5px;
    font-weight: bold;
}

.btn-hero:hover {
    background: #0D47A1;
}

/* SERVICES SECTION */

.services {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.services > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.services h2 {
    margin-bottom: 10px;
    font-weight: bold;
}

.services-intro {
    margin-bottom: 50px;
    color: #555;
}

.services-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    width: 200px;
    min-width: 200px;
    max-width: 100%;
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.service-card div {
    flex: 1;
}

.service-image img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    background: #000;
    margin-bottom: 10px;
    object-fit: cover;
}

.service-card h3 {
    flex: 1;
    margin-bottom: 10px;
}

.service-card a {
    font-size: 14px;
    text-decoration: underline;
    color: #000;
}

/* BUTTONS */

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #1565C0;
    color: #1565C0;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background: #1565C0;
    color: #fff;
}

/** SPACER **/
.spacer {
    height: 30px;
    background-image: url('../assets/icons/separator-line.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    overflow: hidden;
}

/* Ligne de séparation style marquage routier 
.spacer-css {
    width: 100%;
    max-width: none;
    height: 9px;
    max-width: 1280px;
    margin: 12px auto;

    background-color: #FFC107;

    background-image: repeating-linear-gradient(
        to left,
        #fff 0,
        #fff 40px,
        transparent 40px,
        transparent 80px
    );
}
*/


/* REALISATIONS SECTION */

.realisations {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.realisations > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.realisations h2 {
    margin-bottom: 40px;
}

.realisations-intro {
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.carousel-wrapper {
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    min-width: 280px;
    flex-shrink: 0;
    text-align: center;
    padding: 15px;
    background: #f5f5f5;
    box-sizing: border-box;
}

.realisation-image img {
    width: 220px;
    height: auto;
    background: #000;
    margin-bottom:10px;
}

.carousel-item p {
    font-size: 14px;
    margin-bottom: 5px;
}

.carousel-item a {
    font-size: 13px;
    text-decoration: underline;
    color: #000;
}

/* FLECHES */

.carousel-btn {
    position: absolute;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #1565C0;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* DOTS */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
}

.dot.active {
    background: #000;
}

/* ABOUT SECTION */

.about {
    padding: 80px 40px;
    background: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-visual {
    position: relative;
    width: 50%;
}

.about-logo img {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about-image {
    width: 100%;
    height: 300px;
    background: url('../assets/images/IMG_1162.jpg') center/cover no-repeat;
}

.about-content {
    width: 50%;
}

.about-content h2 {
    margin-bottom: 15px;
}

.about-content blockquote {
    font-style: italic;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.about-list li {
    margin-bottom: 8px;
}

/* CONTACT CTA SECTION */

.cta {
    padding: 60px 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/icons/') center no-repeat;
    background-size: auto 80%;
    text-align: center;
}

.cta > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    margin-bottom: 30px;
    color: #fff;
}

.cta p {
    max-width: 800px;
    margin-bottom: 30px;
    color: #fff;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items:center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-actions a {
    display: flex;
    align-items: center;
    padding: 16px 32px;
    background: #1565C0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.cta-actions a:hover {
    background: #0D47A1;
}

.cta-actions .btn-secondary {
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    background: rgb(50, 50, 50);
}

.cta-actions .btn-secondary:hover {
    background: #666;
}

.cta-actions img {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.btn-primary {
    padding: 16px 32px;
    background: #1565C0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0D47A1;
}

.cta-separator {
    font-weight: bord;
    color: white;
}

.cta-social {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-social h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.cta-social img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.cta-social a:hover img {
    transform: scale(1.1);
}

/* FOOTER */   

.site-footer {
    background: #FFC107;
    padding: 40px 40px 5px 40px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.footer-column {
    flex: 1;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: end;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-logo .facebook {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-column .instagram {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-column h4 {
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 6px;
}

.footer-column a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
    padding: 2px 0;
    display: inline-block;
    min-height: 5px;
}

.footer-column a:hover {
    color: #666;
}

/* FOOTER BOTTOM */

.footer-bottom {
    border-top: 1px solid #9d9c9c;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    font-size: 12px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #666;
}

/* Lien de gestion des cookies - style bouton */
#manage-cookies-link {
    color: #000 !important;
    font-weight: 700;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-height: 44px; /* Taille minimum pour touch accessibility */
    display: inline-flex;
    align-items: center;
}

#manage-cookies-link:hover {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Accessibilité mobile - taille minimum des liens du footer */
@media (max-width: 768px) {
    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 8px 4px;
    }
}

/* CONTACT PAGE */
.contact-hero {
    padding: 80px 40px 20px 40px;
    text-align: center;
    background: #3a3a3a;
    color: #fff;
}

.contact-hero > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero h1 {
    margin-bottom: 15px;
}

.contact-infos {
    padding: 40px 40px;
    background: #3a3a3a;
}

.contact-infos-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    box-sizing: border-box;
}

.contact-details {
    width: 50%;
    color: #fff;
}

.contact-details h2 {
    margin-bottom: 20px;
}

.contact-details p {
    display: flex;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-details p span {
    margin-left: 15px;
}

.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-map {
    width: 50%;
}

.contact-map img {
    width: 100%;
    max-width: 60%;
    height: auto;
}

.map-placeholder {
    height: 250px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #000;
}

.contact-form {
    padding: 80px 40px;
    background: #fff;
}

.contact-form > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form h2 {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: left;
}

.contact-form form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-family: inherit;
}

textarea {
    min-height: 150px;
    margin-bottom: 5px;
    resize: vertical;
}

.textarea-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    margin: 15px 0 25px;
}

.form-consent input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}


/* RESPONSIVE HEADER */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    
    .header-center {
        gap: 20px;
    }
    
    .menu a {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .header-left,
    .header-right {
        width: auto;
    }
    
    .header-left {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .header-center {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .header-center {
        gap: 15px;
    }
    
    .menu a {
        font-size: 14px;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .prestations-hero {
        padding: 60px 20px;
    }
    
    .prestations-hero > div {
        flex-direction: column;
        gap: 30px;
    }
    
    .prestations-hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        flex-shrink: 1;
    }
    
    .presta-item {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .presta-content {
        width: 100% !important;
        max-width: 100%;
        padding: 40px 20px;
        box-sizing: border-box;
    }
    
    .presta-image {
        width: 100% !important;
        max-width: 100%;
        padding: 0;
    }
    
    .presta-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .prestations-info {
        padding: 60px 20px;
    }
    
    .prestations-info-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .realisations-hero {
        padding: 60px 20px;
    }
    
    .realisations-hero > div:first-child {
        flex-direction: column;
        gap: 30px;
    }
    
    .realisations-hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        flex-shrink: 1;
    }
    
    .about-hero {
        padding: 60px 20px;
    }
    
    .about-hero > div {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        flex-shrink: 1;
    }
    
    .about-details {
        padding: 60px 20px;
    }
    
    .about-details-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-details-visual,
    .about-details-content {
        width: 100% !important;
    }
    
    .about-details-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    
    .contact-infos > div {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-details,
    .contact-map {
        width: 100% !important;
    }
}

/* RESPONSIVE CARROUSEL HOME */
@media (max-width: 1024px) {
    .carousel-wrapper {
        max-width: 600px;
    }
    
    .carousel-item {
        min-width: 260px;
    }
    
    .carousel-track {
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .carousel {
        padding: 0 10px;
    }
    
    .carousel-wrapper {
        max-width: calc(100vw - 100px);
        margin: 0 auto;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .carousel-item {
        min-width: 100%;
        width: 100%;
    }
    
    .realisation-image img {
        width: 100%;
        max-width: 100%;
    }
    
    .carousel-btn {
        font-size: 24px;
        padding: 5px;
    }
}

/* RESPONSIVE SERVICES GRID */
@media (max-width: 1024px) {
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        width: calc(50% - 10px);
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 100%;
        max-width: 300px;
        min-width: unset;
    }
    
    .service-image img {
        width: 100%;
        max-width: 100%;
    }
    
    .services {
        padding: 60px 20px;
    }
}

/* RESPONSIVE ABOUT */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-visual,
    .about-content {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 60px 20px;
    }
    
    /* Carrousel rénovations responsive */
    .renovations-carousel {
        padding: 0 10px;
    }
    
    .renovations-carousel-wrapper {
        max-width: calc(100vw - 100px);
        margin: 0 auto;
    }
    
    .renovation-images {
        flex-direction: column;
        gap: 20px;
    }
    
    .renovation-image {
        width: 100%;
        height: auto;
    }
    
    .renovation-images img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .carousel-btn[data-carousel="renovations"] {
        font-size: 24px;
        padding: 5px;
    }
    
    /* Carrousel créations responsive */
    .creations-carousel {
        padding: 0 10px;
    }
    
    .creations-carousel-wrapper {
        max-width: calc(100vw - 100px);
        margin: 0 auto;
    }
    
    .creations-carousel-track {
        gap: 0;
    }
    
    .creation-item {
        min-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .creation-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    
    .carousel-btn[data-carousel="creations"] {
        font-size: 24px;
        padding: 5px;
    }
    
    .renovations,
    .creations {
        padding: 60px 20px;
    }
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        flex: none;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 20px;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* PAGE À PROPOS */

.about-hero {
    padding: 80px 40px;
    background: #3a3a3a;
    color: #fff;
}

.about-hero > div {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero-content {
    flex: 1;
}

.about-hero h1 {
    margin-bottom: 20px;
    font-size: 32px;
}

.about-hero p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.about-hero-image img {
    width: 400px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    padding: 20px;
}

.about-details {
    padding: 80px 40px;
    background: #fff;
}

.about-details-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.about-details-visual {
    width: 40%;
}

.about-details-image img {
    width: 100%;
    height: 350px;
    background: #000;
}

.about-details-content {
    width: 60%;
}

.about-details-content h2 {
    margin-bottom: 20px;
    margin-top: 0;
}

.about-details-content ul {
    list-style: disc;
    padding-left: 20px;
}

.about-details-content ul ul {
    list-style: circle;
    margin-top: 10px;
}

.about-details-content li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* PAGE RÉALISATIONS */

.realisations-hero {
    padding: 80px 40px;
    background: #3a3a3a;
    color: #fff;
}

.realisations-hero > div:first-child {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.realisations-hero-content {
    flex: 1;
}

.realisations-hero h1 {
    margin-bottom: 20px;
    font-size: 32px;
}

.realisations-hero p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.realisations-hero-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.realisations-hero-image img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    background-position: center;
    background: #fff;
    flex-shrink: 0;
}

/* Section Rénovations */

.renovations {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.renovations > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.renovations h2 {
    margin-bottom: 40px;
    font-weight: bold;
}

.renovations-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.renovations-carousel-wrapper {
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.renovations-carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.3s ease-in-out;
}

.renovation-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.renovation-images {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.renovation-image {
    width: 350px;
    height: 300px;
    background: #000;
}

.renovation-image.before {
    background: #000;
}

.renovation-image.after {
    background: #fff;
}

.renovation-images img {
    width: 350px;
    height: 300px;
    object-fit: cover;
}

/* Section Créations */

.creations {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.creations > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.creations h2 {
    margin-bottom: 40px;
    font-weight: bold;
}

.creations-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.creations-carousel-wrapper {
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.creations-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease-in-out;
}

.creation-item {
    min-width: 280px;
    height: 280px;
    background: #000;
    flex-shrink: 0;
}

.creation-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
}

.renovations-dots,
.creations-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

/* PAGE PRESTATIONS */

.prestations-hero {
    padding: 80px 40px;
    background: #3a3a3a;
    color: #fff;
}

.prestations-hero > div {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.prestations-hero-content {
    flex: 1;
}

.prestations-hero h1 {
    margin-bottom: 20px;
    font-size: 32px;
}

.prestations-hero p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.prestations-hero-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.prestations-hero-image img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}

/* Prestations List */

.prestations-list {
    background: #fff;
    max-width: 1280px;
    margin: 0 auto;
}

.presta-item {
    display: flex;
    align-items: stretch;
    min-height: 450px;
}

.presta-content {
    width: 50%;
    padding: 60px 40px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.presta-content > * {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.presta-item:nth-child(even) .presta-content {
    background: #fff;
}

.presta-content h2 {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.6;
    font-weight: normal;
}

.presta-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
}

.presta-content img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.presta-content p {
    line-height: 1.7;
    font-size: 15px;
}

.presta-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.presta-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.presta-image {
    width: 50%;
    background: #666;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.presta-item:nth-child(even) .presta-image {
    background: #3a3a3a;
}

.presta-item.reverse {
    flex-direction: row-reverse;
}

.presta-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    cursor: pointer;
}

/* Prestations Info */

.prestations-info {
    padding: 80px 40px;
    background: #fff;
}

.prestations-info-container {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.prestations-engagements,
.prestations-zone {
    flex: 1;
}

.prestations-info h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.prestations-info img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.prestations-engagements ul {
    list-style: disc;
    padding-left: 20px;
}

.prestations-engagements li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.prestations-zone p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* BOUTON RETOUR EN HAUT */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #777;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 34px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top::before {
    content: "\276E";
    display: block;
    transform: rotate(90deg);
}

.back-to-top.show {
    opacity: 0.8;
    visibility: visible;
}

.back-to-top:hover {
    background: #999;
    transform: translateY(-5px);
}

/* ========== BANNIÈRE DE CONSENTEMENT DES COOKIES ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 25px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid #ffc107;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #ffc107;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
}

.cookie-banner-text a {
    color: #ffc107;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #ffca28;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #ffc107;
    color: #000;
}

.cookie-btn-accept:hover {
    background: #ffca28;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.cookie-btn-refuse {
    background: transparent;
    color: #b9afaf;
    border: 2px solid #666;
}

.cookie-btn-refuse:hover {
    background: #666;
    border-color: #888;
}

.cookie-btn-customize {
    background: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
}

.cookie-btn-customize:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffca28;
}

/* Modal de personnalisation */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #fff;
    color: #333;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
    padding: 25px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    border-radius: 10px 10px 0 0;
    border-bottom: 3px solid #ffc107;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #ffc107;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-option {
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-option-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.cookie-option p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #ffc107;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-radius: 0 0 10px 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 20px;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }

    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}
