/*
 Theme Name:   Kadence Child — Feutren & Petin Aesthetics
 Theme URI:    https://preprod.fpa-mulhouse.com
 Description:  Thème enfant Kadence pour Feutren & Petin Aesthetics
 Author:       FPA
 Template:     kadence
 Version:      1.0.2
 Text Domain:  kadence-child-fpa
*/

:root {
  --fp-gold:          #aa9c7d;
  --fp-gold-light:    #c4b99a;
  --fp-gold-hover:    #998b6c;
  --fp-marine:        #23325d;
  --fp-marine-hover:  #1a2548;
  --fp-gray:          #7f7f7f;
  --fp-gray-light:    #f8f8f6;
  --fp-white:         #ffffff;
  --fp-black:         #000000;

  --fp-font-title:    'Cinzel', serif;
  --fp-font-body:     'Raleway', sans-serif;
  --fp-font-slider:   'Montserrat', sans-serif;

  --fp-transition:    0.25s ease;
  --fp-radius:        3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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


/* ── 1. Typographie ─────────────────────────────────────── */

body {
  font-family: var(--fp-font-body);
  font-size: 14px;
  font-weight: 400;
  color: #444;
  line-height: 1.75;
	text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
/*
h1 {
  font-family: var(--fp-font-title);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fp-black);
}

h2 {
  font-family: var(--fp-font-title);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fp-gold);
}

h3 {
  font-family: var(--fp-font-title);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--fp-black);
}

h4 {
  font-family: var(--fp-font-body);
  color: var(--fp-gold);
	margin-bottom: 25px;
    color: #aa9c7d;
    font-size: 36px;
    line-height: 36px;
    line-height: 46px;
    font-weight: 400;
}

h5 {
  font-family: var(--fp-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fp-black);
  margin-bottom: 16px;
}

p {
  font-family: var(--fp-font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--fp-gray);
}

a {
  color: var(--fp-marine);
  text-decoration: none;
  transition: color var(--fp-transition);
}
a:hover { color: var(--fp-gold); }
*/

/* ── 2. Header & navigation desktop ────────────────────── */

/* Header transparent par défaut sur les pages avec slider */
.page-template-template-traitement #masthead,
.home #masthead,
.page-template-template-home #masthead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
}

/* Sticky — fond blanc au scroll */
#masthead.kadence-sticky-header,
body.scroll-header #masthead {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: background var(--fp-transition), box-shadow var(--fp-transition);
}

/* Logo */
#masthead .site-branding img,
#masthead .custom-logo {
  height: 42px;
  width: auto;
  transition: opacity var(--fp-transition);
}

/* ── 3. Menu off-canvas mobile ──────────────────────────── */
/* Reproduit exactement le screenshot :
   volet blanc depuis la droite, liens majuscules,
   logo centré, bouton RDV marine pleine largeur,
   icônes sociales en bas */

.kadence-drawer,
.kadence-off-canvas-inner,
#mobile-drawer-inner {
  background: var(--fp-white) !important;
  width: min(380px, 80vw) !important;
  padding: 30px 32px 40px !important;
  display: flex;
  flex-direction: column;
}

/* Overlay sombre */
.kadence-drawer-overlay {
  background: rgba(35, 50, 93, 0.5) !important;
}

/* Bouton fermer */
.kadence-drawer .drawer-close,
.close-offcanvas {
  color: var(--fp-marine) !important;
  font-size: 24px;
  align-self: flex-end;
  margin-bottom: 10px;
}

/* Logo dans le drawer */
.kadence-drawer .drawer-logo img,
.offcanvas-logo img {
  max-width: 180px;
  display: block;
  margin: 0 auto 32px;
}

