/**
* Template Name: PhotoFolio
* Template URL: https://bootstrapmade.com/photofolio-bootstrap-photography-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts : Sora (texte) et Bitter (titres), auto-hébergées comme sur yogan-laruelle.fr */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/bitter-latin-wght-normal.woff2") format("woff2"); }
:root {
  --default-font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading-font: "Bitter", Georgia, "Times New Roman", serif;
  --nav-font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, 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: #000000; /* Background color for the entire website, including individual sections */
  --default-color: #fafafa; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #27a776; /* 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: #1a1a1a; /* 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: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --accent-button: #1b7a55; /* Fond des boutons pleins : vert plus foncé que l'accent pour un contraste suffisant avec le texte blanc (5,3:1, WCAG AA) */
  --accent-button-hover: #1d8059; /* Survol des boutons, contraste 4,9:1 */
}

/* 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: rgba(255, 255, 255, 0.5);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1a1a1a; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #1a1a1a; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: rgba(255, 255, 255, 0.5); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* 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: #1a1a1a;
  --surface-color: #343434;
}

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

/* 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);
}

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: #df1529;
  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 {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid var(--background-color);
}

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

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

.header .logo .sitename {
  font-size: 32px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

.header .logo i {
  font-size: 28px;
  margin-right: 6px;
}

.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 .logo .sitename {
    font-size: 26px;
  }

  .header .logo i {
    font-size: 20px;
  }

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

  .header .header-social-links a {
    font-size: 16px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  border-color: color-mix(in srgb, var(--background-color) 90%, white 20%);
}

/*--------------------------------------------------------------
# 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: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    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;
  }

  .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;
    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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 0 5px;
  transition: 0.3s;
}

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

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
}

#preloader:before,
#preloader:after {
  content: "";
  background-color: #000000;
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

#preloader:after {
  left: auto;
  right: 0;
}

#preloader .line {
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 1px;
  height: 280px;
  transition: all 0.8s ease 0s;
}

#preloader .line:before {
  content: "";
  position: absolute;
  background-color: #ffffff;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0%;
  transform: translateY(-50%);
  animation: lineincrease 1000ms ease-in-out 0s forwards;
}

#preloader .line:after {
  content: "";
  position: absolute;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateY(-100%);
  animation: linemove 1200ms linear 0s infinite;
  animation-delay: 2000ms;
}

#preloader.loaded .line {
  opacity: 0;
  height: 100% !important;
}

#preloader.loaded .line:after {
  opacity: 0;
}

#preloader.loaded:before,
#preloader.loaded:after {
  animation: preloaderfinish 300ms ease-in-out 500ms forwards;
}

@keyframes lineincrease {
  0% {
    height: 0%;
  }

  100% {
    height: 100%;
  }
}

@keyframes linemove {
  0% {
    transform: translateY(200%);
  }

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

@keyframes preloaderfinish {
  0% {
    width: 5 0%;
  }

  100% {
    width: 0%;
  }
}

/*--------------------------------------------------------------
# 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(--default-color);
  line-height: 0;
}

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

.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);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 64px;
  font-weight: 400;
}

.page-title .heading .cta-btn,
.cta-services .cta-btn,
.formules-cta .cta-btn {
  color: var(--default-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  margin-top: 20px;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title .heading .cta-btn:hover,
.cta-services .cta-btn:hover,
.formules-cta .cta-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

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

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

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 400;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
  font-family: var(--default-font);
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 30vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h2 {
  margin: 0 0 10px 0;
  font-size: 38px;
  font-weight: 700;
}

.hero h2 .underlight {
  position: relative;
  z-index: 1;
  padding: 0 5px;
  display: inline-block;
}

.hero h2 .underlight:before {
  content: "";
  position: absolute;
  height: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent-color);
  z-index: -1;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
}

.hero .btn-get-started,
.content .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

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

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

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

/* Titres de colonne façon « Welcome message » : 1re lettre en couleur, trait fin avec segment accent à droite */
.about .content h2.col-title,
.guides-list h2.col-title,
main h2.col-title {
  position: relative;
  font-family: var(--default-font);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.about .content h2.col-title::first-letter,
.guides-list h2.col-title::first-letter,
main h2.col-title::first-letter {
  color: var(--accent-color);
}

.about .content h2.col-title::after,
.guides-list h2.col-title::after,
main h2.col-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.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;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

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

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

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

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

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

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

.gallery-details .swiper-wrapper {
  height: auto;
}

.gallery-details .swiper-button-prev,
.gallery-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.gallery-details .swiper-button-prev:after,
.gallery-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.gallery-details .swiper-button-prev:hover:after,
.gallery-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .gallery-details .swiper-button-prev,
  .gallery-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.gallery-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.gallery-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.gallery-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.gallery-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.gallery-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.gallery-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.gallery-details .portfolio-description p {
  padding: 0;
}

.gallery-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.gallery-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.gallery-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.gallery-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-left,
.gallery-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.gallery-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.gallery-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  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: 15px;
}

