@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --whatsapp-green: #25D366;
    --dark-text: #075E54;
    --light-bg: #ECE5DD;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */

/*
nav {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
*/


:root {
    --whatsapp-green: #25D366;
  }
  
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 1000;
  }
  
  .site-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }
  
  .left-group, .right-group {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 30px;
    padding: 5px 15px;
  }
  
  .main-nav a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .main-nav a:last-child {
    margin-right: 0;
  }
  
  .main-nav a:hover,
  .main-nav a.active {
    background-color: #000;
    color: #fff;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
    margin-bottom: 5px;
    transition: 0.3s;
  }
  
  @media (max-width: 768px) {
    .main-nav {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .left-group, .right-group {
      flex-direction: column;
      width: 100%;
      background-color: transparent;
      padding: 0;
      display: none;
    }
    
    .left-group.show, .right-group.show {
      display: flex;
    }
    
    .main-nav a {
      margin: 10px 0;
      width: 100%;
      text-align: center;
    }
    
    .menu-toggle {
      display: flex;
      align-self: flex-end;
    }
  }
/* Hero Section */
.hero {
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--whatsapp-green);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
}

.cta-button i {
    margin-left: 10px;
}

.cta-button:hover {
    background-color: #128C7E;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
 

.features {
    background-color: #fff;
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.feature-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Aligne les éléments sur toute la hauteur */
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligne le contenu en haut */
}

.feature-item i {
    font-size: 48px;
    color: var(--whatsapp-green);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    /* Définissez une hauteur fixe pour les titres si nécessaire */
    height: 60px; /* Ajustez cette valeur selon vos besoins */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item p {
    flex-grow: 1; /* Permet au paragraphe de prendre l'espace restant */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-list {
        flex-direction: column;
    }

    .feature-item {
        margin-bottom: 40px;
    }

    .feature-item h3 {
        height: auto; /* Réinitialise la hauteur sur mobile */
    }
} 

/* Brands Section */
.brands {
    padding: 60px 0;
}

.brands h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.brand-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.brand-logos img {
    margin: 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.brand-logos img:hover {
    opacity: 1;
}

/* WhatsApp Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none; /* Add this line */
}

.whatsapp-bubble i {
    color: #fff; /* Ensure the icon is white */
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/*
.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-bubble:before {
    content: "\f232"; 
    font-family: "Font Awesome 5 Brands";
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-bubble:after {
    content: "Discuter";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #075E54;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.whatsapp-bubble:hover:after {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-bubble {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
*/
/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .feature-list {
        flex-direction: column;
    }

    .feature-item {
        margin-bottom: 40px;
    }
}


.advantages {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.advantages .container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    color: #333;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.advantages-list {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.advantage-item {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.advantage-item .icon {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.advantage-item:nth-child(1) .icon { background-color: #e6f3ed; }
.advantage-item:nth-child(2) .icon { background-color: #e8e9f3; }
.advantage-item:nth-child(3) .icon { background-color: #f3eee6; }

.advantage-item .icon i {
    font-size: 48px;
    color: #555;
}

.advantage-item:nth-child(1) .icon i { color: #38a169; }
.advantage-item:nth-child(2) .icon i { color: #4c51bf; }
.advantage-item:nth-child(3) .icon i { color: #d69e2e; }

.advantage-item .content {
    padding: 30px;
}

.advantage-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .advantages-list {
        flex-direction: column;
    }
    
    .advantage-item {
        margin-bottom: 30px;
    }
}

/* Advantages Section */
/*
.advantages {
    padding: 80px 0;
    background-color: #fff;  
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.advantages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;  
}

.advantage-item {
    flex-basis: calc(50% - 15px);  
    max-width: calc(50% - 15px);
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.advantage-item i {
    font-size: 48px;
    color: var(--whatsapp-green);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.advantage-item p {
    color: #555;
    font-size: 16px;
}

 
@media (max-width: 768px) {
    .advantage-item {
        flex-basis: 100%;
        max-width: 100%;
    }
}

*/


/* Hero Section */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 800px;
    width: auto;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;   
}

/* Responsive Design */
@media (min-width: 1200px) {
    .hero-image img {
        max-width: 100%; /* Réduit davantage la largeur sur les grands écrans */
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .hero-image img {
        max-width: 100%; /* Ajuste la largeur pour les écrans moyens */
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 80%;
        max-height: 400px; /* Réduit la hauteur maximale sur mobile */
    }
}


/* Quiz part */

.quiz {
    background-color: #eee5dc !important;
    padding: 80px 0;
}

.quiz .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.quiz h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #075E54;
    margin-bottom: 50px;
}

.quiz-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.phone-mockup {
    flex: 0 0 40%;
    position: relative;
    transform: rotate(-5deg); /* Rotation légère de l'image */

}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px #eee5dc;
    border: none; /* Suppression de la bordure */
}

.quiz-features {
    flex: 0 0 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 36px;
    color: #25D366;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #075E54;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #4A4A4A;
}

 

/* QUIZ MODE */
.quiz-modes {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;
    justify-content: center;
  }
  
  .mode-card {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  }
  
  .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    z-index: 2;
  }
  
  .mode-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .mode-card p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
  }
  
  .mode-button {
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
  }
  
  .mode-card i {
    display: none;
  }
  
  .mode-card::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  .mode-card.cta .card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }
  
  .mode-card.cta form {
    display: flex;
    margin-top: 10px;
  }
  
  .mode-card.cta input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 20px 0 0 20px;
  }
  
  .mode-card.cta button[type="submit"] {
    background-color: white;
    color: black;
    border: none;
    padding: 10px 15px;
    border-radius: 0 20px 20px 0;
    font-weight: bold;
    cursor: pointer;
  }
  
  @media (max-width: 1024px) {
    .quiz-modes {
      justify-content: flex-start;
    }
  }
  
  @media (max-width: 768px) {
    .quiz-modes {
      flex-direction: column;
      align-items: center;
    }
  
    .mode-card {
      width: 90%;
      max-width: 300px;
      height: 350px;
    }
  
    .mode-card h3 {
      font-size: 22px;
    }
  
    .mode-card p {
      font-size: 13px;
    }
  }
  
  @media (max-width: 480px) {
    .mode-card {
      height: 300px;
    }
  
    .mode-card h3 {
      font-size: 20px;
    }
  
    .mode-card p {
      font-size: 12px;
    }
  
    .mode-button,
    .mode-card.cta button[type="submit"] {
      padding: 8px 12px;
      font-size: 12px;
    }
  
    .mode-card::after {
      width: 30px;
      height: 30px;
      font-size: 14px;
    }
  
    .card-content {
      padding: 15px;
    }
  }
/*END QUIZ MODE */
 
 
 
@media (max-width: 968px) {
    .quiz-content {
        flex-direction: column;
    }

    .phone-mockup, .quiz-features {
        flex: 0 0 100%;
    }

    .phone-mockup {
        margin-bottom: 40px;
    }

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

    .quiz-modes {
        flex-direction: column;
    }
}

.footer {
    background-color: #1a1d21;
    color: #ffffff;
    padding: 60px 0 40px;
    font-family: Arial, sans-serif;
}

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

.footer-logo {
    flex-basis: 100%;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    max-width: 100%;
}

.footer-section {
    flex: 1;
    margin-bottom: 30px;
    min-width: 200px;
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    color: #ffffff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: #4ade80;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a,
.footer-section p {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4ade80;
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: #4ade80;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a[href^="mailto"] {
    color: #ffffff;
}

.contact-info a:hover {
    color: #ffffff;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #9ca3af;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #4ade80;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2c3038;
}

.copyright p {
    color: #9ca3af;
    font-size: 12px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        flex-basis: 100%;
        margin-bottom: 30px;
        padding: 0;
    }

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

    .social-icons {
        text-align: center;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section ul li a,
    .footer-section p {
        font-size: 13px;
    }

    .contact-info a {
        font-size: 14px;
    }
}