/* Liens nav mobile */
.kadence-drawer .drawer-navigation a,
.kadence-mobile-nav a,
.mobile-navigation a {
  font-family: var(--fp-font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: var(--fp-marine) !important;
  padding: 14px 0 !important;
  display: block !important;
  border-bottom: 1px solid #f0ede8 !important;
  transition: color var(--fp-transition) !important;
}
.kadence-drawer .drawer-navigation a:hover,
.mobile-navigation a:hover {
  color: var(--fp-gold) !important;
}

/* Séparateur entre les deux groupes de liens */
.mobile-nav-separator {
  height: 1px;
  background: #e8e4de;
  margin: 8px 0;
}

/* Bouton RDV pleine largeur */
.mobile-btn-rdv,
.kadence-drawer .btn-rdv-mobile {
  display: block !important;
  width: 100% !important;
  background: var(--fp-marine) !important;
  color: var(--fp-white) !important;
  font-family: var(--fp-font-body) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  text-align: center !important;
  padding: 18px 20px !important;
  margin-top: 28px !important;
  border-radius: var(--fp-radius) !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: color var(--fp-transition) !important;
}
.mobile-btn-rdv:hover {
  color: var(--fp-gold) !important;
  background: var(--fp-marine) !important;
}

/* Icônes sociales dans le drawer */
.mobile-social-row {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}
.mobile-social-row a {
  color: var(--fp-marine);
  font-size: 22px;
  transition: color var(--fp-transition);
}
.mobile-social-row a:hover {
  color: var(--fp-gold);
}

/* Copyright bas du drawer */
.mobile-copyright {
  font-size: 11px;
  color: #aaa;
  margin-top: auto;
  padding-top: 24px;
  line-height: 1.5;
}
.mobile-copyright a {
  color: var(--fp-gold);
}


/* ── 4. Boutons ─────────────────────────────────────────── */

/* Bouton principal marine */
.btn-fp-marine,
.elementor-button.btn-fp-marine,
.wp-block-button__link.btn-fp-marine {
  background-color: var(--fp-marine) !important;
  color: var(--fp-white) !important;
  font-family: var(--fp-font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 13px 30px;
  border-radius: var(--fp-radius);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: color var(--fp-transition);
}
.btn-fp-marine:hover {
  color: var(--fp-gold) !important;
  background-color: var(--fp-marine) !important;
}

/* Bouton secondaire or */
.btn-fp-gold {
  background-color: var(--fp-gold) !important;
  color: var(--fp-white) !important;
  font-family: var(--fp-font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: var(--fp-radius);
  border: none;
  display: inline-block;
  text-decoration: none;
  transition: background var(--fp-transition);
}
.btn-fp-gold:hover {
  background-color: var(--fp-gold-hover) !important;
  color: var(--fp-white) !important;
}


/* ── 5. Séparateurs & éléments décoratifs ───────────────── */

.fp-separator {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--fp-gold);
  margin: 20px 0;
  border: none;
}

/* Ligne décorative titre (trait après le H5 upperase) */
.fp-title-label {
  font-family: var(--fp-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fp-black);
  margin-bottom: 12px;
  display: block;
}


/* ── 6. Layout — container, grille, colonnes ────────────── */
/* Utilisé par single-traitement.php et single-zone.php      */

/* Reset Kadence sur les pages CPT */
.fp-traitement-body .site,
.fp-traitement-body .site-content,
.fp-traitement-body #content,
.fp-traitement-body .content-area,
.fp-traitement-body .entry-content,
.fp-traitement-body .site-main article,
.fp-zone-body .site,
.fp-zone-body .site-content,
.fp-zone-body #content,
.fp-zone-body .content-area,
.fp-zone-body .entry-content,
.fp-zone-body .site-main article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.fp-traitement-page,
.fp-zone-page { overflow-x: hidden; }

/* Container centré */
.fp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Ligne flex */
.fp-row {
  display: flex;
  align-items: flex-start;
}

/* Col gauche 33% */
.fp-col-left {
  flex: 0 0 33%;
  max-width: 33%;
  padding-right: 30px;
  padding-top: 70px;
  padding-bottom: 60px;
}

/* Col droite 67% */
.fp-col-right {
  flex: 0 0 67%;
  max-width: 67%;
  padding-left: 50px;
  padding-top: 70px;
  padding-bottom: 60px;
}

/* Zone — colonnes sans padding vertical (section gère ça) */
.fp-zone-col-left  { flex: 0 0 33%; max-width: 33%; padding-right: 40px; }
.fp-zone-col-right { flex: 0 0 67%; max-width: 67%; padding-left: 40px; }
.fp-zone-section   { padding: 70px 0 60px; }

@media (max-width: 991px) {
  .fp-row { flex-direction: column; }
  .fp-col-left,
  .fp-col-right {
    flex: 0 0 100%; max-width: 100%;
    padding: 30px 0;
  }
  .fp-col-left      { border-bottom: 1px solid #f0ede8; }
  .fp-col-right     { padding-left: 0; }
  .fp-zone-col-left,
  .fp-zone-col-right { flex: 0 0 100%; max-width: 100%; padding: 0 0 30px; }
}

/* ── Colonne gauche — éléments ──────────────────────────── */

.fp-label-upper {
  font-family: var(--fp-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fp-black);
  margin: 0 0 14px;
}

.fp-appareil-nom {
  font-family: var(--fp-font-title);
  font-size: clamp(26px, 3vw, 50px);
  font-weight: 400;
  color: var(--fp-gold);
  line-height: 1.15;
  margin: 0 0 16px;
}

.fp-soustitre {
  font-family: var(--fp-font-title);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  color: var(--fp-black);
  margin: 0 0 20px;
  line-height: 1.3;
}

.fp-intro {
  font-size: 18px;
  color: var(--fp-gray);
  line-height: 30px;
  margin: 0 0 20px;
}

.fp-cta-bloc { margin-top: 30px; }

/* ── Features list ──────────────────────────────────────── */

.fp-features-list {
  list-style: none !important; /* override Kadence */
  padding: 0 !important;
  margin: 0 0 24px;
}

.fp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
	font-family: var(--fp-font-body);
  font-size: 15px;
  line-height: 30px;
  color: var(--fp-gray);
  list-style: none !important;
}

.fp-feature-icon {
  flex-shrink: 0;
  width: 26px;
  text-align: center;
  margin-top: 1px;
}

.fp-feature-icon .fa {
  font-family: FontAwesome !important;
  color: var(--fp-gold);
  font-style: normal;
  display: inline-block;
	font-size: 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.fp-feature-text { flex: 1; }

/* Icônes corps/visage */
.fp-zones-icons {
  display: flex;
  gap: 30px;
  margin: 24px 0;
  align-items: center;
	justify-content: center;
}

.fp-zone-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fp-gray);
  font-family: var(--fp-font-title);
  font-size: 14px;
  transition: color var(--fp-transition);
}
.fp-zone-link:hover { color: var(--fp-gold); }
.fp-zone-icon {
  width: 180px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--fp-transition);
}
.fp-zones-icons span {
	font-family: var(--fp-font-title);
    font-size: 36px;
    font-weight: 400;
	color: #919191;
}
.fp-zone-link:hover .fp-zone-icon { opacity: 1; }

