/* --------------------------- */
/*        Reset général        */
/* --------------------------- */
* {
    padding: 0;
    margin: 0;
body {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    color: #ffffff;
    background-color: #000000;
}

a {
    color: #ffffff;
    text-decoration: none;
}
a:hover {
    color: #F41600;
}
h1, h2, h3 {
    font-weight: 700;
    color: #F41600;
}
h4, h5 {
    font-weight: 600;
    color: #F41600;
}
h6 {
    font-weight: 500;
    color: #ffffff;
}
.white { color: #ffffff !important; }
.black { color: #ffffff; }

/* --------------------------- */
/*          Navbar             */
/* --------------------------- */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background: #000000;
    z-index: 1030;
    min-height: auto;
    line-height: normal;
    padding-top: 5px;
    padding-bottom: 5px;
}
.navbar .nav-item {
    margin: 0 5px;
    padding: 0;
}
.navbar .nav-item a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
}
.navbar .nav-item a:hover { color: #F41600; }
.navbar .nav-link { position: relative; padding: 0; }
.navbar .navbar-toggler { cursor: pointer; }
.navbar .navbar-toggler span { color: #fff; }
.navbar .active { color: #F41600 !important; }

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.navbar-brand {
    display: block;
    text-align: center;
    margin: 0 0 10px 0;
}
.navbar-collapse { width: 100%; text-align: center; }
.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

/* --------------------------- */
/*           Banner            */
/* --------------------------- */
.banner {
    background: #111111;
    padding: 200px 0 150px 0; /* par défaut desktop */
    position: relative;
    text-align: center;
}
.banner a.weblink { color: #ffffff; border-bottom: 1px dotted #ffffff; }
.banner a:hover { text-decoration: none; }

.banner-text {
    padding-right: 5px;
    margin: 60px 0 0 0;
    text-align: center;
}
.banner-text p { margin: 80px 0 0 0; }

/* --------------------------- */
/*         Sections            */
.section-padding { padding: 80px 0; }
.sectioner-header { width: 69%; margin: 0 auto; }
.line {
    height: 2px;
    width: 50px;
    background: #F41600;
    display: block;
    margin: 20px auto;
    position: relative;
}
.line::after {
    content:"";
    position: absolute;
    left: 50%;
    width: 150px;
    height: 2px;
    border-bottom: 2px dashed #F41600;
    margin-left: -75px;
}
.sectioner-header p { color: #ffffff; font-size: 17px; }
.section-content { margin-top: 80px; }

/* --------------------------- */
/*         Icon Box            */
.icon-box { margin-bottom: 50px; }
.icon-box i {
    display: block;
    position: relative;
    width: 135px;
    height: 135px;
    border-radius: 100px;
    background: #111111;
    color: #F41600;
    font-size: 50px;
    line-height: 135px;
    margin: 0 auto;
}
.icon-box h5 { margin-top: 30px; color: #F41600; }
.icon-box p { color: #ffffff; font-size: 14px; width: 80%; margin: 0 auto; }

/* --------------------------- */
/*           Buttons           */
.about-btn {
    color: #ffffff;
    padding: 10px 40px;
    border: 2px solid #F41600;
    border-radius: 7px;
    margin-top: 30px;
    display: inline-block;
    font-size: 18px;
}
.about-btn:hover { background: #F41600; }

.btn-grad {
    padding: .7rem 2rem;
    display: inline-block;
    color: #ffffff;
    border-radius: 2rem;
    border: 0;
    background: #F41600;
    cursor:pointer;
}
.btn-grad:hover { background: #ff4d4d; }

/* --------------------------- */
/*       Video Section         */
.video-section {
    background: url(images/video-bg.jpg) no-repeat fixed center;
    background-size: cover;
    overflow: hidden;
}
.video-overlay { background: rgba(0, 0, 0, 0.7); }
.video-section h3 { font-weight: 600; font-size: 38px; color: #ffffff; }
.video-section i {
    display: block;
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 100px;
    background: #F41600;
    color: #000000;
    font-size: 30px;
    line-height: 70px;
    margin: 0 auto;
    cursor: pointer;
}

/* --------------------------- */
/*         Testimonial         */
.testimonial {
    background: #1e1e1e;
    padding: 100px 0;
    position: relative;
    color: #ffffff;
}
.testimonial .user {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    margin-bottom: 15px;
}
.testimonial h3 {
    color: #ff0000;
    margin-bottom: 10px;
    text-align: center;
}
.testimonial p {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: center;
}

/* --------------------------- */
/*            FAQ              */
.faq { background: #000000; border-bottom: 1px solid #333333; }
.faq-content { margin: 20px 0; }
.faq-content h4 { font-weight: 400; font-size: 20px; color: #F41600; }
.faq-content p { color: #ffffff; font-weight: 300; margin-top: 15px; }

/* --------------------------- */
/*          Forms              */
#contact_form .form-input {
    border: 1px solid #333333;
}
input {
    height: 42px;
    padding: 0 1rem;
    background: #111111;
    border-radius: 30px;
    margin-bottom: 1rem;
    border:0;
    color:#ffffff;
}
#contact_form textarea {
    resize: none;
    padding: 1rem;
    height: 150px;
    background: #111111;
    border: 0;
    border-radius: 30px;
    margin-bottom: 1rem;
    color:#ffffff;
}

/* --------------------------- */
/*          Responsive         */
/* --------------------------- */
@media (max-width: 768px) {
    body { font-size: 16px; }

    .navbar .nav-item { margin: 10px 0; text-align: center; }
    .navbar .nav-item a { font-size: 14px; }
    .logo-1 { width: 120px !important; }

    /* Banner */
    .banner {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    .banner-text { margin-top: 0; text-align: center; }
    .banner-text p { margin-top: 0; margin-bottom: 20px; font-size: 16px; }

    /* Sections & Boxes */
    .sectioner-header { width: 90%; }
    .icon-box { margin-bottom: 40px; }
    .icon-box p { width: 100%; font-size: 13px; }

    /* Video */
    .video-section h3 { font-size: 26px; }
    .video-popup .video-src { width: 100%; }

    /* Features */
    .single-feature { margin-top: 20px; margin-bottom: 40px; }

    /* FAQ */
    .faq-content h4 { font-size: 18px; }
    .faq-content p { font-size: 14px; }

    /* Download */
    .download ul li a img { width: 120px; }

    /* Buttons */
    .btn-grad { font-size: 14px; padding: 0.6rem 1.4rem; }

    /* Margins */
    .media-right-margin { margin-right: 10px; }
}

.testimonial .user img {
    width: 80px;       /* taille fixe */
    height: 80px;      /* taille fixe */
    border-radius: 50%; /* rond parfait */
    object-fit: cover;  /* pour que l’image remplisse le rond correctement */
}

.icon-box i, 
.video-section i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;        /* ou 135px selon le cas */
    height: 70px;       /* ou 135px */
    border-radius: 50%; /* rond */
    background: #F41600;
    color: #000000;
    font-size: 30px;    /* ou 50px pour icon-box */
    line-height: normal; /* laisse le flex centrer le contenu */
    margin: 0 auto;
}

.video-popup {
    display: none;      /* ne montre rien tant que l’utilisateur n’a pas cliqué */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.video-popup .iframe-src {
    display: none;      /* vidéo cachée tant que popup inactive */
    width: 80%;
    height: auto;
    padding-top: 56.25%; /* ratio 16:9 */
    position: relative;
}

@media (max-width: 768px) {
    .banner {
        padding-top: 120px;   /* remonte suffisamment le contenu pour qu’on le voie */
        padding-bottom: 80px; /* espace sous le texte */
    }
    
    .banner-text {
        margin-top: 20px;     /* espace entre le haut du banner et le texte */
        text-align: center;
    }
    
    .banner-text p {
        margin-top: 0;        /* pas d’espace supplémentaire inutile */
        margin-bottom: 20px;
        font-size: 18px;      /* légèrement plus grand pour mobile */
    }
}

.testimonial .user img {
    width: 80px;           /* taille fixe */
    height: 80px;          /* taille fixe */
    border-radius: 50%;    /* rond parfait */
    object-fit: cover;     /* remplissage complet du rond */
    display: block;
    margin: 0 auto;        /* centré horizontalement */
}

.testimonial .user img {
    width: 80px;           /* taille fixe */
    height: 80px;          /* taille fixe pour un cercle parfait */
    border-radius: 50%;    /* arrondi total */
    object-fit: cover;     /* remplit le cercle sans déformation */
    display: block;
    margin: 0 auto;        /* centré horizontalement */
}

.testimonial .user {
    width: 80px; 
    height: 80px; 
    border-radius: 50%; /* rond */
    overflow: hidden; 
    display: inline-block; 
    margin-bottom: 15px;
}

.team { background: #000000; border-top: 1px solid #333333; } .team-detail { margin-top:40px; } .team-detail img { border-radius: 50%; width: 70%; } .team-detail h4 { color:#F41600; margin-top: 20px; font-size: 17px; margin-bottom: 0px; }

.icon-border span { display: block; position: relative; width: 50px; height: 50px; border-radius: 100px; color: #F41600; font-size: 18px; line-height: 50px; border: 1px solid #F41600; }

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;          /* logo et menu sur la même ligne */
        justify-content: space-between; /* logo à gauche, menu à droite */
        align-items: center;          /* verticalement aligné */
        padding: 5px 15px;            /* un petit padding pour le mobile */
    }

    .navbar-brand {
        text-align: left;             /* logo à gauche */
        margin: 0;
        width: auto;                  /* laisse le logo naturel */
    }

    .navbar-collapse {
        text-align: right;            /* menu / hamburger à droite */
    }

    .logo-1 {
        width: 210px !important;      /* taille un peu plus grande sur mobile */
        height: auto;
    }
}

/* ===== Témoignages ===== */
.testimonials {
  text-align: center;
  padding: 60px 20px;
  background: #111; /* fond noir */
  color: #fff;
}

.testimonials .section-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: red;
}

.cards-container {
  display: flex;
  justify-content: center;   /* centre les cartes */
  gap: 20px;                 /* espace entre elles */
  flex-wrap: wrap;           /* passe à la ligne si pas assez de place */
  max-width: 1000px;         /* largeur max du bloc */
  margin: 0 auto;            /* centre le container */
}

.card {
  background: #222; 
  border-radius: 12px;
  padding: 20px;
  width: 280px;              /* largeur fixe des cartes */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Avatar rond centré */
.avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 15px;
}

.card h3 {
  margin: 10px 0;
  color: red;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
}

.cards-container {
  display: flex;
  justify-content: center; /* centre le groupe de cartes */
  gap: 20px; /* espace entre chaque carte */
  flex-wrap: wrap; /* passe à la ligne si trop petit écran */
  margin-top: 30px;
}

.card {
  background: #333333; /* couleur du cadre */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1 1 180px; /* chaque carte peut grandir ou rétrécir, min 180px */
  max-width: 200px; /* taille max pour chaque carte */
}

.card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Conteneur des cartes */
.cards-container {
  display: flex;
  flex-wrap: wrap;       /* permet de passer à la ligne si écran trop petit */
  justify-content: center;
  gap: 20px;             /* espace entre les cartes */
  margin-top: 30px;
}

/* Chaque carte */
.card {
  flex: 1 1 180px;       /* largeur flexible, minimum 180px */
  max-width: 220px;      /* limite la largeur sur grand écran */
  background-color: #333; /* gris foncé original */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

/* Animation au survol */
.card:hover {
  transform: translateY(-5px);
}

/* Avatar des utilisateurs */
.card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Nom de l’utilisateur */
.card h3 {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #F41600; /* rouge */
}

/* Texte du témoignage */
.card p {
  font-size: 0.95em;
  line-height: 1.4;
}

/* Responsive : sur petit écran, les cartes prennent toute la largeur */
@media (max-width: 600px) {
  .card {
    flex: 1 1 90%;   /* presque toute la largeur */
    max-width: none;
  }
}

.single-feature {
  display: flex;
  align-items: center; /* aligne icône + texte verticalement */
  margin-bottom: 30px;
}

.icon-border {
  width: 50px;
  height: 50px;
  border: 2px solid red;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px; /* espace entre l’icône et le texte */
  font-size: 20px;
  color: red;
}

.feature-text {
  text-align: left; /* ou right si tu veux inverser */
}

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

.icon-border {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid red;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: red;
  margin: 0 15px;
}

/* aligne l’icône verticalement avec le H5 (titre) */
.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text h5 {
  margin: 0 0 10px;
  font-weight: bold;
}
.feature-text p {
  margin: 0;
  line-height: 1.5;
}

.feature {
    background-color: #f2f2f2; /* gris clair */
}

.feature {
    background-color: #1a1a1a !important; /* gris clair, force l'override */
    color: #ffffff; /* texte noir pour que ça reste lisible */
}

.pricing-section {
  margin-top: 50px;
}

.icon-box {
  background: #111;
  border: 2px solid #e53935;
  border-radius: 12px;
  padding: 30px 20px;
  color: #fff;
  transition: all 0.3s ease;
  min-height: 320px;
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(229, 57, 53, 0.6);
}

.icon-box i {
  font-size: 40px;
  color: #e53935;
  margin-bottom: 15px;
}

.icon-box h5 {
  color: #e53935;
  font-weight: 700;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.price {
  font-size: 1.8em;
  color: #fff;
  font-weight: bold;
}

.discount {
  color: #ff4b4b;
  font-weight: 600;
  display: block;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .icon-box {
    margin-bottom: 20px;
  }
}

.banner {
  margin-top: 120px !important; /* éloigne TOUTE la section du logo/menu */
}

.banner,
.banner-overlay {
  height: auto !important;
  min-height: 500px !important; /* ajuste cette valeur selon le rendu */
  padding: 60px 0 !important; /* espace intérieur haut/bas */
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex: 0 0 30%;  /* 30% pour desktop */
    margin: 1%;
}

@media screen and (max-width: 768px) {
    .card {
        flex: 0 0 45%;  /* deux par ligne */
    }
}

@media screen and (max-width: 480px) {
    .card {
        flex: 0 0 90%;  /* une seule par ligne */
    }
}