.services .service-item .icon i {
  color: var(--default-color);
  background-color: var(--accent-color);
  font-size: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  font-family: var(--default-font);
}

.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 p {
  color: var(--default-color);
}

/* Titres en h3.h4 : passent en blanc au survol (sinon vert sur fond vert) */
.services .service-item:hover h3 a {
  color: var(--contrast-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
  background-color: var(--default-color);
}

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

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  border-bottom: 1px dashed color-mix(in srgb, var(--default-color), transparent 60%);
  width: 100%;
  height: 100%;
  padding: 0 0 15px 0;
}

.pricing .pricing-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  margin: 0;
  font-size: 18px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  margin-bottom: 30px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: var(--default-font);
}

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

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

.contact .php-email-form select,
.contact .php-email-form select option,
.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: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form select: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(--default-color);
  background: var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  border: 0;
  border-radius: 4px;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact .php-email-form button[type=submit]:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 10%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/* Guides (ajout) */
.content .help-box, .content .guide-info { border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%); border-radius: 6px; padding: 24px; margin-top: 2rem; }
.content .help-box { text-align: center; }
.content .guide-info ul { padding-left: 1.2rem; }

.contact .honeypot-field { display: none; visibility: hidden; }
.contact .php-email-form input[type=tel] { font-size: 14px; padding: 10px 15px; box-shadow: none; border-radius: 0; color: var(--default-color); background-color: var(--surface-color); border-color: color-mix(in srgb, var(--default-color), transparent 80%); }
.contact .php-email-form .form-check-input { background-color: transparent; border-color: color-mix(in srgb, var(--default-color), transparent 50%); }
.contact .php-email-form .form-check-input:checked { background-color: var(--accent-color); border-color: var(--accent-color); }

/* Hero plein écran en parallaxe (accueil) */
.hero.hero-parallax {
  min-height: calc(100vh - 90px);
  min-height: calc(100svh - 90px);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("../img/aquarium/service-cover.webp") center / cover no-repeat fixed;
}
@media (hover: none) { .hero.hero-parallax { background-attachment: scroll; } }

/* Footer : les copains (repris de yogan-laruelle.fr) */
.footer .copains { text-align: center; }
.footer .copains img { width: 40px; height: 40px; object-fit: contain; margin: 0 6px; border-radius: 8px; }