/* ── Boutons fp-btn ──────────────────────────────────────── */

.fp-btn {
  display: inline-block;
  font-family: var(--fp-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  padding: 14px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border: none;
  line-height: 1.4;
}
.fp-btn--marine {
  background-color: var(--fp-marine);
  color: var(--fp-white) !important;
}
.fp-btn--marine:hover {
  color: var(--fp-gold) !important;
  background-color: var(--fp-marine);
}
.fp-btn--full { display: block; width: 100%; }

/* ── Contenu principal col droite ───────────────────────── */

.fp-contenu-principal {
  font-size: 15px;
  color: var(--fp-gray);
  line-height: 1.85;
}
.fp-contenu-principal h3 {
  font-family: var(--fp-font-title);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--fp-gold);
  margin: 32px 0 14px;
}
.fp-contenu-principal h4 {
    margin-bottom: 25px;
	margin-top: 25px;
    line-height: 46px;
}
.fp-contenu-principal h5 {
	letter-spacing: 2px;
  color: var(--fp-gray) !important;
  margin: 32px 0 14px;
}

.fp-contenu-principal h4:first-child { margin-top: 0; }
.fp-contenu-principal p  { margin: 0 0 18px; font-size: 15px; color: var(--fp-gray); }
.fp-contenu-principal ul,
.fp-contenu-principal ol { padding-left: 22px; margin: 0 0 20px; }
.fp-contenu-principal li { margin-bottom: 8px; font-size: 15px; color: var(--fp-gray); }
.fp-contenu-principal table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.fp-contenu-principal table td,
.fp-contenu-principal table th { padding: 8px 12px; border-bottom: 1px solid #f0ede8; vertical-align: top; }
.fp-contenu-principal table td:last-child { text-align: right; font-weight: 500; color: var(--fp-marine); white-space: nowrap; }
.fp-contenu-principal img { max-width: 100%; height: auto; display: inline-block; }
.fp-contenu-principal a { color: var(--fp-marine); text-decoration: underline; transition: color 0.2s; }
.fp-contenu-principal a:hover { color: var(--fp-gold); }
.fp-rdv-bloc {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #f0ede8;
}

/* ── Contenu libre col gauche ───────────────────────────── */

.fp-contenu-libre {
  margin: 20px 0;
  font-size: 13px;
  color: var(--fp-gray);
  line-height: 1.7;
}
.fp-contenu-libre table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fp-contenu-libre table td { padding: 2px; border-bottom: 1px solid #f0ede8; vertical-align: top; }
.fp-contenu-libre table tr:last-child td { border-bottom: none; }
.fp-contenu-libre table td:last-child { text-align: right; white-space: nowrap; color: var(--fp-marine); font-weight: 500; }
.fp-contenu-libre ul,
.fp-contenu-libre ol { padding-left: 20px; margin: 10px 0; }
.fp-contenu-libre li { margin-bottom: 6px; }

/* ── Zone — éléments spécifiques ───────────────────────── */

.fp-zone-label {
  font-family: var(--fp-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fp-black);
  margin: 0 0 14px;
  line-height: 1.5;
}

.fp-zone-titre {
  font-family: var(--fp-font-title);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--fp-gold);
  line-height: 1.15;
  margin: 0 0 24px;
}

.fp-zone-image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #e8e3dc;
  display: block;
  margin: 0 0 20px;
}

