*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #E6DDD5;
    background-size: auto;
    background-position: top left;
}

html {
    font-family: 'Lora', serif;
}

h1 {
    font-size: 64px;
    color: #000000;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

h2 {
    font-size: 48px;
    color: #000000;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
}

h3 {
    font-size: 32px;
    color: #000000;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

h4 {
    font-size: 24px;
    color: #000000;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

p {
    font-size: 20px;
    color: #000000;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: #FFF0EA;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: #4A148C;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: background 0.3s;
  justify-content: space-around;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #6B46C1;
  text-decoration: none;
}

.logo img {
    height: 50px;
}

.nav-links {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {   
  color: #6B46C1;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s;
}


.background-1 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #B39DDB;
    padding: 96px 0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

#background-1-1 {
    padding: 200px 0 128px 0;
}

#background-1 p,
#background-1 h1,
#background-1-1 p,
#background-1-1 h1  {
    color: #fff;
}

.background-2 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF0EA;
    padding: 96px 0;
}

.background-3 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF5FE;
    padding: 96px 0;
}

.background-4 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4A148C;
    padding: 32px 0;
    color: #fff;
}

#background-4-1 {
    justify-content: center;
    padding: 64px 0;
}

#background-4-1 p {
    color:#fff;
}

#gabarit-1-1 h1{
    color:#e6c07b;
}

.background-5 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#0f0015;
    padding: 96px 0;
}

.gras {
    font-weight: 600;
}

.jaune {
    color: #e6c07b;
    font-weight: 800;
}


.nav-links {
    width: auto;
    height: auto;
    display: flex;
    gap: 32px;
    list-style: none;
}

.logo
    {
    height: 80%;
    align-items: center;
    justify-content: center;
    display: flex;
    }


.gabarit-1 {
    width: 1280px;
    height: auto;
    display: flex;
    gap: 64px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#gabarit-1-2 {
    gap: 24px;
}

.gabarit-2 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
}

.gabarit-2 img {
    width: 400px;
    height: 450px;
    display: flex;
   background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
}

.gabarit-2 img:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gab-2, 
.gab-3 {
    width: 600px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;

}

.gab-2 p {
    color: #000000 !important;
}

.gabarit-3 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
}

.gabarit-3 img {
    width: 300px;
    height: 450px;
    display: flex;
    border: #FFF5FE solid 1px;
    border-radius: 16px;
}

.gabarit-4 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.gabarit-4 img {
    width: 600px;
    height: 400px;
    display: flex;
    background-color: red;
    border-radius: 16px;
}

.gab-4 {
    width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
    color: black;
}

.gab-4 p {
    color: #000000 !important;
}

.gabarit-5 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.gabarit-5 img {
    width: 350px;
    height: 300px;
    display: flex;
    border-radius: 16px;
    background-color: red;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

.gab-5 {
    width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.gabarit-6 {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: space-around;
    background-color: #B39DDB;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    padding: 48px;
    
}

.gabarit-6 img {
    width: auto;
    height: 100%;
    display: flex;
    border-radius: 16px;
}

.gab-6 {
    width: 600px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gab-6 img {
    width: 100%;
    height: auto;
    display: flex;
    border-radius: 16px;
}

.gabarit-7 {
    width: 1280px;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
    border: 1px solid #000000;
    padding: 64px 48px;
    background-color: #1E002A;
    flex-direction: column;
    text-align: center;
}

.gabarit-7 p{
    color: #fff;
}
.arte {

    color: #e6c07b;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    justify-content: center;
}

.cards-1, 
.cards-2 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#cards-1-1 {
    gap: 64px;
}

.card-1 {
    width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 32px;
    text-align: center;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

.card-1 img {
    width: 100%;
    height: 250px;
    display: flex;

    border-radius: 16px 16px 0 0;
}

.card-2 {
    width: 600px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 32px;
    gap: 24px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

.card-3 {
    width: 600px;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    gap: 24px;
    padding-bottom: 32px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

.card-1:hover, 
.card-2:hover,
.card-3:hover {
     transform: translateY(-6px);
     box-shadow: 0 20px 32px rgba(0, 0, 0, 0.14);
}

.card-3 img {
    width: 100%;
    height: 400px;
    display: flex;
    border-radius: 16px 16px 0 0;
}

.infos {
    width: 100%;
    height: auto;
    display: flex;
    gap: 24px;
    justify-content: center;
}

.info {
    width: max-content;
    height: auto;
    display: flex;
    padding: 8px 16px;
    background-color: #B39DDB;
    border-radius: 64px;

}

.button-1 {
    width: max-content;
    height: auto;
    display: flex;
    background-color: #B39DDB;
    color: #000000;
    padding: 12px 24px;
    border-radius: 64px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
    margin-top: 24px;
}

.button-2 {
    width: max-content;
    height: auto;
    display: flex;
    background-color: #4A148C;
    color: #fff;
    padding: 12px 24px;
    border-radius: 64px;
    text-decoration: none;
    margin-top: 24px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

.button-1:hover, 
.button-2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.14);
}

.banniere {
    width: 100%;
    height: 520px;
    display: flex;
    border-radius: 16px;
    background-color: red;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
    margin-bottom: 48px;
}

.gras {
    font-weight: 550;
}

#gras {
    margin-top: 24px;
}

.background-footer{
    width: 100%;
    height: auto;
    display: flex;
    background-color: #4A148C;
    align-items: center;
    justify-content: center;
    padding: 64px 0;
}

.footer {
    width: 1280px;
    height: auto;
    display: flex;
    gap: 48px;
    flex-direction: column;
}

.footer-1{
    width: 100%;
    height: auto;
    display: flex;
}

.footer-1-1{
    width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color : #fff;
    padding-left: 64px;
}

.footer-1-1 a {
    font-size: 20px;
    font-weight: 400;
}

.footer-reseaux {
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.footer-2{
    width: 100%;
    height: auto;
    display: flex;
    justify-content:space-between;
    border-top: #D9D9D9 solid 1px;
    padding-top: 32px;
}

.footer-1-1 h4, 
.footer-2 p {
    color : #fff;
}

#logo-footer{
    width: 25%;
    height: auto;
    display: flex;
}

#logo-footer img{
    width: 100%;
    height: auto;
    display: flex;
}

#footer-1-2{
    padding-left: 96px;
}

/* --- MODELS --- */
.models {
  padding: 60px 40px;
  text-align: center;
}

.models h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-bottom: 40px;
}

