/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Cormorant Garamond",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Cormorant Garamond",  sans-serif;
  --nav-font: "Cormorant Garamond",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ECF0F1; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #3b434a; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ffbb27; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ECF0F1; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #000000; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ECF0F1;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffbb27; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ECF0F1; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ECF0F1; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffbb27; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ECF0F1;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ECF0F1;
  --heading-color: #ECF0F1;
  --surface-color: #252525;
  --contrast-color: #ECF0F1;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 26px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #E74C3C;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 22px;
    text-transform: uppercase;
    font-family: var(--nav-font);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 20px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Pour éviter les débordements */
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 90%);
  position: absolute;
  inset: 0;
  z-index: 2; /* Couche intermédiaire si besoin */
}

.hero-video {
  position: absolute; /* Positionné en arrière-plan */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Couvre toute la section */
  z-index: 1; /* Vidéo derrière le texte */
}

/* Ajout de cette classe pour créer une superposition sombre */
.hero-video-overlay {
  position: absolute; /* Positionné au-dessus de la vidéo */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Couleur noire avec opacité pour assombrir */
  z-index: 2; /* Au-dessus de la vidéo */
}

.hero-background {
  display: none; /* Cacher par défaut */
}

.hero .container {
  position: relative; /* Position relative pour que le texte soit au-dessus de la vidéo */
  z-index: 3; /* Texte au-dessus de la vidéo */
  text-align: center; /* Centrer le texte */
}

.hero h2 {
  margin: 0;
  font-size: 60px !important;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 30px !important;
  font-weight: 100;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .hero-background {
    display: block; /* Afficher l'image de fond sur les petits appareils */
    position: absolute; /* Pour couvrir l'arrière-plan */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Couvre toute la section */
    z-index: 1; /* L'image est derrière le texte */
  }

  .hero-video {
    display: none; /* Cacher la vidéo sur les petits appareils */
  }
}

@media (min-width: 768px) {
  .hero-background {
    display: none; /* Cacher l'image sur les appareils plus grands */
  }
}

.hero .btn-scroll {
  transition: 0.4s;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  display: block;
  margin-top: 30px;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
  font-size: 48px;
}

.hero .btn-scroll:hover {
  color: var(--accent-color);
}

@keyframes btn-up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/* Présentation « Mon univers » : lisibilité et proportions (ajustements légers) */
.about .content p {
  line-height: 1.6;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.about .about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  .about .row {
    align-items: center;
  }
}