.fp-zone-intro { font-size: 14px; color: var(--fp-gray); line-height: 1.75; }

.fp-zone-traitements-liste { margin: 28px 0; }
.fp-zone-intro-liste { font-size: 15px; font-weight: 500; color: var(--fp-gray); margin: 0 0 10px; }
.fp-zone-traitements-ul { list-style: none; padding: 0; margin: 0 0 16px; }
.fp-zone-traitement-item { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.fp-zone-tiret { color: var(--fp-gold); font-weight: 600; flex-shrink: 0; }
.fp-zone-traitement-link { font-size: 14px; color: var(--fp-marine); text-decoration: none; transition: color 0.2s; }
.fp-zone-traitement-link:hover { color: var(--fp-gold); text-decoration: underline; }

.fp-zone-apres-liste { font-size: 15px; color: var(--fp-gray); line-height: 1.85; margin: 0 0 32px; }
.fp-zone-apres-liste p { margin: 0 0 14px; }

.fp-zone-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 600px) {
  .fp-zone-cta-row { flex-direction: column; }
  .fp-zone-image   { max-width: 200px; }
}

.fp-zone-traitements-ul{
	margin-top: -20px;
		margin-bottom: 60px;
}

/* ── 10. Footer ─────────────────────────────────────────── */
footer img{
	max-width: 300px;
	margin: auto;
}
.widget_nav_menu{
	padding-top: 30px;
	border-top:2px solid var(--global-palette3);
	max-width: 220px;
    margin: auto !important;
	margin-top: 40px !important;
}
.site-footer,
#colophon {
  background: var(--fp-white);
  /*border-top: 1px solid #eee;*/
  padding: 60px 0 30px;
  color: var(--fp-gray);
  font-size: 13px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 24px;
}
.footer-logo img {
  max-width: 160px;
}

.footer-address {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fp-gray);
}

