/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.aileron{
    font-family: "aileron", sans-serif;
    font-weight: 600;
    font-style: normal;
}
.brevia{
    font-family: "brevia", sans-serif;
    font-weight: 800;
    font-style: italic;
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
}
.yellow{
    color: #ffe600;
}
.blue{
    color: #0874f7;
}
.ta_center{
    text-align: center
}
h2 {
    font-size: 2vw;
    line-height: 2vw;
}
p.aileron.ta_center {
    width: 70%;
    left: 15%;
    position: relative;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0874f7;
    color: white;
    line-height: 1.5;
}

.starter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    pointer-events: none;
}

.starter img#bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.7);
    z-index: 1;
}

#logo-starter,
#slogan-starter {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
#slogan-starter {
    margin-top: 4vw;
}
.starter img#bg-starter {
    filter: blur(10px) brightness(0.6);
}

/* Header */
header {
    z-index: 1000;
    display: block;
    position: fixed;
    width: 100%;
    height: 12vw;
    top: 0vw;
}

img#head_nav {
    position: relative;
    width: 100%;
    left: 0px;
    top: 0%;
}
#logo {
    position: absolute;
    top: .7vw;
    width: 10vw;
    left: 10vw;
}
nav {
    top: 25%;
    position: absolute;
    z-index: 100;
    width: 100%;
    z-index: 100;
}
nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
    top: 6%;
    position: absolute;
    right: 10%;
}
nav a {
    text-decoration: none;
    color: #ffe600;
    font-weight: bold;
    font-size: 1.5vw;
}

/* Sections */
section {
    margin: 0 auto;
}
.hero {
    margin: 0% auto;
}
#bg {
    position: relative;
    top: 0px;
    left: 0px;
    display: block;
    width: 100%;
}
#slogan {
    position: absolute;
    top: 38vw;
    margin: 0 auto;
    display: block;
    left: 50%;
    transform: translate(-50%, 0);
    width: 45vw;
}
#cta_hero {
    position: absolute;
    top: 46vw;
    left: 50%;
    transform: translate(-50%, 0) scale(0.8);
    width: 16vw;
}
#cta_hero img {
    width: 100%;
}


#courbe_pres {
    width: 100%;
    position: relative;
    margin-top: -5%;
}
section.presentation {
    position: relative;
    margin-top: -5%;
    display: block;
    background-color: #0874f7;
}
#logo_pres {
    width: 10vw;
    left: 50%;
    position: absolute;
    transform: translate(-50%, 0);
    top: -6vw;
}
#star {
    left: 50%;
    position: relative;
    transform: translate(-50%, 1vw);
}
#courbe_raisons {
    width: 100%;
    position: relative;
    margin-top: -5%;
}

section.raisons {
    position: relative;
    margin-top: 5%;
    display: block;
    background-color: #ffe600;
    padding-bottom: 2vw;
}
.raisons h2 {
    position: relative;
    display: block;
    margin-top: -5vw;
    margin-bottom: 3vw;
}
.raisons-grid {
    display: flex;
    justify-content: center;
    gap: 4vw;
    flex-wrap: wrap;
    margin-top: 2vw;
}
.colonne {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    text-align: left;
    max-width: 30vw;
}
.colonne p {
    font-style: italic;
    font-weight: bold;
    font-size: 1.2vw;
    line-height: 1.6;
}
.check {
    color: #0874f7;
    margin-right: 0.5rem;
}
.galerie {
    background-color: #0874f7;
    text-align: center;
}
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.carousel-container {
    width: 70%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-img {
    width: 100%;
    max-width: 23.2vw;
    margin: 0;
    flex-shrink: 0;
}

.carousel-btn {
    background-color: #ffe600;
    border: none;
    border-radius: 50%;
    padding: 0.8rem;
    cursor: pointer;
}
.carousel-btn img {
    width: 28px;
    height: 28px;
}

ul {
    list-style: disc;
    margin-left: 1.5rem;
}

section#services {
    margin-top: 3vw;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3vw;
    margin-top: 4vw;
    margin-left: auto;
    margin-right: auto;
    width: 80%;

}

.service-card {
    background-color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 0.5vw;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Important pour recadrer proprement */
}

.price-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffe600;
    color: #0874f7;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1.2;
    border-bottom-left-radius: .5vw;
}

.price-tag span {
    font-size: 0.7rem;
}

.service-card h3 {
    font-size: 1.2vw;
    color: #0874f7;
    margin: 1rem 1rem 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.service-card p {
    color: #333;
    font-size: 0.8vw;
    margin: 0 1rem 1rem;
    line-height: 1.4;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-yellow {
    background-color: #ffe600;
    color: #0874f7;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.courbe-produits {
    width: 100%;
    position: relative;
    margin-top: -5%;
}
#produits {
    position: relative;
    margin-top: 5%;
    display: block;
    background-color: #ffe600;
    padding-bottom: 2vw;
}


.produits-content {
    width: 64vw;
    margin: 0 auto;
    padding: 3vw 0;
    text-align: center;
    margin-top: -6vw;
    z-index: 100;
    display: block;
    position: relative;
}

.intro-produit {
    font-family: 'Aileron', sans-serif;
    color: #0874f7;
    font-size: 1.2vw;
    line-height: 1.7;
    margin: 2vw auto 4vw;
    max-width: 60vw;
}

.intro-produit .bold {
    font-weight: bold;
}

.produits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw 6vw; /* vertical, horizontal */
    justify-content: center;
}

