/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Hind+Guntur:wght@400;500;700&display=swap');

/* PALETTE */
:root {
  --rose: #FB6F76;
  --peche: #F4B393;
  --beige: #FFDCA9;
  --noir: #252627;
  --blanc: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hind Guntur', sans-serif;
  color: var(--noir);
  background-color: var(--blanc);
  line-height: 1.6;
  font-size: 18px;
  opacity: 0;
  transition: opacity 1s ease;
}

body, main, .site-wrapper, .content {
  position: static !important;
  overflow: visible !important;
}

body.loaded {
  opacity: 1;
}

body.admin-body {
  opacity: 1;
}

h1, h2, h3, h4 {
  font-family: 'Typo Grotesk', sans-serif;
  font-weight: 900;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(37, 38, 39, 0.6);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(37, 38, 39, 1);
}

.navbar .logo img {
    height: 50px;
}

.navbar .logo a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.navbar .logo a:hover {
  opacity: 0.8;
  cursor: pointer;
}

.navbar-right a {
    margin-left: 1.5rem;
    font-weight: 700;
    color: var(--blanc);
    transition: color 0.3s ease;
}

.navbar-right a:hover {
    color: var(--rose);
}

.navbar-right .btn-contact {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background: #A0EEC0;
    border-radius: 999px;
    color: var(--noir);
    font-weight: bold;
    transition: all 0.3s ease;
}

.navbar-right .btn-contact:hover {
    opacity: 0.9;
}

/* BOUTON OUTLINE GRADIENT */
.btn-main-outline {
    position: relative;
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-size: 1.4rem;
    font-family: 'Typo Grotesk Black', sans-serif;
    border: 2px solid transparent;
    background: linear-gradient(90deg, #FAD126, #FF544F);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: transform 0.3s ease, background 0.3s ease;
    overflow: hidden;
    z-index: 0;
}

.btn-main-outline::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(90deg, #FAD126, #FF544F);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  z-index: -1;
}

.btn-main-outline:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #FAD126, #FF544F);
    -webkit-background-clip: padding-box;
    -webkit-text-fill-color: var(--blanc);
    color: var(--blanc);
    border-color: transparent;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8rem;
    color: var(--blanc);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.3); /* ajustable : 0.5 = assez sombre, 0.7 = plus clair */
	backdrop-filter: blur(10px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* même réglage que sur index.html */
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero {
        padding: 0 4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
	padding: 0 5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-content .hero-text {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
		max-width: 700px; /* un peu plus étroit que 800px */
    word-break: keep-all; /* Empêche les coupures de mots */
    hyphens: none;         /* Empêche les césures automatiques */
    overflow-wrap: break-word; /* Permet un retour à la ligne propre si nécessaire */
}

.scroll-down {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: #A0EEC0;
    border-radius: 999px;
    color: var(--noir);
    font-size: 1.5rem;
    font-family: 'Typo Grotesk', sans-serif;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    animation: bounce 1.5s infinite;
    text-decoration: none;
    transition: opacity 0.3s;
    opacity: 0.9;
    z-index: 2; /* pour qu'il passe au-dessus de la vidéo et de l'overlay */
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* DEMO */
.demo {
    background: var(--blanc);
    padding: 6rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.demo-img {
    flex: 1;
	max-width: 700px;
}

.demo-text {
  flex: 1;
  padding-left: 4rem;
}

.demo-text h3 {
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--beige);
}

.demo-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.demo-text p {
    margin-bottom: 1rem;
}

/* PROFIL */
.profil {
    position: relative;
    background: #03172f;
    color: var(--blanc);
    overflow: hidden;
}

.wave-top {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.wave-top svg {
    display: block;
    width: 100%;
    height: 150px;
    pointer-events: none;
}

.wave-top .shape-fill {
    fill: var(--blanc);
}

.profil-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    overflow: hidden;
}

.profil-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
}

.profil-content {
    position: relative;
    display: flex;
    align-items: flex-start;
    z-index: 1;
    padding: 6rem 4rem;
    min-height: 600px;
    flex-wrap: wrap;
}

.profil-text {
    flex: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
	padding: 0 7rem;
}

.profil-text h3 {
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--beige);
}

.profil-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.profil-text p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.profil-text a.btn-main-outline {
    display: inline-block;
    max-width: fit-content;
}

/* SERVICES */
.services {
    padding: 6rem 11rem;
    background: var(--blanc);
    color: var(--noir);
}

.services h3 {
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--noir);
}