.footer-phone {
  display: block;
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  color: var(--fp-gold);
  margin: 12px 0;
  letter-spacing: 1px;
}
.footer-phone a {
  color: var(--fp-gold);
  text-decoration: none;
}
.footer-phone a:hover { color: var(--fp-gold-hover); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 10px;
}
.footer-social a {
  color: var(--fp-black);
  font-size: 48px;
  transition: color var(--fp-transition);
}
.footer-social a:hover { color: var(--fp-gold); }

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav ul li {
  margin-bottom: 8px;
}
.footer-nav ul li a {
  color: var(--fp-gray);
  font-size: 13px;
  transition: color var(--fp-transition);
}
.footer-nav ul li a:hover { color: var(--fp-gold); }

.footer-legal {
  font-size: 11px;
  color: #bbb;
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}
.footer-legal a { color: var(--fp-gold); }

.site-top-footer-inner-wrap {
	display: none !important;
}


/* ── 11. Animations ─────────────────────────────────────── */
/* Reproduit les classes WOW.js / sppb-wow de l'original */

/* Keyframes */
@keyframes fpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fpFadeInDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fpFadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fpFadeInRight {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fpFadeInLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Classes utilitaires (ajoutées via JS au scroll) */
.fp-animate {
  opacity: 0;
  transition: opacity 0.1s;
}

.fp-animate.fp-animated {
  opacity: 1;
}

.fp-animate.fadeInDown.fp-animated {
  animation: fpFadeInDown 0.7s ease both;
}

.fp-animate.fadeInUp.fp-animated {
  animation: fpFadeInUp 0.7s ease both;
}

.fp-animate.fadeInRight.fp-animated {
  animation: fpFadeInRight 0.7s ease both;
}

.fp-animate.fadeInLeft.fp-animated {
  animation: fpFadeInLeft 0.7s ease both;
}

.fp-animate.fadeIn.fp-animated {
  animation: fpFadeIn 0.7s ease both;
}

/* Délais (data-delay sur les éléments) */
.fp-animate[data-delay="200ms"] { animation-delay: 0.2s; }
.fp-animate[data-delay="400ms"] { animation-delay: 0.4s; }
.fp-animate[data-delay="600ms"] { animation-delay: 0.6s; }
.fp-animate[data-delay="800ms"] { animation-delay: 0.8s; }

/* Respect accessibilité — désactive les animations si préférence système */
@media (prefers-reduced-motion: reduce) {
  .fp-animate,
  .fp-animate.fp-animated {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ── 12. Smart Slider — intégration ─────────────────────── */

/* Fullwidth sans marges Kadence */
.elementor-widget-smartslider .n2-ss-slider-wrapper,
.fp-slider-wrap .n2-ss-slider-wrapper {
  margin-left:  calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
}

/* Typos dans les slides */
.n2-ss-layer h1,
.n2-ss-layer [data-type="heading"] {
  font-family: var(--fp-font-slider) !important;
  font-weight: 400 !important;
  letter-spacing: 1px;
}

.n2-ss-layer h2 {
  font-family: var(--fp-font-title) !important;
  font-weight: 400 !important;
}

/* Dots navigation */
.n2-bullet-bar .n2-bullet {
  background: rgba(255,255,255,0.5) !important;
  border: none !important;
}
.n2-bullet-bar .n2-bullet.n2-active {
  background: var(--fp-white) !important;
}


/* ── 13. Responsive ─────────────────────────────────────── */

@media (max-width: 1199px) {
  .fp-col-sidebar { padding-right: 20px; }
  .fp-col-main    { padding-left: 20px; }
}

@media (max-width: 991px) {
  .fp-col-sidebar,
  .fp-col-main {
    padding-left: 0;
    padding-right: 0;
  }
  .fp-treatment-content {
    padding: 40px 0 30px;
  }
}

@media (max-width: 767px) {
  h4 { font-size: 18px; }
  .fp-text-block p { font-size: 14px; }
  .fp-features-list li,
  .fp-feature-item { font-size: 14px; }
  .fp-treatments-section { padding: 30px 16px; }
  .footer-phone { font-size: 22px; }
}


/* ═══════════════════════════════════════════════════════════
   FP SLIDER — styles globaux partagés
   S'applique sur toutes les pages : CPT traitement ET Elementor.
   Modifier ici = modifie TOUS les sliders du site.
   ═══════════════════════════════════════════════════════════ */

.fp-slider {
  position: relative;
  width: 100%;
  height: 80vh;
	max-height: 860px;
  min-height: 640px;
  overflow: hidden;
  background: #1a2548;
}

.fp-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides empilés — inactifs invisibles (CRITIQUE) */
.fp-slider__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}

.fp-slider__slide.fp-slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* Overlay sombre dégradé */
.fp-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /*background: linear-gradient(
    to bottom,
    rgba(20, 30, 60, 0.22) 0%,
    rgba(20, 30, 60, 0.42) 50%,
    rgba(20, 30, 60, 0.58) 100%
  );*/
}

/* Contenu centré verticalement */
.fp-slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 950px;
  padding: 0 40px;
  text-align: center;
  color: #fff;
  z-index: 3;
}

