
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;*/
	font-family:"Montserrat-Regular", sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(to bottom, rgb(24, 15, 50), rgb(105, 29, 110));
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@font-face {
  font-family: 'Montserrat-Regular'; /* Nom que vous utiliserez dans votre CSS */
  src: url('../assets/fonts/Montserrat-Regular.woff2') format('woff2'),
  url('../assets/fonts/Montserrat-Regular.woff') format('woff'),
  url('../assets/fonts/Montserrat-Regular.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Caveat Brush'; /* Nom que vous utiliserez dans votre CSS */
  src: url('../assets/fonts/caveatbrush-regular.woff2') format('woff2'),
  url('../assets/fonts/caveatbrush-regular.woff') format('woff'),
  url('../assets/fonts/caveatbrush-regular.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

:root{
	--white:#ffffff;
	--dark-yellow:#ffc23b;
	--light-yellow:#ffe67d;
	--shadow-yellow:#f9b233;
	--star-turquoise:#5BFFBA;
	--star-pink:#FF88FE;
	--hair-blue:#92C5FC;
	--dark-purple:#4b5563;
	--light-purple:#E9E5F6;
}



/* Navigation */
nav {
    background: var(--light-purple);
    backdrop-filter: blur(0.625rem);
    padding: 0 1.2rem 0 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 0.063rem solid var(--light-purple);
	font-family:"Caveat Brush", cursive;
}

.navbar{
    position: fixed;
    top: -10rem;
    width: 100%;
	transition: top 0.3s;
}

.navbar.scrolled{
	top: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    width: auto;
}

.logo img{
    height: 3.75rem; 
}

.nav-links {
    list-style: none;
	display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li{
	position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-purple);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links.link{
	font-size:1.25rem;
}

.nav-links a:hover {
    color: var(--hair-blue);
}

a {
    color: var(--hair-blue);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color:var(--light-purple);
  min-width: 16rem;
  list-style: none;
  padding: 0;
  box-shadow: 0rem 0.5rem 1rem rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
}

.dropdown-content a:hover {
    color: var(--hair-blue);
}

.btn-nav {
    background:var(--dark-yellow);
    background-size: cover;
    color: black !important;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
	font-size:1.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
	font-family:"Caveat Brush", cursive;
}

.btn-nav:hover {
	background:var(--light-yellow);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.625rem 1.563rem rgba(249, 178, 51, 0.3);
}

.btn-primary {
    background:var(--dark-yellow);
    background-size: cover;
    color: black !important;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
	font-size:2rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
	font-family:"Caveat Brush", cursive;
}

.btn-primary:hover {
	background:var(--light-yellow);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.625rem 1.563rem rgba(249, 178, 51, 0.3);
}
 

/* Hero Section */
.hero {
    margin-top: 0rem;
    padding: 1rem 5% 3rem;
    background-size: cover;
    text-align: center;
}

.hero h1 {
  	font-family: "Caveat Brush", cursive;
    font-size: 3.5rem;
    font-weight: 400;
    /*margin-bottom: 1.5rem;*/
    line-height: 1.2;
}

.hero p {
    font-family: "Montserrat-Regular", sans-serif;
	font-size: 1.3rem;
    max-width: 50rem;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-align: center;
}

.hero-image {
    max-width: 62.5rem;
    margin: 0rem auto 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1.563rem 3.125rem rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-two-column {
    padding: 1rem 5% 1rem;
    max-width: 62.5rem;
    display: grid;
    grid-template-columns: 0.25fr 0.7fr;
    gap: 2rem;
    align-items: center;
	justify-items:start;
	justify-content:center;
    margin-left:auto;
    margin-right:auto;
}

.hero-two-column img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
	justify-items:end;
}

/* Section Container */
.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-family: "Montserrat-Regular", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.094rem;
}

.section-heading {
    text-align: center;
    font-family: "Montserrat-Regular", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.section-subheading {
    text-align: center;
    font-family: "Montserrat-Regular", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.emphasized-text {
    text-align: center;
    margin-bottom: 3rem;
}

.quoting {
    font-size: 0.75rem;
}

strong {
	color:var(--star-pink);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 0.063rem solid var(--light-purple);
}

.feature-card:hover {
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="iconGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(255,230,125);stop-opacity:1" /><stop offset="100%" style="stop-color:rgb(255,194,59);stop-opacity:1" /></linearGradient></defs><rect width="100" height="100" fill="url(%23iconGrad)"/></svg>');
    background-size: cover;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color:var(--dark-purple);
}

.feature-card p {
    color:var(--dark-purple);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color:var(--dark-purple);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    /*color: #2563eb;*/
    color:var(--star-pink);
    font-weight: 700;
}

/* Two Column Section */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 4rem 0;
}

.two-column.img-small {
    grid-template-columns: 0.38fr 1fr;
}

.two-column img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 1rem;
}

.logo-item {
    text-align: center;
    padding: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
}

.testimonial-role {
    color: #64748b;
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.btn-white {
    background: white;
    color: #2563eb;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-0.188rem);
    box-shadow: 0 0.938rem 1.875rem rgba(0, 0, 0, 0.2);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-card img {
    max-width: 8rem;
    height: auto;
    transition: 0.3s ease;
}

/* FAQ */
details {
    margin-bottom: 0.938rem;
    overflow: hidden;
}

summary {
    padding: 0.938rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}


summary::after {
    content: "+";
    float: right;
    margin-left: 0.625rem;
    transition: transform 0.3s;
}

details[open] > summary::after {
    content: "-";
}

.faq-parent{
}

.faq-parent > summary{
    font-size: 1.1em;
}

.faq-child {
    margin-left: 1.5rem; /* Décale la sous-question vers la droite */
    margin-top: 0.5rem;
}

.faq-child > summary {
    font-size: 1em;
    font-weight: 600;
    padding: 0.5rem 0.938rem;
}

details h3{
	font-weight: bold;
	margin: 0;
	padding: 0.25rem;
	padding-left: 2rem;
}

details p {
	margin: 0;
	padding: 0.25rem;
    /* background-color: #fff; */
}

/* Style de la liste principale */
details ul {
	list-style-type: disc;
	margin-bottom: 0.5rem;
    margin-left: 2rem;
}

/* Style de la liste de deuxième niveau */
details ul ul {
  list-style-type: circle;
  margin-top: 0.5rem;
  margin-left: 1.25rem; /* Ajoute un décalage vers la droite */
}

/* Style de la liste de troisième niveau (si besoin) */
details ul ul ul {
  list-style-type: square;
}

/* Footer */
footer {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="footGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(15,23,42);stop-opacity:1" /><stop offset="100%" style="stop-color:rgb(30,41,59);stop-opacity:1" /></linearGradient></defs><rect width="1200" height="400" fill="url(%23footGrad)"/></svg>');
    background-size: cover;
    color: #94a3b8;
    text-align: center;
}

.footer-socials {
	display: flex;
  	justify-content: flex-end; /* Aligne le contenu à droite */
  	padding: 1.25rem;
}

.footer-socials img {
  margin-left: 1rem; /* Espace entre les images */
  height: 3rem;      /* Taille de vos icônes */
}

footer p {
    margin-bottom: 1rem;
}

footer img {

}

.footer-three-column {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr 0.5fr;
    gap: 2rem;
    align-items: center;
    margin: 0rem 0;
	justify-items:center;
	justify-content:center;
    margin-left:auto;
    margin-right:auto;
}


/* Responsive */
@media (max-width: 48rem) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    /* hide all nav links except for the last one */
    .nav-links a:not(:last-of-type) {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 350px) {
    .nav-links {
        display: none;
    }
}