@media (max-width: 991px) {
  .about .about-photo {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .about .content h2 {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .about .about-photo {
    max-width: 260px;
  }

  .about .content p {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
/* Section « Mes compétences » : lisibilité et proportions (ajustements légers) */
.resume .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.resume .content p {
  line-height: 1.6;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.resume .skills-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .resume .skills-photo {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .resume .content h2 {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .resume .skills-photo {
    max-width: 260px;
  }

  .resume .content p {
    font-size: 22px;
  }
}

.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover .icon i,
.services .service-item:hover p {
  color: var(--contrast-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-swiper {
  overflow: hidden;
  padding: 6px 4px 0;
}

.testimonials .swiper-wrapper {
  height: auto;
  align-items: stretch;
}

.testimonials .swiper-slide {
  height: auto;
  display: flex;
}

.testimonials .testimonial-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 28px 26px 24px;
  text-align: left;
  background: color-mix(in srgb, var(--surface-color), transparent 22%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin-right: 3px;
}

/* Étoile vide : contour doré à environ 55 % d'opacité. */
.testimonials .testimonial-item .stars i.star-empty {
  color: color-mix(in srgb, #ffc107, transparent 45%);
}

.testimonials .testimonial-item blockquote {
  position: relative;
  flex-grow: 1;
  margin: 0 0 20px 0;
  padding: 0;
  border: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: block;
  color: color-mix(in srgb, #ffc107, transparent 40%);
  font-size: 38px;
  line-height: 1;
  margin: 0 0 4px -6px;
}

.testimonials .testimonial-item blockquote p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
}

.testimonials .testimonial-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .testimonial-item .testimonial-author {
  font-size: 20px;
  font-weight: bold;
}

.testimonials .testimonial-item .testimonial-event {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.testimonials .swiper-pagination {
  margin-top: 22px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.6;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffc107;
  opacity: 1;
}

/* Bouton « Laisser un avis sur Google » */
.testimonials .testimonials-cta {
  margin-top: 36px;
  text-align: center;
}

.testimonials .testimonials-cta p {
  font-size: 19px;
  margin: 0 auto 16px auto;
}

.testimonials .btn-google-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 6px;
  background: var(--accent-color);
  color: #000000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.testimonials .btn-google-review:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.testimonials .btn-google-review:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.testimonials .testimonials-cta small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

@media (max-width: 575px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials .testimonial-item {
    padding: 22px 18px 20px;
  }

  .testimonials .testimonial-item blockquote p {
    font-size: 17px;
  }

  .testimonials .btn-google-review {
    width: 100%;
    padding: 12px 16px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
  .pricing-item {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  .pricing-item .icon {
    font-size: 32px;
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
  }
  .pricing-item .icon:hover {
    color: #FFBB27;
  }
  .pricing-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .pricing-item .price {
    font-size: 26px;
    font-weight: bold;
    color: #FFBB27;
  }
  .pricing-item ul {
    padding: 0;
    list-style: none;
    font-size: 18px;
    flex-grow: 1;
  }
  .pricing-item ul li {
    padding: 8px 0;
  }
  .btn-buy {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    border-radius: 6px;
    background: #FFBB27;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .btn-buy:hover {
    background: #FFFFFF;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }    

/*--------------------------------------------------------------
# Pricing 2 Section
--------------------------------------------------------------*/
.pricing-2 {
    padding: 10px; /* Réduit l'espacement interne de la section */
    background: #f9f9f9; /* Arrière-plan léger pour une touche discrète */
    border-radius: 5px; /* Bords arrondis pour un look plus doux */
}

.pricing-list-2 {
    list-style: none; /* Supprime les puces de la liste */
    padding: 0; /* Supprime le remplissage par défaut */
    margin: 0; /* Supprime la marge par défaut */
}

/* Styles pour chaque item de la liste */
.pricing-item-2 {
    padding: 5px 0; /* Réduit l'espacement interne des items */
    margin-bottom: 5px; /* Marge en bas de chaque item */
    border-bottom: 1px dashed #ccc; /* Ligne pointillée en bas de chaque item */
}

/* Styles pour les titres */
.pricing-item-2 h3 {
    font-size: 18px; /* Réduit la taille de la police pour le titre */
    margin: 0; /* Supprime la marge */
}

/* Styles pour les descriptions */
.pricing-item-2 p {
    margin: 3px 0; /* Marge réduite au-dessus et en dessous des descriptions */
    color: #666; /* Couleur du texte des descriptions pour un look plus discret */
    font-size: 14px; /* Réduit la taille de la police pour les descriptions */
}

/* Styles pour les prix */
.price {
    font-size: 16px; /* Taille de police réduite pour le prix */
    font-weight: bold; /* Met en gras le prix */
    color: #FFBB27; /* Couleur primaire pour le prix */
}
/* Style pour la liste des tarifs */
.pricing-list-2 {
  display: flex;
  flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.pricing-item-2 {
  flex: 1 1 calc(50% - 20px); /* Deux colonnes avec un petit espace entre elles */
  box-sizing: border-box;
  margin: 10px; /* Espacement entre les items */
  padding: 15px;
  background-color: #f9f9f9; /* Fond léger pour chaque item */
  border-radius: 5px;
  border: 1px solid #ddd; /* Bordure légère pour délimiter les items */
}

/* Pour les écrans plus petits */
@media (max-width: 768px) {
  .pricing-item-2 {
    flex: 1 1 100%; /* Une seule colonne sur les petits écrans */
  }
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

@media (min-width: 992px) {
  .contact .info-item.info-item-borders {
    border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  }
}

.contact .php-email-form {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  /* color: var(--contrast-color); */
  color:#ffffff;
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  /* background: color-mix(in srgb, var(--accent-color), transparent 20%); */
  background: #FFFFFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color:#FFBB27;
}

/* Vérification « Non, je ne suis pas un robot » : case présentée comme un bouton
   (mêmes dimensions que « Envoyer », juste au-dessus). */
.contact .php-email-form .robot-check {
  margin-bottom: 12px;
}

.contact .php-email-form .robot-check-label {
  display: inline-block;
  color: var(--accent-color);
  background: #ffffff;
  border: 2px solid var(--accent-color);
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.4s;
  cursor: pointer;
}

.contact .php-email-form .robot-check-label:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.contact .php-email-form .btn-check:checked + .robot-check-label {
  color: #ffffff;
  background: var(--accent-color);
}

.contact .php-email-form .btn-check:focus-visible + .robot-check-label {
  outline: 3px solid #222222;
  outline-offset: 2px;
}

/* Les messages d'erreur de validation du formulaire de contact restent visibles. */
.contact .php-email-form .invalid-feedback {
  display: block;
  margin-top: 6px;
  color: #b02a37;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.contact .php-email-form .robot-check .invalid-feedback {
  text-align: center;
  margin-top: 6px;
}

/* Champ invalide : bordure rouge (sélecteurs aussi précis que les règles de base des champs,
   placés après elles, y compris au focus). L'erreur n'est pas signalée par la couleur seule :
   icône et texte sous le champ, aria-invalid et aria-describedby. */
.contact .php-email-form input[type=text][aria-invalid="true"],
.contact .php-email-form input[type=email][aria-invalid="true"],
.contact .php-email-form textarea[aria-invalid="true"],
.contact .php-email-form input[type=text][aria-invalid="true"]:focus,
.contact .php-email-form input[type=email][aria-invalid="true"]:focus,
.contact .php-email-form textarea[aria-invalid="true"]:focus {
  border-color: #b02a37;
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(176, 42, 55, 0.18);
}

.contact .php-email-form .btn-check[aria-invalid="true"] + .robot-check-label {
  border-color: #b02a37;
  box-shadow: 0 0 0 3px rgba(176, 42, 55, 0.18);
}

/* Champ piège (anti-robots) : hors écran, non focalisable, sans effet sur la mise en page. */
.contact .php-email-form .contact-ref {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/* .starter-section {
  /* Add your styles here 
} */

/* Addings */
.modified-header{
  font-family: "Great Vibes", serif;
  color: #ffbb27 !important;
}

.pricing-item h2 {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 40px;
  border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding: 10px;
}
/*--------------------------------------------------------------
# Video Section 
--------------------------------------------------------------*/

/* GRID améliorée pour un affichage flexible */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

/* Conteneur principal de chaque vidéo */
.video-item {
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.video-item:hover {
    transform: scale(1.03);
}

/* Infos vidéo */
.video-info {
    padding: 12px;
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Titre */
.video-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #FFBB27;
}

/* Description avec scrollbar discrète */
.video-description {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 8px;
    max-height: 100px; /* Garde une hauteur contrôlée */
    overflow-y: auto;
    padding-right: 5px;
}

.video-description::-webkit-scrollbar {
    width: 5px;
}

.video-description::-webkit-scrollbar-thumb {
    background-color: #FFBB27;
    border-radius: 10px;
}

/* Rectificaton fleches du menu. Cibler les écrans de type mobile et tablette (jusqu'à 1024px de large, pour inclure tablettes et téléphones) */
@media (max-width: 1080px) {
  .dropdown > a {
      /* Ton style avant clic (par exemple, couleur de texte, fond, etc.) */
      color: #333;
      background-color: #f0f0f0;
      font-weight: bold;
  }

  .dropdown > a span {
      /* Style du texte dans le span */
      color: #333333; /* Exemple de couleur pour le texte */
  }

  .dropdown > a i {
      /* Style de la flèche (icône) */
      background-color: #ffbb27; /* Couleur de la flèche avant clic */
  }

  /* Changer la couleur de la flèche au survol */
  .dropdown:hover > a i {
      color: #ffbb27; /* Changer la couleur de la flèche au survol */
  }
}

/* Messages d'erreurs */
.alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  padding: 15px;
  border-radius: 4px;
  animation: slideIn 0.5s ease-out;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

@keyframes slideIn {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

/* Liens légaux du pied de page : discrets */
.footer .footer-legal-links {
  font-size: 14px;
  text-align: center;
}

.footer .footer-legal-links a {
  color: inherit;
  opacity: 0.75;
  text-decoration: underline;
}

.footer .footer-legal-links a:hover,
.footer .footer-legal-links a:focus-visible {
  opacity: 1;
}