.produits-colonne {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    text-align: left;
}

.produits-colonne p {
    font-family: 'Brevia', sans-serif;
    color: #0874f7;
    font-size: 1.2vw;
    font-style: italic;
    font-weight: bold;
    line-height: 1.6;
}

.star {
    color: #0874f7;
    margin-right: 0.5vw;
}
/* Form */
.formulaire {
    background-color: #0874f7;
    padding: 4vw 2vw;
}

.formulaire h2 {
    font-size: 2.5vw;
    margin-bottom: 1vw;
}

.formulaire p {
    font-size: 1.2vw;
    margin-bottom: 3vw;
}

.form-devis {
    max-width: 1000px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1vw;
    margin-bottom: 2vw;
}

.form-devis input[type="text"],
.form-devis input[type="email"],
.form-devis textarea {
    background-color: #ffe600;
    border: none;
    padding: 1vw;
    border-radius: 0.5vw;
    font-size: 1.2vw;
    font-family: 'Aileron', sans-serif;
    color: #000;
    width: 100%;
}

.form-devis textarea {
    height: 200px;
    resize: vertical;
    margin-top: 2vw;
}

.form-options {
    display: flex;
    flex-wrap: wrap;
    gap: 3vw;
    margin-bottom: 2vw;
}

.form-options .bloc {
    flex: 1 1 300px;
}

.form-options label {
    display: block;
    font-size: 1.1vw;
    color: white;
    margin: 0.5vw 0;
}

.btn-yellow {
    background-color: #ffe600;
    color: #0874f7;
    border: none;
    font-weight: bold;
    padding: 1vw 2vw;
    border-radius: 1vw;
    font-size: 1.2vw;
    cursor: pointer;
    font-family: 'Brevia', sans-serif;
}

/* Footer */
footer {
    background: #ffe500;
    padding: 4vw 2vw;
    color: #005be4;
    font-family: 'Aileron', sans-serif;
}

.footer-wrapper {
    width: 80%;
    margin: 0 auto;
    font-size: 0;
    white-space: nowrap;
    text-align: left;
}

.footer-col {
    display: inline-block;
    vertical-align: top;
    width: 48vw;
    font-size: 1vw;
    white-space: normal;
    box-sizing: border-box;
    padding: 0 1%;
}
.footer-left .footer-logo {
    width: 8vw;
    /* margin-bottom: 1rem; */
    display: inline-block;
}
.footer-contacts {
    display: inline-block;
    vertical-align: top;
    padding-top: 1vw;
}
.footer-center {
    text-align: center;
    width: 17vw;
}
.footer-col.footer-right {
    width: 17vw;
}

.footer-contacts p {
    margin: 0.1vw 0;
    font-size: 1vw;
}

.footer-center {
    text-align: center;
}

.footer-social-text {
    font-weight: bold;
    font-style: italic;
    margin-bottom: 0.5vw;
    text-align: left;
    margin-top: 4.5vw;
    position: relative;
    display: inline-block;
}