/* ── H1 : label avec traits de chaque côté ──── */
.fp-slide__h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin: 0 0 18px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0s, transform 0s;
}
.fp-slide__h1::before,
.fp-slide__h1::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: rgba(255,255,255,1);
}

/* ── H2 : grand titre Cinzel ─────────────────── */
.fp-slide__h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(40px, 7vw, 110px) !important;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 10px !important;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0s, transform 0s;
}

/* ── Texte accroche ──────────────────────────── */
.fp-slide__text {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(16px, 1.2vw, 22px) !important;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin: 0 auto;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0s, transform 0s;
}

/* ── Animations sur slide actif ─────────────── */
.fp-slide--animate .fp-slide__h1 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.fp-slide--animate .fp-slide__h2 {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}
.fp-slide--animate .fp-slide__text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

/* ── Dots rectangulaires ─────────────────────── */
.fp-slider__dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.fp-slider__dot {
  width: 28px;
  height: 3px;
  border-top: 3px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0) !important;
  cursor: pointer;
  padding: 10px 0px !important;
  transition: background 0.3s, width 0.3s;
}

.fp-slider__dot.fp-dot--active {
  border-top: 3px solid rgba(255,255,255,1);
  width: 40px;
}

.fp-slider__dot:hover {
  background: rgba(255,255,255,0)!important;
}

/* ── Vague SVG blanche en bas ────────────────── */
.fp-slider__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 6;
  pointer-events: none;
  line-height: 0;
}

