@charset "UTF-8";
@import url(main.css);
#myGallery > img { border-radius: 20px; }

/*---------------------------------------Ajustements SEO-----------------------------------------------*/
.first-activity-div, .second-activity-div, .third-activity-div { background: #fffdf4; margin: 0 auto !important; }

.first-activity-div h2, .second-activity-div h2, .third-activity-div h2 { font-size: 1.6rem; font-weight: 700; color: #a6313c; position: relative; margin-bottom: 25px; padding-bottom: 12px; }

/* Ligne décorative */
.first-activity-div h2::after, .second-activity-div h2::after, .third-activity-div h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: linear-gradient(135deg, #e29f3f, #f0d53d); border-radius: 2px; }

div:has(> .first-activity-div) { background-color: white; padding: 100px 0; }

/*-----------------------------------------------Galerie infini-------------------------------------------------------------*/
.infinite-gallery { overflow: hidden; width: 100%; position: relative; margin: 150px 0; }

.gallery-track { display: flex; gap: 20px; width: max-content; animation: scrollGallery 30s linear infinite; }

.gallery-item { flex: 0 0 auto; }

.gallery-item img { max-height: 400px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 15px; display: block; }

/* Animation */
@keyframes scrollGallery { from { transform: translateX(0); }
  to { transform: translateX(-50%); } }

/* Pause au survol (optionnel) */
.infinite-gallery:hover .gallery-track { animation-play-state: paused; }

/* -----------------------------------------------------------SECTION SERVICE DETAIL -----------------------------------*/
.fgr-service-section { padding: 90px 0; }

.fgr-service-section:nth-child(even) { background: linear-gradient(135deg, #fffeef, #ffffff); }

.fgr-service-section:nth-child(odd) { background: linear-gradient(135deg, #ffffff, #fffeef); }

.fgr-service-container { max-width: 1100px; margin: auto; }

.fgr-service-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }

.fgr-service-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #e29f3f, #f0d53d); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; box-shadow: 0 10px 25px rgba(226, 159, 63, 0.3); }

.fgr-service-section h2 { font-weight: 700; color: #a6313c; margin: 0; }

.fgr-service-content h3 { font-size: 1.4rem; color: #e29f3f; margin-top: 25px; }

.fgr-service-content ul { padding-left: 0; list-style: none; }

.fgr-service-content ul li { margin-bottom: 10px; position: relative; padding-left: 18px; color: #575656; font-size: 1.15rem; }

.fgr-service-content p { color: #575656; font-size: 1.15rem; }

.fgr-service-content ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: #f71126; border-radius: 50%; }

.fgr-service-cta { margin-top: 30px; }

.fgr-service-header { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.fgr-service-title { flex: 1; }

.fgr-service-logo img { max-height: 200px; width: auto; border-radius: 12px; /* Coins arrondis */ padding: 6px; background: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease; }

.fgr-service-logo img:hover { transform: scale(1.05); }

/* ----------------------------------------------Bloc Espacement----------------------------------------------*/
.b-bloc-divider { height: 100px !important; background-color: white !important; border: none !important; box-shadow: none !important; }

/*---------------------------Barre de navigation--------------------*/
nav.navbar { box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px; }

.animated-border-button:after { background-color: #F0D53D; }

nav a { text-decoration: none !important; }

/*---------------------------------------Responsive-------------------------------------------------------*/
@media (max-width: 1000px) { section.fgr-confiance { padding-top: 6rem !important; } .fgr-image-wrapper img { max-width: 100% !important; } div.heroEffects h1 { font-size: 1.5rem !important; } .fgr-list li { font-size: 0.8rem !important; } }

/*-------------------------------------------bannière d'accueil------------------------------------------------*/
.heroEffects { height: 100vh; position: relative; z-index: -1; top: 0; left: 0; }

.heroEffects .bg { height: 100vh; position: fixed; width: 100%; background-image: url("https://storage.googleapis.com/refpro-app-ca244.appspot.com/customers%2FAi3yn1Shl4UPe4vFspb8XxIEUwa2%2Fimages%2FPhotos_banniere_4esf.webp"); background-repeat: no-repeat; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; background-position: center center; transform: scale(1); }

.heroEffects .shade { opacity: 0; background: rgba(0, 0, 0, 0.8); z-index: 3; height: 100vh; position: fixed; width: 100%; }

.heroEffects .title { width: 100%; }

.heroEffects .title .text { z-index: 1; width: 100%; text-align: center; color: White; padding: 3em 4em; background: rgba(0, 0, 0, 0.38); height: 100vh; display: flex; flex-direction: column; justify-content: center; }

.heroEffects .arrow { position: fixed; left: 50%; margin-left: -20px; bottom: 0; width: 40px; height: 40px; opacity: 1; }

.centerV { display: table; height: 100%; }

.centerV > div { display: table-cell; vertical-align: middle; }

.fondDegradeLogo { max-width: 350px; margin-left: auto; margin-right: auto; filter: drop-shadow(2px 4px 6px black); }

.heroEffects h1 { font-size: 3em !important; margin-bottom: 0.6em !important; color: #fff; }

.heroEffects p { width: fit-content; margin: 0 auto; line-height: 1.5em; padding: 10px 20px 0; border-top: solid 1px rgba(255, 255, 255, 0.2); letter-spacing: 0.015em; display: block; color: #eee; }

.content.scroll { background: white; }

.bouncy { animation: Weeeeeeeeeee 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275); }

@keyframes Weeeeeeeeeee { 0% { transform: translate(0, 0px);
    animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1); }
  11% { transform: translate(0, -25px) scaleX(0.8);
    animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5); }
  20% { transform: translate(0, 0px) scaleY(0.8);
    animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1); }
  28% { transform: translate(0, -10px);
    animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5); }
  36% { transform: translate(0, 0px);
    animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1); }
  100% { transform: translate(0, 0px);
    animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1); } }

/*-------------------------------------------------Bloc avant/ après-------------------------------------*/
.before-after-images-column { min-height: 800px; }

.image-before-after-container { border-radius: 15px; }

#avant-apres { background: linear-gradient(135deg, #fffeef, #ffffff); }

.photoTitleText:has(> #avant-apres) { background: linear-gradient(135deg, #fffeef, #ffffff); }

/*--------------------------------------------1er paragraphe---------------------------------------*/
section.fgr-section { background: linear-gradient(180deg, #75000012, #ffffff); padding-top: 100px !important; }

.fgr-title { color: #a6313c; font-weight: 700; }

.fgr-list li { font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; }

.fgr-list li a { display: flex; align-items: center; padding: 12px 15px; border-radius: 12px; text-decoration: none; color: #7f7f7f; font-weight: 600; transition: all 0.3s ease; position: relative; }

/* Effet bordure animée */
.fgr-list li a::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0; height: 60%; background: #7C1616; border-radius: 4px; transition: width 0.3s ease; }

/* Hover */
.fgr-list li a:hover { background: #fff7e6; color: #7C1616; transform: translateX(6px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); }

/* Bordure qui apparaît */
.fgr-list li a:hover::before { width: 4px; }

/* Icône animée */
.fgr-list li a:hover i { color: #7C1616; transform: scale(1.15); }

.fgr-list i { font-size: 1.5rem; margin-right: 12px; color: #e29f3f; min-width: 25px; }

.fgr-badge { background: #f0d53d20; padding: 15px; border-left: 4px solid #7C1616; border-radius: 8px; font-size: 1.15rem; color: #333; }

.fgr-badge i { color: #7C1616; margin-right: 8px; }

.fgr-image-wrapper img { transition: transform 0.4s ease; max-width: 500px; aspect-ratio: 1 / 1; object-fit: cover; }

.fgr-image-wrapper img:hover { transform: scale(1.03); }

/*--------------------------------Bloc de références-------------------------------------*/
.fgr-confiance { background: linear-gradient(135deg, #fffeef, #ffffff); position: relative; overflow: hidden; }

.fgr-confiance::after { content: ""; position: absolute; top: 0; right: 0; width: 140px; /* ajuste si besoin */ height: 140px; background-image: url("https://storage.googleapis.com/refpro-app-ca244.appspot.com/customers%2FAi3yn1Shl4UPe4vFspb8XxIEUwa2%2Fimages%2FDesign_sans_titre_mr0t.webp"); background-size: contain; background-repeat: no-repeat; background-position: top right; z-index: 2; pointer-events: none; /* évite les problèmes de clic */ }

/* Responsive */
@media (max-width: 768px) { .fgr-confiance::after { width: 100px; height: 100px; } }

.fgr-confiance-title { font-weight: 700; color: #a6313c; font-size: 1.9rem; }

.fgr-confiance-sub { color: #7f7f7f; font-size: 1.15rem; }

.fgr-card { background: #fff; padding: 30px 20px; border-radius: 20px; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); height: 100%; }

.fgr-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }

.fgr-logo { max-height: 80px; object-fit: contain; }

.fgr-card h5 { font-weight: 700; color: #e29f3f; margin-bottom: 10px; }

.fgr-card p { color: #7f7f7f; font-size: 1.15rem; }

/*--------------------------------------------Cards services-----------------------------------------------*/
/* SECTION SERVICES */
.fgr-services { background: linear-gradient(135deg, #ffffff, #fffeef); }

.fgr-services-title { font-size: 2rem; font-weight: 700; color: #a6313c; }

.fgr-services-sub { color: #7f7f7f; }

/* Card */
.fgr-service-card { background: #ffffff; padding: 35px 25px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; height: 100%; position: relative; overflow: hidden; }

.fgr-service-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08); }

/* Icône ronde */
.fgr-icon { width: 65px; height: 65px; background: linear-gradient(135deg, #e29f3f, #f0d53d); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.6rem; color: #fff; box-shadow: 0 10px 20px rgba(226, 159, 63, 0.3); }

/* Titre */
.fgr-service-card h5 { font-weight: 700; color: #7C1616; margin-bottom: 12px; }

/* Texte */
.fgr-service-card p { color: #7f7f7f; font-size: 1.15rem; margin-bottom: 20px; }

/* Lien */
.fgr-card-link { font-weight: 600; color: #e29f3f; text-decoration: none; transition: 0.3s ease; }

.fgr-card-link:hover { color: #f71126; }

/*---------------------------------bannières CTA -----------------------------------------*/
.cta_banner .titles { background: #fffdf4; padding: 25px; border-left: 4px solid #7C1616; border-radius: 8px; font-size: 1.15rem; color: #333 !important; font-weight: 400 !important; width: 80%; margin: auto; }

/*----------------------------------------Bannière pages secondaires-----------------------------------------*/
/* HERO SECTION CLEAN */
.fgr-hero-clean { position: relative; background-image: url("https://firebasestorage.googleapis.com/v0/b/refpro-app-ca244.appspot.com/o/customers%2FAi3yn1Shl4UPe4vFspb8XxIEUwa2%2Fimages%2FPhotos_banniere_4esf.webp?alt=media&token=cb8d2816-2f07-414b-8c1a-78485d31d695"); background-size: cover; background-position: center; padding: 110px 20px; display: flex; align-items: center; }

/* Overlay sombre élégant */
.fgr-hero-overlay-dark { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); z-index: 1; }

/* Contenu */
.fgr-hero-row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 40px; color: #ffffff; flex-wrap: wrap; }

/* Logo */
.fgr-hero-logo { max-width: 170px; height: auto; filter: drop-shadow(2px 4px 6px black); }

/* Ligne verticale */
.fgr-hero-divider { width: 2px; height: 100px; background: #f0d53d; }

.fgr-hero-right { max-width: 70%; }

/* Texte */
.fgr-hero-right h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.3; margin: 0; }

/* Responsive */
@media (max-width: 768px) { .fgr-hero-row { flex-direction: column; text-align: center; } .fgr-hero-divider { width: 60px; height: 2px; } .fgr-hero-right h1 { font-size: 1.6rem; } }

/*----------------------------------------------------Formulaire de contact-----------------------------------*/
#contact { background-image: url(https://storage.googleapis.com/refpro-app-ca244.appspot.com/customers%2FAi3yn1Shl4UPe4vFspb8XxIEUwa2%2Fimages%2FPhotos_banniere_1_acfs.webp); background-position: center; background-size: cover; background-attachment: fixed; }

#contact .titles { background: #fffdf4; padding: 25px; border-left: 4px solid #7C1616; border-radius: 8px; font-size: 1.15rem; color: #333 !important; font-weight: 400 !important; width: 80%; margin: auto; }

#contact .titles::before { content: ''; background-image: url(https://storage.googleapis.com/refpro-app-ca244.appspot.com/customers%2FAi3yn1Shl4UPe4vFspb8XxIEUwa2%2Fimages%2FDesign_sans_titre_1_dufh.webp); width: 90%; height: 200px; background-size: contain; background-position: center; background-repeat: no-repeat; display: block; margin-left: auto; margin-right: auto; margin-bottom: 50px; }

/*-----------------------------------------------------------faq----------------------------------------------------*/
.accordion::after { content: ""; position: absolute; top: 0; left: 0; width: 140px; /* ajuste si besoin */ height: 140px; background-image: url("https://storage.googleapis.com/refpro-app-ca244.appspot.com/customers%2FAi3yn1Shl4UPe4vFspb8XxIEUwa2%2Fimages%2FDesign_sans_titre_2_thod.webp"); background-size: contain; background-repeat: no-repeat; background-position: top right; z-index: 2; pointer-events: none; /* évite les problèmes de clic */ }

.accordion { position: relative; overflow: hidden; }

@media (min-width: 1500px) { .accordion { padding: 10rem 30rem; } }

@media (max-width: 1499px) { .accordion { padding: 10rem 20rem; } }

@media (max-width: 1150px) { .accordion { padding: 10rem 10rem; } }

@media (max-width: 900px) { .accordion { padding: 10rem 5rem; } }

.accordion-button:not(.collapsed) { background-color: #e0e0e0 !important; box-shadow: none; color: black !important; }

.accordion-button p { font-size: 1.4rem; font-family: 'Lexend'; }

.accordion-collapse { padding: 20px 10px; }

.accordion-button:focus { border-color: #fff8eb !important; box-shadow: none !important; }

.accordion-item { margin: 20px 5px; border-radius: 15px !important; }

.accordion-header { border-radius: 15px !important; }

.accordion-button { border-radius: 15px !important; }

/*---------------------------------Boutons FGR-------------------------------------------------*/
a.button_header, a.button_homepageScreen, a.button_homepageDoubleScreen { padding: 10px 15px !important; border: unset !important; border-radius: 15px !important; /* plus moderne */ color: white !important; z-index: 1 !important; background: #7c1616 !important; /* rouge principal */ position: relative !important; box-shadow: 0 10px 25px rgba(247, 17, 38, 0.25) !important; transition: all 300ms ease !important; overflow: hidden !important; text-transform: uppercase; font-weight: 500 !important; letter-spacing: 1px; }

/* Overlay animé */
a.button_header::before, a.button_homepageScreen::before, a.button_homepageDoubleScreen::before { content: "" !important; position: absolute !important; top: 0 !important; left: 0 !important; height: 100% !important; width: 0 !important; border-radius: 15px !important; background: linear-gradient(135deg, #e29f3f, #f0d53d) !important; z-index: -1 !important; transition: all 400ms ease !important; }

/* Hover */
a.button_header:hover::before, a.button_homepageScreen:hover::before, a.button_homepageDoubleScreen:hover::before { width: 100% !important; }

/* Effet au survol */
a.button_header:hover, a.button_homepageScreen:hover, a.button_homepageDoubleScreen:hover { transform: translateY(-3px) !important; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important; color: #fff !important; }

/*# sourceMappingURL=custom.css.map */