/* --- CAROUSEL WRAPPER --- */

.carousel-container {
    position: relative;
    width: 1080px;
    margin: 40px auto;
    padding: 40px 30px;                 
    background: #B695D1;                
    border-radius: 25px;                
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    text-align: center;
}

/* --- CAROUSEL CONTENT --- */

.carousel-content {
    background: #AD91C5;               
    padding: 25px;
    border-radius: 25px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.15);  
}

/* --- TITRE --- */
.carousel-content h3 {
    margin-bottom: 15px;
    color: #43225f;                      /
    font-size: 1.8rem;
}

/* --- DESCRIPTION --- */
#modelDescription {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #333;
}

/* --- BOUTONS --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #8a6ca7;
    color: white;
    font-size: 3rem;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    z-index: 50;
    transition: 0.3s;
}

.carousel-btn.left {
    left: 15px;
}

.carousel-btn.right {
    right: 15px;
}

.carousel-btn:hover {
    background: #6e4f8b;
}


/* --- TOOLS --- */
.tools {
  background: var(--rose);
  text-align: center;
  padding: 60px 20px;
}

.tools h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.tools ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
}
/* css/mentions-legales.css */
/* --- INTRO --- */
.intro {
  text-align: center;
  padding: 120px 20px 60px;
  background: url("assets/img/bg-sakura-soft.jpg") center/cover no-repeat;
  color: white;
  position: relative;
  background-attachment: fixed;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 20, 140, 0.45);
  pointer-events: none;
}

.intro h1,
.intro p {
  position: relative;
  z-index: 1;
}

.intro h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1rem;
  opacity: 0.9;
}

/* --- MENTIONS --- */
.mentions {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.mentions h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-top: 40px;
  font-size: 1.4rem;
}

.mentions p {
  margin-bottom: 15px;
  text-align: justify;
}

.mentions a {
  color: var(--violet-clair);
  text-decoration: none;
}

.mentions a:hover {
  text-decoration: underline;
}
/* css/mentions-legales.css */
/* --- CONDITIONS --- */
.conditions {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.conditions h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-top: 40px;
  font-size: 1.4rem;
}

.conditions p {
  margin-bottom: 15px;
  text-align: justify;
}

.conditions a {
  color: var(--violet-clair);
  text-decoration: none;
}

.conditions a:hover {
  text-decoration: underline;
}
/* --- CONDITIONS --- */

/* ===== MEDIA QUERIES - RESPONSIVE ===== */

/* DESKTOP LARGE (min 1440px) */
@media (min-width: 1440px) {
    .gabarit-1 {
        max-width: 1400px;
    }
    
    .navbar {
        padding: 0 8%;
    }
}