.services h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.services-tabs {
    display: flex;
    justify-content: center;
	font-size: 1.2rem;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ccc;
}

.services-tabs .tab {
    position: relative;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services-tabs .tab:hover {
    color: var(--rose);
    transform: scale(1.05);
}

.services-tabs .tab.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 3px;
    background: linear-gradient(90deg, #FAD126, #FF544F);
    border-radius: 2px;
}

.services-content {
    display: none;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.services-content.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.services-text {
    flex: 1;
	padding: 0 1.5rem;
}

.services-text ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.services-text ul li {
    margin-bottom: 1rem;
    list-style: disc;
}

.services-img {
  flex: 1;
  max-width: 600px;
}

.services-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.footer-coralens {
  background: var(--noir);
  color: var(--blanc);
  padding: 4rem 2rem;
  font-size: 1rem;
  font-family: 'Hind Guntur', sans-serif;
}

.footer-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 220px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Typo Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--beige);
  text-align: center;
}

/* Titre du bloc "À propos" aligné à gauche */
.footer-col:first-child h4 {
  text-align: left;
}

/* Exception pour le premier bloc (à propos) */
.footer-col:first-child {
  text-align: left;
  align-items: flex-start;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-coralens a {
  font-family: 'Hind Guntur', sans-serif;
  color: var(--blanc);
  opacity: 0.85;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-coralens a:hover {
  color: var(--rose);
}

.footer-socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.circle {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--beige);
  color: var(--noir);
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-family: 'Typo Grotesk', sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.3s;
}

.circle i {
  font-size: 1rem;
  line-height: 32px;
}

.circle:hover {
  transform: scale(1.1);
  background: var(--rose);
  color: var(--blanc);
}

.footer-coralens i.fa-envelope,
.footer-coralens i.fa-phone {
  margin-right: 0.5rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  opacity: 0.7;
  font-family: 'Hind Guntur', sans-serif;
}

.footer-bottom a {
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(90deg, #FAD126, #FF544F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dot {
    font-family: 'Hind Guntur', sans-serif;
}

/* HERO PETIT POUR PAGE PHOTOS */
.hero-small {
    height: 50vh; /* on réduit un peu en même temps */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #252627; /* ton souhait */
    color: var(--blanc);
	padding-top: 3rem;
}

.featured-video {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    padding: 6rem 8rem 4rem;
    background: #252627;
    color: var(--blanc);
    box-shadow: inset 0 60px 60px -40px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.featured-thumb {
  position: relative;
  flex: 1 1 480px;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  cursor: pointer;
}

.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: var(--blanc);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.featured-thumb:hover .featured-overlay {
  opacity: 1;
}

.featured-thumb:hover .featured-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.featured-content {
  flex: 1 1 400px;
}

.featured-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--blanc);
}

.featured-description {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.featured-content h2 .gradient-text {
    display: inline-block;
    margin-bottom: 0.5rem;
}


.btn-play-featured {
  padding: 0.75rem 2rem;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--beige);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rose);
    color: var(--blanc);
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    z-index: 2;
}

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


/* FILTRES CATEGORIES */

.videos-filters-subtitle {
    font-size: 1.1rem;
    color: var(--noir);
    opacity: 0.8;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.videos-filters {
    padding: 4rem 2rem;
    background: var(--blanc);
}

.videos-filters-header {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: left; /* C’est ça qui manquait ! */
}

.videos-filters-header .section-tag {
    color: var(--beige);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.videos-filters-header h2 {
    font-size: 2rem;
    color: var(--noir);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Les boutons restent centrés */
    gap: 1rem;
	text-align: center;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--rose);
  background: transparent;
  color: var(--noir);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Typo Grotesk', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  color: var(--blanc);
}

.videos-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: var(--blanc);
}