.fp-slider__wave svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: #ffffff;
	transform: rotate(180deg);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 767px) {
  .fp-slider            { height: 80vh; min-height: 420px; }
  .fp-slider__content   { padding: 0 20px; }
  .fp-slide__h2         { font-size: clamp(32px, 10vw, 56px); }
  .fp-slider__dots      { bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .fp-slider__slide { transition: none; }
  .fp-slide--animate .fp-slide__h1,
  .fp-slide--animate .fp-slide__h2,
  .fp-slide--animate .fp-slide__text {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Elementor widget override ───────────────── */
/* Le widget Elementor enveloppe dans .elementor-widget-fp_slider
   On s'assure que le slider prend toute la largeur */
.elementor-widget-fp_slider .fp-slider,
.elementor-widget-fp_slider {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* ── Bouton slide ────────────────────────────────────────── */
.fp-slide__btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 1);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 2px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0s, transform 0s,
              background-color 0.25s, border-color 0.25s;
}

.fp-slide__btn:hover {
  background-color: #aa9c7d;
  border-color: #aa9c7d;
  color: #fff !important;
}

.fp-slide--animate .fp-slide__btn {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.65s, transform 0.7s ease 0.65s,
              background-color 0.25s, border-color 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .fp-slide__btn {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* FOOTER */
.site-footer p, .site-footer {
	text-align: center;
	color: var(--fp-marine);
	font-size: 18px;

}
.site-footer a, .site-footer h3{
	font-family: var(--fp-font-body);
	
}
.site-footer .reseaux, .site-footer .reseaux i {
	font-size: 80px;
	color: var(--fp-marine);
	padding: 20px;
}
#block-15{
	line-height: 15px;
}
sub{
	font-size: 11px !important;
	color: var(--fp-gray);	
}
.site-bottom-footer-wrap p{
	color: var(--fp-gray);
	font-size: 16px;
}

/* HOME */
/* Colonne cliquable */
.home_drs {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Overlay noir */
.home_drs .elementor-widget-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.home_drs:hover .elementor-widget-wrap::before {
  background: rgba(0, 0, 0, 0.3);
}

/* Titre remonte */
.home_drs .elementor-heading-title {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.home_drs:hover .elementor-heading-title {
  transform: translateY(-8px);
}

/* Lien étire sur toute la colonne */
.home_drs .elementor-heading-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* HEADER */
.site-header .site-container{
	max-width: 100%;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}
a.social-button {
width: 32px !important;
	height: 32px !important;
}
.header-button-inner-wrap a.button.button-size-small{ 
    /*font-size: 100%;*/
    padding: 16px 26px;
	background-color: var(--fp-marine);
}
.menu-item {
	padding: 10px 10px;
}
.menu-item a{
	font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.07px;
    text-transform: uppercase;
    padding: 0px !important;
}
.menu-item a:hover{
	color: #000 !important;
}


/* Menu principal et secondaire - effet ligne au survol */
.main-navigation li a {
  position: relative;
}

.main-navigation li a:before, .secondary-navigation li a:before{
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 0%;
  background: #002c55;
  height: 2px;
  transition: width 0.4s ease;
}

.main-navigation li a:hover:before, .secondary-navigation li a:hover:before,
li.current-menu-item a:before {
  width: 50%;
}
li.menu-item.current-menu-item a {
    color: #000 !important;
}

#mobile-drawer .menu-toggle-close {
	margin-top: 15px;
}

/* LANGUE SWITCHER */
/* ── Conteneur fixe, calé dans le coin haut-gauche du header ── */
    .kc-lang-switcher {
        position : fixed;
        top      : 28px;   /* À ajuster selon la hauteur de votre header Kadence */
        left     : 104px;  /* À ajuster pour se placer après vos icônes sociales  */
        z-index  : 199999;
        display  : flex;
        align-items : center;
        gap      : 6px;
		transition: all 0.3s ease;
    }
 
    /* ── Chaque drapeau ── */
    .kc-lang-switcher__flag {
        display       : flex;
        align-items   : center;
        justify-content : center;
        width         : 24px;
        height        : 24px;
        border-radius : 50%;
        overflow      : hidden;
        opacity       : 0.6;
        transition    : opacity .2s ease, transform .2s ease;
        line-height   : 0;
        text-decoration : none;
    }
 
    .kc-lang-switcher__flag img {
        width      : 100%;
        height     : 100%;
        object-fit : cover;
        display    : block;
    }
.kc-lang-switcher a:after {
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    border: solid 2px #b0a388;
    border-radius: 50%;
    position: absolute;
    top: 0px;
}
 
    /* ── Hover ── */
    .kc-lang-switcher__flag:hover {
        opacity   : 1;
        transform : scale(1.12);
    }
 
    /* ── Langue active : pleine opacité, pas cliquable ── */
    .kc-lang-switcher__flag.is-active {
        opacity        : 1;
        pointer-events : none;
        cursor         : default;
    }
 
    /* ── Responsive ── */
    @media (max-width: 1024px) {
        .kc-lang-switcher {
            top  : 28px;
            left : unset;
			right: 70px;
        }
        .kc-lang-switcher__flag {
            width  : 22px;
            height : 22px;
        }

    }
/* ── Responsive ── */
@media (max-width: 1240px) {
	.site-branding{
		padding: 0px 15px !important;
	}
	header .menu-item a {
  font-size: 11px !important;
	}
	.header-button-inner-wrap a.button.button-size-small {
	  font-size: 12px;
	  padding: 8px 14px;
	}
	.menu-item {
	  padding: 6px 6px;
	}

}

@media (max-width: 1024px) {
	.site-branding{
		padding: 0px 30px !important;
	}
	.site-top-footer-inner-wrap {
		display: grid !important;
	}
	.site-middle-footer-wrap .widget_nav_menu{
		display: none;
	}
}