/*--------------------------------------------------------------
# Témoignages sans Swiper (liste défilante en CSS)
--------------------------------------------------------------*/
.testimonials .testimonials-list {
  list-style: none;
  margin: 0;
  padding: 0 0 10px 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.testimonials .testimonials-list .testimonial-item {
  margin: 0;
  box-sizing: border-box;
  min-height: 240px;
  scroll-snap-align: center;
}

@media (min-width: 992px) {
  .testimonials .testimonials-list {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
}

/*--------------------------------------------------------------
# Accessibilité
--------------------------------------------------------------*/
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 100000;
  padding: 10px 16px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
}

.skip-link:focus {
  top: 10px;
  color: var(--contrast-color);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Le bouton du menu mobile garde l'apparence de l'icône d'origine */
button.mobile-nav-toggle {
  background: none;
  border: 0;
  padding: 0;
}

/* Sous-menu Services accessible au clavier (en plus du survol) */
@media (min-width: 1200px) {
  .navmenu .dropdown:focus-within>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

/* Moins d'animations si le visiteur le demande (et moins de calcul pour l'appareil) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero.hero-parallax {
    background-attachment: scroll;
  }
}

main:focus {
  outline: none;
}

/* Boutons pleins : fond plus foncé pour le contraste (texte blanc lisible) */
.page-title .heading .cta-btn,
.cta-services .cta-btn,
.formules-cta .cta-btn,
.hero .btn-get-started,
.content .btn-get-started,
.contact .php-email-form button[type=submit] {
  background: var(--accent-button);
}

.page-title .heading .cta-btn:hover,
.hero .btn-get-started:hover,
.content .btn-get-started:hover,
.contact .php-email-form button[type=submit]:hover {
  background-color: var(--accent-button-hover);
}

/* Liens dans le texte : soulignés, pour ne pas reposer uniquement sur la couleur */
.content p a,
.content li a,
.footer .credits a {
  text-decoration: underline;
}

.footer .copains h2 {
  font-size: 1.25rem;
}

.content .help-box h3 {
  font-size: 1.5rem;
}

/* Instagram : icône SVG en ligne (pas de police d'icônes à régénérer) */
.icon-insta { vertical-align: -3px; }
.navmenu .nav-insta { display: flex; align-items: center; }
.about .about-insta { color: var(--accent-color); display: inline-flex; align-items: center; gap: 8px; }
.about .about-insta:hover { color: var(--contrast-color); }

/* Accueil : encadré de la section « Qui suis-je ? », un peu plus clair que le fond */
.about .about-box {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 8px;
  padding: 40px 24px;
  margin: 0;
}
.navmenu .nav-insta span { margin-left: 8px; }
.footer .social-links + .copyright { margin-top: 16px; }
.about .about-social { display: flex; gap: 16px; }
.about .about-social svg { width: 24px; height: 24px; }

/* Page Guides : liste façon « Stories » (pastille, titre, image + extrait) */
.guides-list .guide-item { margin-top: 48px; }
.guides-list .guide-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.guides-list .guide-num {
  flex-shrink: 0; width: 64px; padding: 8px 0; border-radius: 4px; text-align: center;
  background: var(--accent-color); color: var(--contrast-color); font-weight: 700; font-size: 22px; line-height: 1.1;
}
.guides-list .guide-num small { display: block; font-size: 12px; font-weight: 400; }
.guides-list .guide-head h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .5px; margin: 0; font-family: var(--default-font); font-weight: 400; }
.guides-list .guide-head h3 a { color: var(--heading-color); }
.guides-list .guide-head h3 a:hover { color: var(--accent-color); }
.guides-list .guide-more { color: var(--heading-color); text-transform: uppercase; letter-spacing: .5px; }
.guides-list .guide-more:hover { color: var(--accent-color); }
.guides-list .guide-body { display: grid; gap: 24px; }
@media (min-width: 768px) { .guides-list .guide-body { grid-template-columns: 5fr 7fr; align-items: start; } }
.guides-list .guide-text p { margin-top: 0; }
.guides-list .guide-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Pastille simple, sans numéro (demande du 1er nov. 2026) */
.guides-list .guide-num { width: 14px; height: 14px; padding: 0; border-radius: 3px; margin-top: 6px; }
.guides-list .guide-head { gap: 14px; }

/* Page Services (refonte du 1er nov. 2026) */
.services .service-price { margin-top: 12px; color: var(--accent-color); font-weight: 700; }
.services .service-item:hover .service-price { color: var(--contrast-color); }
.formules .formule { height: 100%; padding: 30px 24px; border-radius: 8px; background: color-mix(in srgb, var(--default-color), transparent 94%); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); }
.formules .formule h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-color); margin-bottom: 4px; font-family: var(--default-font); }
.formules .formule-nom { font-size: 18px; color: var(--heading-color); margin-bottom: 12px; }
.formules .formule-prix { font-size: 28px; font-weight: 700; color: var(--heading-color); margin: 0; }
.formules .formule-duree { font-size: 14px; opacity: .7; }
.formules ul { list-style: none; padding: 0; margin: 0; }
.formules li { padding: 6px 0; display: flex; gap: 8px; }
.formules li i { color: var(--accent-color); }
.deroule .etapes { list-style: none; padding: 0; display: grid; gap: 24px; }
@media (min-width: 992px) { .deroule .etapes { grid-template-columns: repeat(3, 1fr); } }
.deroule .etape-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-color); color: var(--contrast-color); font-weight: 700; margin-bottom: 12px; }
.deroule h3, .methode h3 { font-size: 18px; }
.faq-services details { border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%); padding: 14px 0; }
.faq-services summary { cursor: pointer; color: var(--heading-color); font-weight: 600; }
.faq-services details p { margin: 10px 0 0; }
.cta-services { text-align: center; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
.footer .reseaux-titre { font-size: 1.25rem; text-align: center; margin-top: 24px; padding-top: 24px; position: relative; }
.footer .reseaux-titre::before { content: ""; position: absolute; top: 0; left: 25%; width: 50%; border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%); }
.footer .reseaux-titre + .social-links { margin-top: 8px; }