/* TABLETTE LARGE (max 1024px) */
@media (max-width: 1024px) {
    .navbar {
        height: 70px;
        padding: 0 4%;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .nav-links a {
        font-size: 15px;
    }
    
    .gabarit-1 {
        max-width: 900px;
    }
    
    .gabarit-2,
    .gabarit-3,
    .gabarit-4,
    .gabarit-5 {
        justify-content: center;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        max-width: 350px;
    }
    
    .gabarit-6 {
        padding: 32px;
        min-height: 350px;
    }
}

/* TABLETTE (max 768px) */
@media (max-width: 768px) {

    .gabarit-2 img,
    .gabarit-3 img,
    .gabarit-4 img,
    .gabarit-5 img,
    .gabarit-6 img {
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Navigation mobile */
    .navbar {
        height: 70px;
        padding: 0 20px;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: #4A148C;
        flex-direction: column;
        gap: 0;
        padding: 40px 20px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 16px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: left;
    }
    
    .nav-links a:hover {
        background-color: rgba(255,255,255,0.15);
    }
    
    /* Gabarits */
    .gab-2,
    .gab-3,
    .gab-4,
    .gab-5,
    .gab-6 {
        max-width: 100%;
        text-align: center;
    }
    
    .gabarit-2,
    .gabarit-3,
    .gabarit-4,
    .gabarit-5,
    .gabarit-6 {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .gabarit-6 {
        padding: 24px;
    }
    
    .gabarit-6 img {
        max-height: 250px;
    }
    
    /* Cards */
    .cards-1,
    .cards-2 {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        max-width: 500px;
    }
    
    .card-2 {
        min-height: auto;
    }
    
    .card-2 iframe,
    .card-2 img {
        height: 280px;
    }
    
    /* Footer */
    .footer-1 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }
    
    .footer-1-1 {
        align-items: center;
    }
    
    .footer-reseaux {
        justify-content: center;
    }
    
    /* Carousel */
    .carousel-container {
        padding: 30px 20px;
    }
    
    .carousel-content iframe {
        height: 350px;
    }
    
    .carousel-btn {
        font-size: 2.5rem;
        padding: 8px 16px;
    }
    
    .carousel-btn.left {
        left: 10px;
    }
    
    .carousel-btn.right {
        right: 10px;
    }
}


/* MOBILE LARGE (max 480px) */
@media (max-width: 480px) {

    .gabarit-5 img {
        max-width: 100%;
        display: block;        
        margin: 0 auto;        
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .navbar {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 30px 15px;
    }
    
    .nav-links a {
        padding: 14px 15px;
        font-size: 1rem;
    }
    
    /* Backgrounds */
    #background-1-1 {
        padding: 100px 15px 60px;
    }
    
    /* Cards */
    .card-1,
    .card-2,
    .card-3 {
        max-width: 100%;
    }
    
    .card-1 img,
    .card-3 img {
        height: 200px;
    }
    
    .card-2 iframe,
    .card-2 img {
        height: 220px;
    }
    
    /* Gabarit 5 - Pages de jeux */
    .gabarit-5 {
        flex-direction: column;
        gap: 24px;
    }
    
    .gabarit-5 img {
        max-width: 100%;
    }
    
    .gab-5 {
        text-align: center;
    }
    
    /* Gabarit 6 */
    .gabarit-6 {
        padding: 20px;
    }
    
    /* Buttons */
    .button-1,
    .button-2 {
        width: 100%;
        max-width: 280px;
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 32px 15px;
    }
    
    #logo-footer img {
        height: 60px;
    }
    
    .footer-1 {
        gap: 24px;
    }
    
    .footer-reseaux a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .footer-2 p {
        font-size: 0.8rem;
    }
    
    /* Carousel */
    .carousel-container {
        width: 95%;
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .carousel-content {
        padding: 20px;
    }
    
    .carousel-content iframe {
        height: 250px;
    }
    
    .carousel-btn {
        position: static;
        transform: none;
        font-size: 1.8rem;
        padding: 10px 25px;
        margin: 15px 5px 0;
        display: inline-block;
    }
    
    .carousel-btn:hover {
        transform: scale(1.05);
    }
    
    /* Pages spéciales */
    .intro {
        padding: 100px 15px 60px;
    }
    
    .mentions,
    .conditions {
        padding: 40px 15px;
    }
}

/* MOBILE PETIT (max 360px) */
@media (max-width: 360px) {
    .navbar {
        height: 55px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-links {
        top: 55px;
        height: calc(100vh - 55px);
    }
    
    .card-1 img,
    .card-3 img {
        height: 180px;
    }
    
    .card-2 iframe,
    .card-2 img {
        height: 200px;
    }
    
    .carousel-content iframe {
        height: 200px;
    }
    
    .button-1,
    .button-2 {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    #logo-footer img {
        height: 50px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.background-1,
.background-2,
.background-3,
.background-4,
.background-5 {
    animation: fadeIn 0.6s ease-out;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .burger,
    .footer,
    .button-1,
    .button-2 {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .background-1,
    .background-2,
    .background-3,
    .background-4,
    .background-5 {
        background: white;
        color: black;
        box-shadow: none;
    }
}

