/*
Theme Name: Digital
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Digital est spécialement conçu pour les Agences de Marketing Digital par TemplatesJungle.
Version: 1.1
*/

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #666666;
  font-weight: 400;
  line-height: 1.5;
  background-image: url(../images/background.png);
  background-repeat: no-repeat;
  background-size: contain;
}

body#apropos, body#contact {
    /* background: rgb(255,212,1);
background: linear-gradient(145deg, rgba(255,212,1,1) 0%, rgba(255,255,255,1) 100%); */
background-image: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
  color: #1A2C6A;
  margin-bottom: 1rem;
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

h5 {
  font-weight: 700;
  font-size: 1.2rem;
}

h6 {
    font-weight: 700;
    font-size: 1.2rem;
  }

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  width: 90vw;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 6em 0;
}

/* Couleurs */
.text-primary {
  color: #1A2C6A;
}

.text-secondary {
  color: #F9A11E;
}

.text-light {
  color: #198F9F;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 50px;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #1A2C6A;
  color: #F0FAFC;
}

.btn-primary:hover {
  background-color: #F9A01F;
  color: #111111;
}

.btn-secondary {
  background-color: #F9A01F;
  color: #1A2C6A;
}

.btn-secondary:hover {
  background-color: #1A2C6A;
  color: #F0FAFC;
}

/* Header et Navigation */
header {
  /* position: absolute; */
  width: 100%;
  z-index: 100;
  
}

#apropos header {
    background-color: #FFD401;
    margin-bottom: 20px;
}

#contact header {
    background-color: #FFD401;
    margin-bottom: 0px;
}

#primary-header {
  padding: 1.5rem 1rem;
}

.logo img {
  max-height: 50px;
}

.nav-menu {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  padding: 0 1rem;
}

.nav-link {
  font-weight: 600;
  color: #1A2C6A;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  color: #F9A01F;
}

.nav-link.pro {
  font-weight: bold;
  text-decoration: underline;
}

/* Section Billboard */
#billboard {
  padding-top: 0;
}

.background {

  background-repeat: no-repeat;
  width: 100%;
  /* height: 930px; */
  display: flex;
  align-items: center;
}

.billboard-content {
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
}

.billboard-text {
  order: 2;
  margin-top: 2rem;
}

.billboard-image {
  order: 1;
}

.billboard-image img {
    width: 60%;
}

.tagline {
  font-size: 1.25rem;
  /* text-transform: capitalize; */
  color: #1A2C6A;
  margin-bottom: 1rem;
}

.herotext {
  font-size: 2.5rem;
  font-weight: bold;
  /* text-transform: capitalize; */
  margin-bottom: 1.5rem;
}

.description {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Section Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-item {
  padding: 0 1.5rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 2rem;
}

.service-number {
  font-size: 8rem;
  font-weight: 100;
  line-height: 1;
  margin-bottom: 1rem;
}

.service-item:nth-child(1) .service-number {
  color: #198F9F;
}

.service-item:nth-child(2) .service-number {
  color: #1A2C6A;
}

.service-item:nth-child(3) .service-number {
  color: #F9A11E;
}

.service-title {
  margin-bottom: 1rem;
}

/* Section Feature */
.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-image {
  margin-bottom: 2rem;
}

.feature-item {
  background-color: #F0FAFC;
  border: 1px solid #e5e5e5;
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  margin-bottom: 0.5rem;
}

.feature-item:nth-child(1) .feature-title,
.feature-item:nth-child(6) .feature-title  {
  color: #1A2C6A;
}

.feature-item:nth-child(2) .feature-title,
.feature-item:nth-child(5) .feature-title {
  color: #F9A11E;
}

.feature-item:nth-child(3) .feature-title {
  color: #198F9F;
}

.feature-item:nth-child(4) .feature-title {
  color: #1A2C6A;
}

/* Section Works */
.works-grid {
  display: flex;
  justify-content: space-between;
  /* grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; */
}

.work-item {
  margin-bottom: 1.5rem;
  width: 20%;
}


.work-item img {
    filter: grayscale(100%);
    transition: all .3s;
}

.work-item img:hover {
    filter: grayscale(0);
   
}


.work-title {
  padding: 1rem 0;
  text-align: center;
}

/* Section Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.pricing-item {
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-item.popular {
  transform: scale(1.05);
  border-color: #F9A11E;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: #4CAF50;
  color: white;
  text-transform: uppercase;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features p {
  padding: 0.5rem 0;
}

.check {
  color: #4CAF50;
  margin-right: 0.5rem;
}

/* Section Process */


#process {
        background: rgb(255,212,1);
background: linear-gradient(145deg, rgba(255,212,1,1) 0%, rgba(255,255,255,1) 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process-icon {
  margin-bottom: 1rem;
}

.process-icon svg {
    fill: #FFCB39;
    width: 50px;
    height: 50px;

}

.process-title {
  margin-bottom: 1rem;
}

/* Section Testimonial */
#testimonial {
  background-color: #FFCB39;
}

.testimonial-content {
    max-width: 60vw;
    margin: auto;
}

.testimonial-item {
  text-align: center;
  padding: 2rem;
}

.testimonial-text {
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 1.5rem 0;
}

.testimonial-author {
  color: #1A2C6A;
  margin-top: 2rem;
}

.author-name {
  font-weight: 700;
}

/* Section Brand Collection */

#contact #brand-collection {
    margin-top: -10px;
}
#brand-collection {
  background-color: #F9A11E;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.brand-item {
  display: flex;
  justify-content: center;
}

.brand-item img {
  /* max-height: 60px; */
  filter: brightness(0) invert(1);
}

/* Footer */
#footer {
  background-color: #1A213D;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  /* display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; */
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-content div {
    width: 30%;
}

.footer-title h3 {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.footer-text p {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 1rem;
}

.social-links ul {
  display: flex;
  display: none;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: white;
  font-weight: bold;
  text-decoration: underline;
}

/* Media Queries */
@media (min-width: 768px) {
  .billboard-content {
    /* background-color: red; */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .billboard-text {
    order: 1;
    flex: 1;
    padding-right: 2rem;
  }

  .billboard-image {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-item {
    border-bottom: none;
    border-right: 1px solid #e5e5e5;
    padding-bottom: 0;
  }

  .service-item:last-child {
    border-right: none;
  }

  .feature-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .feature-image {
    flex: 1;
    margin-bottom: 0;
  }

  .feature-list {
    flex: 1;
  }

  .works-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-content {
    grid-template-columns: 5fr 3fr 3fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-menu {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

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

@media (min-width: 992px) {
  .herotext {
    font-size: 3.5rem;
    line-height: 4rem;
  }
}


.products {
  display: flex;
  width: 90vw;
  margin: auto;
}

.products div {
  margin-left: 100px;
}

.products div h6 {
  font-size: 3rem;
}

.consignes {
  color: red;
  font-weight: 900;
}


.billboard-text {
  position: relative;
}

.herotext, .tagline, 
.billboard-text .description,
.billboard-image img {
  border:solid 2px red;
}


.herotext::after,
.tagline::after, 
.billboard-text .description::after,
.billboard-image::after  {
  content:"Titre de la page";
  position: absolute;
  right: 0px;
  color: red;
  font-size: 12px;
  text-align: left;

}

.tagline::after, 
.billboard-text .description::after  {
  content:"ACF";


}

.billboard-image::after {
  content:"Image mise en avant"
}