/* Menu mobile et tablette : contenu centré */
@media (max-width: 1199px) {
  .navmenu a, .navmenu a:focus, .navmenu .nav-insta { justify-content: center; gap: 8px; }
  .navmenu ul { text-align: center; }
}

/* Cartes services : contenu centré, chevron indiquant le lien */
.services .service-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.services .service-item .service-more { margin-top: auto; padding-top: 12px; font-size: 20px; color: var(--accent-color); transition: 0.3s; }
.services .service-item:hover .service-more { color: var(--contrast-color); transform: translateY(3px); }

/* Nettoyage : tableau comparatif des formules */
.formules-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.formules-table th, .formules-table td { text-align: center; vertical-align: middle; padding: 12px 10px; border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%); }
.formules-table thead th { color: var(--heading-color); }
.formules-table th[scope="row"] { text-align: left; font-weight: 400; }
.formules-table .formules-subtext { display: block; font-size: 12px; opacity: .7; font-weight: 400; }
.formules-table .oui { color: var(--accent-color); font-size: 20px; font-weight: 700; }
.formules-table .non { opacity: .4; font-size: 20px; }
.formules-price-row th, .formules-price-row td { font-weight: 700; font-size: 18px; }
/* .formules-disclaimer { font-size: 14px; opacity: .75; margin-top: 10px; } opacité remplacée le 3 nov. 2026 (contraste du lien) */
.formules-disclaimer { font-size: 14px; color: color-mix(in srgb, var(--default-color), transparent 25%); margin-top: 10px; }
.formules-cta { text-align: center; margin-top: 30px; }
.formules-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.guides-lies { list-style: none; padding: 0; margin: 0; }
.guides-lies li { padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); }
.guides-lies li::before { content: "→ "; color: var(--accent-color); }

/* Mentions légales et CGV : blocs aérés comme les autres pages */
.legal-intro { padding-bottom: 0; }
.legal-bloc { padding: 40px 0; }
.legal-bloc + .legal-bloc { padding-top: 0; }
.legal-texte { max-width: 820px; line-height: 1.75; }
.legal-texte p { margin-bottom: 14px; }
.legal-texte ul { padding-left: 20px; margin-bottom: 14px; }
.legal-texte li { margin-bottom: 6px; }
.legal-texte a { color: var(--accent-color); }

/* Guides : texte aéré, titres comme les autres pages */
.content h2.col-title { margin-top: 48px; margin-bottom: 20px; }
.content > p, .content li { line-height: 1.75; }
.content > p { margin-bottom: 16px; }
.content ul, .content ol { margin-bottom: 20px; }
.content li { margin-bottom: 6px; }
.content .help-box, .content .guide-info { margin-top: 40px; }

/* Contact : cadre gris autour des coordonnées, titres comme les autres pages */
.contact .contact-box { background: color-mix(in srgb, var(--default-color), transparent 94%); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); border-radius: 8px; padding: 32px 24px; margin-bottom: 0; }
.contact .contact-form-titre { margin-top: 56px; }

/* Formulaire de contact : sous-titres, téléphone, listes déroulantes */
main h3.col-title { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--default-font); padding-bottom: 10px; border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%); position: relative; margin: 32px 0 20px; }
main h3.col-title::first-letter { color: var(--accent-color); }
main h3.col-title::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 40px; height: 2px; background: var(--accent-color); }
.contact .php-email-form input[type=tel]:focus { border-color: var(--accent-color); }
.contact .php-email-form input[type=tel]::placeholder { color: color-mix(in srgb, var(--default-color), transparent 70%); }
.contact .php-email-form select:invalid { color: color-mix(in srgb, var(--default-color), transparent 70%); }
.contact .php-email-form select option { color: var(--default-color); }
.contact .php-email-form .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cfcfcf' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-size: 14px 12px; }

