

.project-card {
    margin-block: 16px;
    padding-block: 32px;
}


.vignettes-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 601px) {
    .vignettes-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}


.vignettes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    text-align: left;
    padding: 0 16px;
}

.btn-action {
    /* background: linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgba(94,217,255,1) 50%, rgba(172,255,104,1) 75%, rgba(89,89,255,1) 100%); */
    background: linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgb(50, 207, 255) 50%, rgb(78, 216, 24) 75%, rgba(89,89,255,1) 100%);
    color: white !important;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
}
.btn-action:hover {
    opacity: 0.9;
}

.btn-action2 {
    background: linear-gradient(white, white) padding-box, linear-gradient(40deg, rgba(255,196,109,1) 0%, rgba(255,198,251,1) 25%, rgba(190,219,228,1) 50%, rgba(208,234,187,1) 75%, rgba(179,179,255,1) 100%) border-box;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
}
.btn-action2:hover {
    background: linear-gradient(white, white) padding-box, linear-gradient(40deg, rgba(255,196,109,1) 0%, rgba(255,198,251,1) 25%, rgba(190,219,228,1) 50%, rgba(208,234,187,1) 75%, rgba(179,179,255,1) 100%);
    color: grey;
}

.bg-grad0 { 
    background: rgb(255,175,59);
    background: -webkit-linear-gradient(40deg, rgba(255,196,109,0.2) 0%, rgba(255,198,251,0.2) 25%, rgba(190,219,228,0.2) 50%, rgba(208,234,187,0.2) 75%, rgba(179,179,255,0.2) 100%);
}

body, html {
    height: 100%;
    line-height: 1.8;
    padding-bottom: 94px;
}

a {
    text-decoration: none;
}

.linkCursor, a {
    cursor: pointer;
}

/* Full height image header */
/*
    background-position: center;
    background-size: 100% 100%;
*/
  .bgimg-1 {
    background-image: url("../img/ban.webp");
    /* background-size: cover; */
    background-size: 100% 150%;
    /* background-position: center; */
    background-position-y: bottom;
    /* min-height: 85vh; */
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bgimg-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
  }

  .bgimg-1>* {
    position: relative;
    z-index: 2;
  }

/* .bgimg-1 {
    background-position-y: bottom;
    background-size: 100% 150%;
    background-image: url("../img/ban.webp");
    min-height: 75%;
    background-color: black;
} */

.w3-bar .w3-button {
    padding: 16px;
}

