@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* titles Style */
h2{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 35px;
}

h3{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 25px;
}

.lien, .lien a, .nav-link .lien{
  color: rgb(255, 99, 82);
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(to right, rgb(255, 99, 82), rgb(255, 150, 130));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s ease, color 0.3s ease;
}

.lien:hover, .lienHeader:hover{
  background-size: 100% 2px;
  color: rgb(200, 50, 40) !important;
}
.lienHeader{
  color:#222 !important;
}


.headline-objectif{
  background: linear-gradient(90deg, var(--accent-grad-start), var(--accent-grad-end));
  background-size: 200% 200%;
  transition: background-position 0.6s ease, transform 0.2s ease;
  padding: 80px 80px 60px 60px;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  color: white;
  line-height: 60px;
}
:root {
  --faq-radius: 14px;
  --faq-border: 1px solid rgba(0,0,0,.08);
  --faq-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.faq-section {
  background: #fff;
}

.faq-heading {
  font-weight: 700;
}

.faq-lead {
  color: #6c757d;
  max-width: 700px;
}

.accordion.faq-accordion .accordion-item {
  border: var(--faq-border);
  border-radius: var(--faq-radius) !important;
  overflow: hidden;
  box-shadow: var(--faq-shadow);
}

.accordion.faq-accordion .accordion-item + .accordion-item {
  margin-top: 16px;
}

.accordion.faq-accordion .accordion-button {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.accordion-button::after {
  transition: transform .2s ease;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.accordion-button:not(.collapsed) {
  background: #f8f9fa;
  box-shadow: none;
  color:#fb5b58 !important;
}

.accordion-body {
  line-height: 1.6;
  color: #495057;
}
/* */
.textCenter{
  text-align: center;
}
/* Colors & variables */
:root{
  --accent-grad-start: #ff6b4a;
  --accent-grad-end: #ff4a6b;
  --accent-dark: #111;
  --topbar-grad-a: rgba(30,30,30,0.95);
  --topbar-grad-b: rgba(40,40,40,0.92);
  --max-width: 1400px;
}

/* Global */
html, body {
  overflow-x: hidden;
}

*{box-sizing:border-box}
body{
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
  font-size: 21px;
  font-variation-settings:
    "wdth" 100;
  color: #222;
  margin:0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:#fff;
}
.navbarHeight{
  min-height: 100px;
  width: 100%;
  border: none !important;
}

/* Top black info bar */
.top-info {
    background: linear-gradient(90deg,#222 0%, #111 100%);
    color: #fff;
    font-size: 1.2rem;
    padding: 42px 42px;
    clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100% );
}

.top-info span {
    margin-left: 20px;
}
.headerNav::lastchild{
  right: 0!important;
}

/* Bouton réserver */
.btn-session {
    background: linear-gradient(to right, #f64444, #ff793e);
    color: white;
    border: none;
    padding: 20px 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 0;
}

.btn-cancel{
   background: linear-gradient(to right, #929292, #5a5757) !important;
}
.btn-session:hover {
    opacity: 0.9;
}

/* Menu */
.nav-link {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: #000 !important;
}
.nav-link:hover {
    color: #ff5e40 !important;
}
.contentBtnHamburger {
  background: linear-gradient(to right, #f64444, #ff793e);
  border-radius: 10px;
  padding: 1px 12px 12px 12px;
}
.contentBtnSession{
  background: linear-gradient(to right, #f64444, #ff793e);
  border-radius: 10px;
  display: flex;
  justify-content: center; 
  align-items: center;    
  height: 100%;            
}

/* Reset du bouton pour notre icône custom */
.navbar .navbar-toggler.hamburger{
  border: none;
  width: 30px;
  height: 17px;
  position: relative;
  margin-left: 0;
  margin-top: 0;
  color: white !important;
}
.fa-pen-to-square{
  color: white !important;
  font-size: 1.6rem;
}
/* Les 3 barres */
.navbar .hamburger .bar{
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;                 /* épaisseur des barres */
  background: currentColor;    /* hérite de la couleur du texte */
  border-radius: 2px;
  transform-origin: center;
  transition: all .3s ease;    /* transition douce comme dans l’article */
}

/* Position de départ (hamburger) */
.navbar .hamburger .bar:nth-of-type(1){ top: 0; }
.navbar .hamburger .bar:nth-of-type(2){ top: calc(50% - 1.5px); }
.navbar .hamburger .bar:nth-of-type(3){ top: calc(100% - 3px); }

/* ÉTAT OUVERT : Bootstrap met aria-expanded="true" sur le bouton */
.navbar .hamburger[aria-expanded="true"] .bar:nth-of-type(2){
  opacity: 0;                  /* barre centrale disparaît */
}

.navbar .hamburger[aria-expanded="true"] .bar:nth-of-type(1),
.navbar .hamburger[aria-expanded="true"] .bar:nth-of-type(3){
  top: 50%;
  transform: translateY(-50%); /* centre verticalement avant rotation */
}

.navbar .hamburger[aria-expanded="true"] .bar:nth-of-type(1){
  transform: translateY(-50%) rotate(45deg);
}

.navbar .hamburger[aria-expanded="true"] .bar:nth-of-type(3){
  transform: translateY(-50%) rotate(-45deg);
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  color: #282828;
  cursor: pointer;
  padding: 8px 15px;
  transition: 0.5s;
  background: linear-gradient(90deg, var(--accent-grad-start), var(--accent-grad-end));
  border-radius: 50%;
  outline: none;
  overflow: visible;
}

#backToTop::before {
  content: "";
  position: absolute;
  inset: -6px; 
  border: 3px solid #ff5461;
  border-radius: 50%;
  transform-origin: center;
  transition: transform 0.8s ease;
  z-index: -1; 
}

#backToTop:hover::before {
  animation: spinElastic 1.2s ease-out forwards;
}

@keyframes spinElastic {
  0% {
    transform: rotate(0deg) scale(1);
  }
  40% {
    transform: rotate(220deg) scale(1.05, 0.95);
  }
  65% {
    transform: rotate(320deg) scale(0.95, 1.05);
  }
  85% {
    transform: rotate(380deg) scale(1.03, 0.97);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Option : effet de couleur inversée sur le bouton au survol */
#backToTop:hover {
  background-color: #282828;
  color: white;
}

/* ---------- HERO (pixel heights) ---------- */
.hero-section{
  position:relative;
  min-height:720px; /* Desktop baseline, adjusted via media queries */
  overflow:hidden;
  display:flex;
  align-items:center;
  color:#fff;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center right;
  filter: saturate(.98) contrast(.98);
  z-index:0;
  filter: brightness(80%);
}

.hero-container{
  position:relative;
  z-index:2;
  max-width: var(--max-width);
  width:100%;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-title{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(57px, 25.6vw, 75px);
  margin-bottom: 16px;
  text-shadow: 0px 10px 12px #000;
}

.hero-sub{
  font-size: 1.3rem;
  max-width: 760px;
  line-height: 1.45;
  text-shadow: 1px 2px 0px black;
  text-transform: uppercase;
}

/* Hero figure on right */
.hero-figure{
  max-width: 420px;
  transform: translateY(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  border-radius:6px;
}

/* ---------- ABOUT / SECTIONS heights tuned ---------- */
.about-section{
  padding: 72px 0;
  min-height: 540px;
}

.services{
  padding: 72px 0;
  min-height: 520px;
  background-image: url('../../img/servicesBackground.png');
  background-size: cover;
}

.howitworks{
  padding: 72px 0;
  min-height: 480px;
}

.promo-banner{
  background: linear-gradient(90deg,#222 0%, #111 100%);
  color: #fff;
  padding: 40px 0;
  min-height: 150px;
}

/* service card styling */
.service-card{
  height:100%;
  border-radius:8px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  padding:24px;
  background:#fff;
}

/* ---------- BUTTONS: gradient shift on hover ---------- */
.btn-gradient {
  position: relative;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 30px;
  border: 0;
  background: linear-gradient(90deg, var(--accent-grad-start), var(--accent-grad-end));
  background-size: 200% 200%;
  transition: background-position 0.6s ease, transform 0.2s ease;
  z-index: 1;
  border-radius: 0;
  cursor: pointer;
}

/* hover: gradient slides + subtle scale */
.btn-gradient:hover {
  background-position: 100% 0;
  transform: scale(1.05);
  color: #fff;
}

/* active click feedback */
.btn-gradient:active {
  transform: scale(0.97);
}

/* small size */
.btn-sm { padding: 15px; font-size: 1.4rem; }

/* reserve button stronger */
.btn-reserve {
  background: linear-gradient(90deg, #ff6b4a, #ff4a6b);
  background-size: 200% 200%;
}
.btn-reserve:hover {
  background-position: 100% 0;
}

/* focus */
.btn-gradient:focus {
  outline: 3px solid rgba(255,107,74,0.18);
  outline-offset: 2px;
}

.grecaptcha-badge{
  display: none;
}

.btnTop{
  width: 45px;
  height: 60px;
  background: linear-gradient(90deg, var(--accent-grad-start), var(--accent-grad-end));
  display: block;
  transition: right 0.3s;
  position: fixed;
  bottom: 14px;
  right: 5px;
  box-shadow: gray 0px 0px 5px;
  border-radius: 2px;
  overflow: hidden;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px;
}
/* ---------- Footer ---------- */
.footer{ padding:40px 0; border-top:1px solid rgba(0,0,0,0.06); background-image: url('../../img/footerBackground.png'); background-size: cover;}

/* ---------- Responsive & pixel-perfect breakpoints ---------- */

/* 4K / very large screens */
@media (min-width: 2560px){
  :root{ --max-width: 2000px; }
  .hero-section{ min-height: 1100px; }
  .about-section{ min-height: 840px; padding-top:120px; padding-bottom:120px; }
  .services{ min-height: 700px; }
  .hero-figure{ max-width:540px; transform: translateY(18px); }
}

/* Desktop / custom */
@media (min-width: 1400px) and (max-width:2559px){
  .gapMenu-lg-4{
    gap: 3.5rem !important; 
  }
}

@media (min-width: 991px) and (max-width:1140px){
  .gap-sm-1{ gap: 1rem !important;}
  .btn-session{ padding: 13px 30px; font-size: 1rem;}
  .nav-link{ font-size: 1rem !important;}
}

/* Desktop / large */
@media (min-width: 1200px) and (max-width:2559px){
  .hero-section{ min-height: 820px; }
  .about-section{ min-height: 620px; }
  .navbar-nav.w-100 { width: auto !important; right: 0; }
}
@media (min-width: 991px) and (max-width:1129px){
  #topPoint{max-width: 200px;}
  .lienHeader{ font-size: 0.9rem }

}
/* Tablet */
@media (max-width: 991px){
  .topbar-inner{ padding:10px 16px; }
  .topbar-oblique{ bottom:-18px; height:60px; transform: skewY(-5deg); }
  .hero-section{ min-height: 620px; }
  .hero-container{ padding-top:30px; padding-bottom:30px; }
  .hero-figure{ max-width:360px; }
  .about-section{ padding:56px 0; min-height:520px; }
  .logoMouvIt, .btnSessionLargeScreen{display: none !important;}
}

@media (max-width: 1335px){
  .lienPosition{ font-size: 18px; }
  .top-info{display: none !important;}
}

@media (min-width: 991px){
  .btnSessionSmallScreen,.contentBtnHamburger,.contentBtnSession{display: none;}
}

/* Mobile */
@media (max-width: 575px){
  .topbar-inner{ display:block; text-align:center; gap:8px; padding:10px 12px; }
  .phone-block{ width:auto; margin:0 auto 8px; }
  .topbar-center, .topbar-right{ display:none; } /* reduce clutter as in maquette */
  .topbar-oblique{ display:none; }
  .navbar-pixel{ padding:10px 8px; }
  .hero-bg{filter: brightness(60%);}
  .hero-section{ min-height: 420px; background-position:center; margin-top:8px; }
  .hero-title{ font-size:55px; margin-bottom:3px; }
  .hero-sub{ font-size:1.2rem; max-width:100%; }
  .hero-figure{ display:none; } /* to match mobile visual density */
  .about-section{ padding:36px 0; min-height:auto; }
  .services{ padding:36px 0; }
  .btn-gradient{ padding:10px 14px; font-size:.86rem; }
}

/* small utilities */
.text-danger{ color:#ff4a6b !important; }