/* Sous-titres h3 : même présentation que « Services proposés » (3 nov. 2026) */
main h3.col-title { font-size: 14px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: color-mix(in srgb, var(--default-color), transparent 50%); font-family: var(--default-font); border-bottom: 0; padding-bottom: 0; }
main h3.col-title::first-letter { color: inherit; }
main h3.col-title::after { position: static; content: ""; display: inline-block; width: 120px; max-width: 30%; height: 1px; background: var(--accent-color); margin: 4px 10px; vertical-align: middle; }
.footer .social-links a { border: 0; border-radius: 0; }
/* Étapes : numéro et titre sur la même ligne ; Ma méthode en encadrés gris centrés (3 nov. 2026) */
.deroule .etapes li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; }
.deroule .etapes li .etape-num { margin-bottom: 0; }
.deroule .etapes li h3 { margin: 0; }
.deroule .etapes li > :not(.etape-num):not(h3) { grid-column: 1 / -1; margin-top: 12px; }
.methode .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0; }
.methode .row > div { width: auto; max-width: none; text-align: center; padding: 28px 24px; background: color-mix(in srgb, var(--default-color), transparent 94%); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); border-radius: 8px; }
.methode .row > div > :last-child { margin-bottom: 0; }
/* Hero accueil : 60 % de la hauteur (3 nov. 2026) */
.hero.hero-parallax { min-height: 60vh; min-height: 60svh; padding: 60px 0; }
.about .about-box { --bs-gutter-y: 0; row-gap: 3rem; padding: 32px 24px; }
.content > h2.col-title:first-child { margin-top: 0; }
.formules li { align-items: baseline; } .formules li i { font-size: 10px; opacity: .8; }
.formules li i { opacity: 1; -webkit-text-stroke: 1px currentColor; }
.forfait-liste { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.forfait-liste li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 16px; background: color-mix(in srgb, var(--default-color), transparent 94%); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); border-radius: 8px; }
main .forfait-liste li i { font-size: 26px !important; line-height: 1; color: var(--accent-color); margin-bottom: 6px; }
.forfait-liste span { color: color-mix(in srgb, var(--default-color), transparent 30%); font-size: 15px; }
main ul.forfait-liste { margin-bottom: 24px; }

/* Accessibilité (3 nov. 2026) : titres du footer en h2 avec la taille d'un h4 */
.footer h2.footer-titre { font-size: calc(1.275rem + .3vw); }
@media (min-width: 1200px) { .footer h2.footer-titre { font-size: 1.5rem; } }

/* Accessibilité (3 nov. 2026) : liens dans le texte soulignés (repérables sans la couleur) */
.main p a:not([class]), .main li a:not([class]), .main td a:not([class]) { text-decoration: underline; text-underline-offset: .15em; }

/* Compteur CO2 du footer en capsule (3 nov. 2026) */
.footer .co2-capsule { display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--accent-color); color: var(--default-color); }
.footer .co2-capsule sub { font-size: .75em; }

/* Blocs services : l'eau monte comme dans un bac au survol (3 nov. 2026, remplace le remplissage plein du template) */
.services .service-item { overflow: hidden; }
.services .service-item:before {
  inset: auto 0 0 0;
  height: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cpath d='M0 7 Q20 0 40 7 T80 7 V14 H0Z' fill='%2327a776'/%3E%3C/svg%3E") 0 0 / 80px 14px repeat-x,
    linear-gradient(var(--accent-color), var(--accent-color)) 0 13px / 100% 100% no-repeat;
  transition: height .9s cubic-bezier(.3, .6, .4, 1);
}
.services .service-item:hover:before,
.services .service-item:focus-within:before {
  inset: auto 0 0 0;
  height: calc(100% + 14px);
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cpath d='M0 7 Q20 0 40 7 T80 7 V14 H0Z' fill='%2327a776'/%3E%3C/svg%3E") 0 0 / 80px 14px repeat-x,
    linear-gradient(var(--accent-color), var(--accent-color)) 0 13px / 100% 100% no-repeat;
  animation: vague 1.2s linear 1;
}
@keyframes vague { to { background-position: 80px 0, 0 13px; } }
@media (prefers-reduced-motion: reduce) {
  .services .service-item:before { transition: none; }
  .services .service-item:hover:before, .services .service-item:focus-within:before { animation: none; }
}