.border-grad0 {
    background: linear-gradient(white, white) padding-box, linear-gradient(40deg, rgba(255,196,109,0.2) 0%, rgba(255,198,251,0.2) 25%, rgba(190,219,228,0.2) 50%, rgba(208,234,187,0.2) 75%, rgba(179,179,255,0.2) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 8px;
}

.border-grad1 {
    background: linear-gradient(white, white) padding-box, linear-gradient(40deg, rgba(255,196,109,1) 0%, rgba(255,198,251,1) 25%, rgba(190,219,228,1) 50%, rgba(208,234,187,1) 75%, rgba(179,179,255,1) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 8px;
}

.border-grad2 {
    background: linear-gradient(white, white) padding-box, linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgba(94,217,255,1) 50%, rgba(172,255,104,1) 75%, rgba(89,89,255,1) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 8px;
}

.border-grad2-light-grey {
    background: linear-gradient(#f1f1f1, #f1f1f1) padding-box, linear-gradient(40deg, rgb(255, 175, 59) 0%, rgb(255, 120, 246) 25%, rgb(94, 217, 255) 50%, rgb(172, 255, 104) 75%, rgb(89, 89, 255) 100%) border-box;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid transparent;
    border-radius: 8px;
}

.hover-grad2:hover > span {
    background-color: white;
    background: -webkit-linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgba(94,217,255,1) 50%, rgba(172,255,104,1) 75%, rgba(89,89,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-bottom-grad1 {
    border: 1px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(40deg, rgba(255,196,109,1) 0%, rgba(255,198,251,1) 25%, rgba(190,219,228,1) 50%, rgba(208,234,187,1) 75%, rgba(179,179,255,1) 100%);
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.grad1 {
    background: -webkit-linear-gradient(40deg, rgba(255,196,109,1) 0%, rgba(255,198,251,1) 25%, rgba(190,219,228,1) 50%, rgba(208,234,187,1) 75%, rgba(179,179,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad2 {
    /* background: -webkit-linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgba(94,217,255,1) 50%, rgba(172,255,104,1) 75%, rgba(89,89,255,1) 100%); */
    background: -webkit-linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgb(50, 207, 255) 50%, rgb(78, 216, 24) 75%, rgba(89,89,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-grad1 { 
    background: rgb(255,175,59);
    background: -webkit-linear-gradient(40deg, rgba(255,196,109,1) 0%, rgba(255,198,251,1) 25%, rgba(190,219,228,1) 50%, rgba(208,234,187,1) 75%, rgba(179,179,255,1) 100%);
}

.bg-grad2 { 
    background: rgb(255,175,59);
    background: -webkit-linear-gradient(40deg, rgba(255,175,59,1) 0%, rgba(255,120,246,1) 25%, rgba(94,217,255,1) 50%, rgba(172,255,104,1) 75%, rgba(89,89,255,1) 100%);
}
        
.w3-text-pale-red {
    color: #ffdddd;
}

.w3-sienna {
    background-color: #a0522d;
    color: white;
}
.w3-text-sienna {
    color: #a0522d;
}

/* Portfolio */
.project-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s;
}
.project-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.project-image {
    border-radius: 8px;
    margin: 1rem 0;
    max-height: 300px;
    object-fit: cover;
    object-position: top;
}
.project-flyer {
    border-radius: 8px;
    margin: 1rem 0;
    max-height: 300px;
    object-fit: contain;
}

/* Carrousel */
.carousel-container {
    position: relative;
    margin: 2rem 0;
}
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}
.carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.carousel-item {
    flex: 0 0 auto;
    padding: 12px 24px;
    margin-right: 12px;
    background: #f8f9fa;
    border-radius: 30px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-item.active {
    background: linear-gradient(40deg, 
        rgba(255,175,59,0.2) 0%, 
        rgba(255,120,246,0.2) 25%, 
        rgba(94,217,255,0.2) 50%, 
        rgba(172,255,104,0.2) 75%, 
        rgba(89,89,255,0.2) 100%);
    font-weight: 600;
    color: black;
}
.carousel-item:hover:not(.active) {
    background: #e9ecef;
}
.section-title {
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

@media (max-width: 768px) {
    .project-image-col { text-align: center; }
    .project-image { max-width: 300px; margin: 0 auto 1rem; }
    .project-flyer { max-width: 300px; margin: 0 auto 1rem; }
}

/* Prestations */
/* Onglets en haut */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 900px;
    margin: 2rem auto;
}
.tab-btn {
    flex: 1 1 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: #f8f9fa;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    transition: all 0.2s;
}
.tab-btn:hover:not(.active) {
    background: #e9ecef;
}
.tab-btn.active {
    background: linear-gradient(40deg, 
        rgba(255,175,59,0.2) 0%, 
        rgba(255,120,246,0.2) 25%, 
        rgba(94,217,255,0.2) 50%, 
        rgba(172,255,104,0.2) 75%, 
        rgba(89,89,255,0.2) 100%);
    color: #2c3e50;
}

/* Sections (masquées/sauf active) */
.tab-section {
    display: none;
}
.tab-section.active {
    display: block;
}

.price-box {
    background: linear-gradient(to bottom right, #e3f2fd, #ffffff);
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.6rem;
    border-top: 1px solid #dde9f5;
    box-shadow: 0 -2px 4px rgba(52,152,219,0.05);
}

/* Responsive W3.CSS */
@media (max-width: 768px) {
    .w3-twothird, .w3-col.l4, .w3-col.m6, .w3-col.s12 {
        width: 100% !important;
        padding: 0 16px !important;
    }
}

/* Mentions légales */
.box {
    background: linear-gradient(140deg, rgba(240,247,255,0.4) 0%, rgba(250,245,255,0.4) 50%, rgba(240,255,242,0.3) 100%);
    border-left: 4px solid;
    border-image: linear-gradient(40deg, rgba(255,175,59,1), rgba(89,89,255,1)) 1;
    padding: 22px 24px;
    border-radius: 0 10px 10px 0;
    margin: 24px 0;
    font-size: 0.95rem;
}
.box strong { color: #2a2a5a; }
ul, ol { padding-left: 1.8rem; }
li { margin-bottom: 0.6rem; }