.video-item {
  flex: 0 1 calc(25% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
  .video-item {
    flex: 0 1 calc(33.33% - 2rem);
  }
}

@media (max-width: 768px) {
  .video-item {
    flex: 0 1 calc(50% - 2rem);
  }
}

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

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.video-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.video-thumb:hover img {
  transform: scale(1.05);
}
.video-item.instagram .video-thumb img {
  aspect-ratio: 9/16;
  object-fit: cover;
}

.video-item.instagram img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.video-item.instagram .video-thumb img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.video-title {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--noir);
  font-family: 'Hind Guntur', sans-serif;
  text-align: center;
}

/* POPUP VIDEO */
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 999;
}

.video-popup.active {
  opacity: 1;
  visibility: visible;
}

.video-popup-content {
  background: var(--noir);
  padding: 1rem;
  border-radius: 8px;
  max-width: 900px;
  width: 90%;
  color: var(--blanc);
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--blanc);
  cursor: pointer;
}

.video-popup-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-popup-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-popup-description {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--blanc);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-thumb:hover .video-hover-overlay {
    opacity: 1;
}

.video-thumb:hover .video-hover-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Trusted */
.trusted-by {
    padding: 6rem 2rem;
    background: #03172f;
    color: var(--blanc);
    text-align: center;
}

.trusted-by-slider-wrapper {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  margin: 3rem auto 0 auto;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 3rem;
  animation: scroll-logos 25s linear infinite;
  width: max-content;
  padding: 0.5rem 0;
}

.slider-track img {
  max-height: 90px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 0;
}

.slider-track img:hover {
  transform: scale(1.08);
  transform-origin: center;
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trusted-by-header {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: left;
}

.trusted-by-header .section-tag {
    color: var(--beige);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-by-header h2 {
    font-size: 2rem;
    color: var(--blanc);
}

.trusted-by .wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.faq-section .wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.apropos-section .wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.trusted-by-invite {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--blanc);
    opacity: 1;
}

.btn-contact-trusted {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.video-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border: none;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    align-items: center;
  }

  .videos-gallery {
    padding: 2rem 1rem;
  }

  .video-popup-content {
    max-width: 95%;
  }
}

/* FILTRES CATEGORIES */
.photos-filters {
  padding: 4rem 2rem;
  background: var(--blanc);
}

.photos-filters-header {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

.photos-filters-header .section-tag {
  color: var(--beige);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.photos-filters-header h2 {
  font-size: 2rem;
  color: var(--noir);
}

.photos-filters-subtitle {
  font-size: 1.1rem;
  color: var(--noir);
  opacity: 0.8;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--rose);
  background: transparent;
  color: var(--noir);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Typo Grotesk', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rose);
  color: var(--blanc);
}

/* GALERIE MASONRY */
.photos-gallery {
  column-count: 4;
  column-gap: 1.5rem;
  padding: 2rem 2rem;
  background: var(--blanc);
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: scale(1.02);
}

.photo-item img {
  width: 100%;
  display: block;
  height: auto;
  
}

/* LIGHTBOX */
.photo-lightbox {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999 !important;
}

.photo-lightbox.active {
  display: flex;
}

.photo-lightbox-content {
  background: var(--noir);
  padding: 1rem;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  color: var(--blanc);
  text-align: center;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--blanc);
  cursor: pointer;
}

.photo-lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
}

.photo-lightbox-description {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 10;
  transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox .lightbox-next,
.photo-lightbox .lightbox-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10;
  padding: 0 1rem;
}
.photo-lightbox .lightbox-prev { left: 0; }
.photo-lightbox .lightbox-next { right: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .photos-gallery {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .photos-gallery {
    column-count: 1;
  }

  .photos-filters-header {
    text-align: center;
  }
}

/* FORMULAIRE DE CONTACT */
.contact-form {
    padding: 4rem 2rem;
    background: var(--blanc);
    border-top: 2px solid var(--rose);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--noir);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--noir);
    font-weight: bold;
}

.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=checkbox],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--rose);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--noir);
    transition: border-color 0.3s ease;
}

.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group textarea:focus {
    border-color: var(--noir);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin-right: 0.5rem;
}

.form-group label a {
    color: var(--rose);
    text-decoration: underline;
}