/* Jauge CO2 du footer, inspirée du thermomètre de Chris Gannon, sans JS (3 nov. 2026). Échelle : 5 paliers du modèle SWD (A+ à D), A+ occupe 40 % du tube, les autres 15 % chacun */
.footer { position: relative; }
.footer .co2-jauge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }
.footer .co2-tube { fill: color-mix(in srgb, var(--default-color), transparent 85%); }
.footer .co2-eau { fill: var(--accent-color); animation: co2-vague 2.4s linear infinite; }
.footer .co2-graduations { stroke: var(--default-color); stroke-width: 1.5; stroke-linecap: round; opacity: .5; }
.footer .co2-reflet { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .2; }
.footer .co2-valeur { font-size: 12px; line-height: 1.3; text-align: left; }
.footer .co2-valeur small { display: block; color: var(--accent-color); font-weight: 700; font-size: 14px; }
@keyframes co2-vague { to { transform: translateX(-20px); } }
@media (min-width: 992px) { .footer .co2-jauge { position: absolute; right: 40px; bottom: 96px; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .footer .co2-eau { animation: none; } }

/* Effet d'eau WebGL du hero retiré le 3 nov. 2026 (gardé sur la branche claude/project-thread-ohzzc8) */

/* Footer « rideau » (4 nov. 2026 ; accueil, services et les 4 pages services, classe footer-aqua sur body), fixé en bas et découvert par le contenu qui remonte. Sans JS. */
@media (min-width: 768px) and (min-height: 600px) {
  .footer-aqua .main { position: relative; z-index: 1; background-color: var(--background-color); box-shadow: 0 12px 24px rgba(0, 0, 0, .6); }
  .footer-aqua .footer { position: sticky; bottom: 0; z-index: 0; }
}

/* Révélation aquatique (4 nov. 2026, toutes les pages) : du footer (vague au bas du contenu + bulles). Sans JS. */
@media (min-width: 768px) and (min-height: 600px) {
  .footer-aqua .main { box-shadow: none; }
  .footer-aqua .main::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 28'%3E%3Cpath d='M0 0H160V10Q140 26 120 14T80 14 40 14 0 10Z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 160px 28px repeat-x;
    animation: vague-bas 6s linear infinite, aplatir linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, calc(100% - 420px) 100%;
    transform-origin: top;
  }
  .footer-aqua .footer { overflow: hidden; }
  .bulles span {
    position: absolute; bottom: -20px; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
    animation-name: bulle-monte, bulle-zigzag, bulle-fondu;
    animation-timing-function: cubic-bezier(.3, .2, .7, .9), ease-in-out, linear;
    animation-iteration-count: infinite;
  }
  .bulles span:nth-child(1) { left: 5%; width: 6px; height: 6px; animation-duration: 9s, 3.00s, 9s; animation-delay: 0s, 0s, 0s; }
  .bulles span:nth-child(2) { left: 15%; width: 10px; height: 10px; animation-duration: 11s, 3.67s, 11s; animation-delay: 3.2s, 3.2s, 3.2s; }
  .bulles span:nth-child(3) { left: 26%; width: 8px; height: 8px; animation-duration: 10s, 3.33s, 10s; animation-delay: 6.5s, 6.5s, 6.5s; }
  .bulles span:nth-child(4) { left: 38%; width: 12px; height: 12px; animation-duration: 12s, 4.00s, 12s; animation-delay: 1.4s, 1.4s, 1.4s; }
  .bulles span:nth-child(5) { left: 49%; width: 7px; height: 7px; animation-duration: 9.5s, 3.17s, 9.5s; animation-delay: 8s, 8s, 8s; }
  .bulles span:nth-child(6) { left: 60%; width: 9px; height: 9px; animation-duration: 10.5s, 3.50s, 10.5s; animation-delay: 4.6s, 4.6s, 4.6s; }
  .bulles span:nth-child(7) { left: 71%; width: 11px; height: 11px; animation-duration: 11.5s, 3.83s, 11.5s; animation-delay: 2.3s, 2.3s, 2.3s; }
  .bulles span:nth-child(8) { left: 82%; width: 6px; height: 6px; animation-duration: 9s, 3.00s, 9s; animation-delay: 7.2s, 7.2s, 7.2s; }
  .bulles span:nth-child(9) { left: 93%; width: 10px; height: 10px; animation-duration: 12s, 4.00s, 12s; animation-delay: 5.4s, 5.4s, 5.4s; }
}
@keyframes vague-bas { to { background-position: 160px 0; } }
/* La vague s'aplatit à mesure que le footer se découvre (navigateurs qui gèrent animation-timeline ; ailleurs, elle reste) */
@keyframes aplatir { from { transform: scaleY(1); } to { transform: scaleY(0); } }
/* Bulles (4 nov. 2026) : montée continue qui accélère (pas de palier au milieu), léger zigzag à part, fondu à part */
@keyframes bulle-monte { from { transform: translateY(0); } to { transform: translateY(-480px); } }
@keyframes bulle-zigzag { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@keyframes bulle-fondu { 0% { opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .footer-aqua .main::after, .bulles span { animation: none; } .bulles { display: none; } }
/* Navigateurs sans animation liée au défilement (Firefox) : pas de vague, bord plat (demande de Yogan, 4 nov. 2026) */
@supports not (animation-timeline: scroll()) { .footer-aqua .main::after { display: none; } }