.footer-instagram img {
    width: 2.5vw;
    height: auto;
    margin-left: 0.5vw;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-right li {
    margin-bottom: 0.5vw;
}

.footer-right a {
    color: #005be4;
    text-decoration: none;
    font-weight: 600;
}


/* Carousel (placeholder) */
.carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.carousel img {
    width: 100%;
    max-width: 200px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    #logo {
        left: 5%;
    }
    nav ul {
        flex-direction: row;
        gap: 0.5rem;
    }
    .services-grid {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    .carousel-img {
        max-width: 45vw;
    }
    .footer-wrapper {
        width: 100%;
    }
    .footer-col {
        width: 62vw;
    }
    .footer-center {
        width: 17vw;
    }
    .service-card h3 {
        font-size: 1.5vw;
    }
    .service-card p {
        font-size: 1.3vw;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 4vw;
        line-height: 5vw;
    }
    h2#top_prez {
        margin-top: 13vw;
    }
    #slogan-starter {
        width: 70%;
    }
    #logo-starter {
        width: 40%;
    }
    #logo_pres {
        width: 30vw;
        top: -17vw;
    }
    section.raisons {
        padding-bottom: 5vw;
    }
    .raisons h2 {
        margin-bottom: 3vw;
    }
    .colonne {
        max-width: 40vw;
    }
    .colonne p {
        font-size: 2.2vw;
    }
    .footer-wrapper {
        width: 100%;
    }
    .footer-col {
        width: 62vw;
    }
    .footer-center {
        width: 17vw;
    }
    .produits-grid {
        grid-template-columns: 1fr;
        gap: 4vw;
    }

    .produits-colonne {
        text-align: center;
    }
    .produits-colonne p {
        font-size: 3.5vw;
    }

    .intro-produit {
        font-size: 3.2vw;
        max-width: 80vw;
    }
    form {
        padding: 0.5rem;
    }
        .carousel-wrapper {
    position: relative;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .carousel-btn.left {
    left: 2vw;
  }

  .carousel-btn.right {
    right: 2vw;
  }

  .carousel-container {
    width: 100%;
  }

  .carousel-img {
    max-width: 80vw;
  }

  .carousel-btn img {
    width: 6vw;
    height: auto;
  }
  .form-devis input[type="text"], .form-devis input[type="email"], .form-devis textarea {
    background-color: #ffe600;
    border: none;
    padding: 2vw;
    border-radius: 0.5vw;
    font-size: 3.2vw;
    font-family: 'Aileron', sans-serif;
    color: #000;
    width: 100%;
}

    .formulaire h2 {
        font-size: 6vw;
    }

    .formulaire p {
        font-size: 3.5vw;
    }

    .form-options label, .form-devis input, .form-devis textarea {
        font-size: 2vw;
    }

    .btn-yellow {
        font-size: 4vw;
        padding: 3vw 5vw;
        margin-top: 3vw;
    }
    .footer-col {
        width: 44vw;
    }
    .footer-left .footer-logo {
    width: 14vw;
    /* margin-bottom: 1rem; */
    display: inline-block;
}
    .footer-social-text {
        font-weight: bold;
        font-style: italic;
        margin-bottom: 0.5vw;
        text-align: left;
        margin-top: 9.5vw;
        position: relative;
        display: inline-block;
        font-size: 1.5vw;
    }
    .footer-center {
        width: 27vw;
    }
    .footer-col.footer-right {
            width: 24vw;
        }
        .footer-right a {
    color: #005be4;
    text-decoration: none;
    font-weight: 600;
    font-size: 2vw;
}
    .footer-contacts p {
    margin: 0.1vw 0;
    font-size: 2vw;
}
}

@media (max-width: 480px) {
    #slogan {
        position: absolute;
        top: 28vw;
        margin: 0 auto;
        display: block;
        left: 50%;
        transform: translate(-50%, 0);
        width: 45vw;
    }
    img#head_nav {
        position: relative;
        width: 120%;
        left: 0px;
        top: 0%;
    }
    nav a {
        text-decoration: none;
        color: #ffe600;
        font-weight: bold;
        font-size: 2.5vw;
    }
    h2 {
        font-size: 7vw;
        line-height: 9vw;
        padding: 4vw;
    }
    #slogan-starter {
        width: 70%;
    }
    #logo-starter {
        width: 40%;
    }
    .colonne {
        max-width: 80vw;
    }
    .colonne p {
        font-size: 4vw;
    }
    .carousel-img {
        max-width: 100vw;
    }
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
        margin-top: 4vw;
        margin-left: auto;
        margin-right: auto;
        width: 80%;

    }
    .service-card {
        background-color: white;
        text-align: center;
        display: flex
            ;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        border-radius: 2.5vw;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    .footer-wrapper {
        width: 100%;
    }
    .footer-col {
        width: 62vw;
    }
    .footer-center {
        width: 17vw;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.5rem 1rem;
    }
    .service-card {
        width: 100%;
    }
    form {
        padding: 0.5rem;
    }
    .form-grid {
        display: grid
    ;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 3vw;
        margin-bottom: 2vw;
    }
    .form-devis input[type="text"], .form-devis input[type="email"], .form-devis textarea {
        background-color: #ffe600;
        border: none;
        padding: 2vw;
        border-radius: 0.5vw;
        font-size: 4.2vw;
        font-family: 'Aileron', sans-serif;
        color: #000;
        width: 100%;
    }
    
    .form-options label, .form-devis input, .form-devis textarea {
        font-size: 4vw;
    }
    .service-card p {
        font-size: 3vw;
        height: 25vw;
    }

    .service-card h3 {
        font-size: 3.5vw;
    }
    .footer-left .footer-logo {
        width: 15vw;
        display: inline-block;
    }
    .footer-contacts p {
        margin: 0.4vw 0;
        font-size: 2vw;
    }
    .footer-contacts {
        padding-top: 2vw;
    }
    .footer-col {
        width: 44vw;
    }
    .footer-col.footer-right {
        width: 23vw;
    }
    .footer-contacts p {
        margin: 0.1vw 0;
        font-size: 1.9vw;
    }
    .footer-center {
        width: 24vw;
    }
    .footer-social-text {
        margin-bottom: 0.5vw;
        margin-top: 9.5vw;
        font-size: 1.5vw;
    }
    .footer-right a {
        color: #005be4;
        text-decoration: none;
        font-weight: 600;
        font-size: 2vw;
    }
}