.hidden {
    display: none;
}

/* MODALE DE SUCCÈS */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--noir);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    color: var(--blanc);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--blanc);
    cursor: pointer;
}

#success-modal .modal-content {
  color: var(--noir);
}

/* COORDONNÉES */
.contact-info {
    margin-top: 3rem;
    border-top: 2px solid var(--rose);
    padding-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--noir);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--rose);
    text-decoration: underline;
}

.faq-section {
    padding: 6rem 2rem 4rem 2rem; /* on augmente le padding-top */
    background: #03172f;
    color: var(--blanc);
    position: relative;
    width: 100%;
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section .section-tag {
    color: var(--beige);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.faq-section h2 {
    font-size: 2rem;
    color: var(--blanc);
    margin-bottom: 2rem;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--rose);
    margin-bottom: 1rem;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    padding: 1rem 0;
    cursor: pointer;
    color: var(--blanc);
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.faq-question:hover {
    color: var(--rose);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0.5rem 0 1rem 0;
    font-size: 1rem;
    color: var(--blanc);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* assez grand pour dérouler le contenu */
}

.faq-question .chevron {
    display: inline-block;
    transition: transform 0.4s ease;
    width: 1rem;
    height: 1rem;
    border-right: 2px solid var(--rose);
    border-bottom: 2px solid var(--rose);
    transform: rotate(45deg); /* flèche vers le bas */
    margin-left: 1rem;
}

.faq-item.active .faq-question .chevron {
    transform: rotate(-135deg); /* flèche vers le haut */
}

/* SECTION À PROPOS */
.apropos-section {
    padding: 6rem 2rem;
    background: var(--blanc);
    color: var(--noir);
    width: 100%;
}

.apropos-section.dark {
    background: #03172f;
    color: var(--blanc);
}

.apropos-inner {
    max-width: 800px;
    margin: 0 auto;
}

.apropos-section .section-tag {
    color: var(--beige);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.apropos-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.apropos-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.apropos-section .btn-main-outline {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    display: inline-block;
}

.apropos-photo {
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* WAVE TOP déjà en place */
.wave-top {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.wave-top svg {
    display: block;
    width: 100%;
    height: 150px;
    pointer-events: none;
}

.wave-top .shape-fill {
    fill: var(--blanc);
}

.apropos-vision {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 3rem; /* un peu plus d’espace entre texte et photo */
    align-items: center;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.vision-text {
    flex: 1 1 500px;
}

.vision-photo {
    flex: 0 1 400px;
}

.vision-photo img {
    width: 100%;
    border-radius: 8px;
 border-radius: 8px;
}

/* ADMIN FORM PAGE */
.admin-body {
  background: #fafafa;
  padding: 4rem 2rem;
  font-family: 'Inter', sans-serif;
}

body.admin-body {
  opacity: 1 !important;
}

.admin-form-section {
  max-width: 700px;
  margin: 0 auto;
  background: var(--blanc);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 3rem 4rem;
}

.admin-form-section h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.admin-form .form-group {
  margin-bottom: 1.5rem;
}

.admin-form .form-group label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--noir);
}

.admin-form input[type="text"],
.admin-form select,
.admin-form textarea,
.admin-form input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--rose);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form .btn-main-outline {
  margin-top: 1rem;
  display: block;
  width: 100%;
  text-align: center;
}

.modal-flash {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: 'Inter', sans-serif;
  text-align: center;
  max-width: 400px;
}
.modal-flash.success .modal-content { border-left: 6px solid #4CAF50; }
.modal-flash.error .modal-content { border-left: 6px solid #f44336; }
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .apropos-inner {
        padding: 0 1rem;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 0 1rem;
    }
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .demo, .profil-content {
        flex-direction: column;
    }

    .services-content {
        flex-direction: column;
    }
}

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

    .hero {
        padding: 2rem;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .demo {
        padding: 4rem 2rem;
    }

    .profil {
        padding: 4rem 2rem;
    }

    .services {
        padding: 4rem 2rem;
    }

    .profil-content {
        flex-direction: column;
        padding: 4rem 2rem;
    }

    .profil-text {
        max-width: 100%;
        padding-right: 0;
    }
}
