/* ACCUEIL */
.content-container-background-img h1{
    font-family: "Montserrat Bold", sans-serif;
    color: #ffffff;
    font-size: calc(2rem + 1.4vw);
    font-weight: 700;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.content-container-background-img h2{
    color: #ffffff;
    font-size: calc(1rem + 0.5vw);
    font-weight: 400;
    text-shadow: 1px 1px 12px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: auto;
}

.content-container-background-img h3{
    color: #ffffff;
    font-size: calc(0.7rem + 0.3vw);
    font-weight: 200;
    text-shadow: 1px 1px 12px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: auto;
    max-width: 75%;
}

#home-accompagnement svg path{
    fill: #E5A853;
}

.content-container-background-img span.text-highlight {
    color: #E5A853;
    font-weight: 700;
}

#img-home {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    background-image: url('../../banner/optimized-background-accueil.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
}

#home-premier-entretien {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.75rem;
    border-radius: 14px;
    max-width: 35rem;
    background: linear-gradient(115deg, rgba(5, 37, 87, 0.46) 0%, rgba(7, 24, 53, 0.34) 100%);
    border: 1px solid rgba(229, 168, 83, 0.32);
    box-shadow: 0 10px 28px rgba(3, 16, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(3px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.75);
}

.home-offer-link {
    text-decoration: none;
    cursor: pointer;
}

.home-offer-link:hover,
.home-offer-link:focus {
    text-decoration: none;
}

#home-premier-entretien::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(229, 168, 83, 0) 0%, rgba(229, 168, 83, 0.16) 52%, rgba(229, 168, 83, 0) 100%);
    transform: translateX(-100%);
    animation: homeOfferSweep 4.8s ease-in-out infinite;
    pointer-events: none;
}

#home-premier-entretien svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(229, 168, 83, 0.4));
}

#home-premier-entretien small {
    position: relative;
    z-index: 1;
    margin: 0;
    letter-spacing: 0.01em;
}

#home-premier-entretien .text-highlight {
    position: relative;
    color: #ffd08a;
    text-shadow: 0 0 16px rgba(229, 168, 83, 0.55), 0 1px 0 rgba(0, 0, 0, 0.2);
}

#home-premier-entretien .text-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(229, 168, 83, 0.2) 0%, rgba(229, 168, 83, 1) 48%, rgba(229, 168, 83, 0.2) 100%);
}

#contact .offer-highlight-inline {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e5a853;
}

#contact .offer-highlight-inline span {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 1px solid rgba(229, 168, 83, 0.45);
    border-radius: 999px;
    background: rgba(229, 168, 83, 0.1);
    box-shadow: 0 4px 12px rgba(229, 168, 83, 0.12);
}

@keyframes homeOfferSweep {
    0%, 35% {
        transform: translateX(-110%);
    }
    65%, 100% {
        transform: translateX(110%);
    }
}

.content-container-background-img {
    position: relative;
    max-width: 50%;
    text-align: left;
}

#img-home::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(0,0,0,0.05); */
}

@media (max-width: 1342px) {
    .home-desktop-break {
        display: none;
    }
}

@media (max-width: 991px) {
    .content-container-background-img h1, .content-container-background-img h2 {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.75);
    }

    .content-container-background-img {
        max-width: unset;
        text-align: center;
    }

    #img-home {
        min-height: auto;
        padding: 10%;
        padding-top: clamp(6rem, 16vw, 8rem);
        padding-bottom: 7rem;
        background-position: 75%;
        align-items: flex-start;
    }

    #home-accompagnement {
        align-items: flex-start !important;
        gap: 0.85rem !important;
    }

    #home-accompagnement h3 {
        margin-bottom: 0;
    }

    .buttons {
        width: 100%;
        max-width: 23rem;
        margin-inline: auto;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .buttons .btn {
        width: 100%;
        justify-content: center !important;
    }

    .planifie-echange {
        max-width: 100%;
        width: 100%;
    }
    
    #home-premier-entretien {
        font-size: calc(0.7rem + 0.4vw);
        padding: 0.45rem 0.6rem;
    }

    #home-premier-entretien, .content-container-background-img h3 {
        max-width: unset;
        text-align: start;
    }
}

#clients, #post, #contact, #prestations{
    scroll-snap-align: center;
}

.launch-books-wide {
    width: 100%;
    padding-inline: 0;
}

.launch-books-wide-inner {
    width: 100%;
    background: linear-gradient(135deg, #052557 0%, #1b4a88 100%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(5, 37, 87, 0.18);
    padding: 1.35rem clamp(1.1rem, 4vw, 4rem);
}

.launch-books-copy {
    max-width: 60rem;
}

.launch-book-banner,
.launch-book-legacy {
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #052557 0%, #1b4a88 100%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(5, 37, 87, 0.18);
}

.launch-book-kicker {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.launch-book-title {
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 2.4rem);
}

.launch-book-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 52rem;
}

.launch-book-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
}

.launch-book-cta-secondary {
    background: rgba(255, 255, 255, 0.06);
}

.launch-book-cta:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 991px) {
    .launch-books-wide-inner {
        padding: 1.2rem 1rem;
    }
}

/* NOTRE APPROCHE (EQUATION) */

#notre-approche {
    padding-block: clamp(4rem, 7vw, 6rem);
    background: linear-gradient(180deg, #08275a 0%, #0e3b78 100%);
}

#notre-approche .notre-approche-shell {
    background: linear-gradient(130deg, rgba(7, 29, 66, 0.96) 0%, rgba(9, 41, 90, 0.96) 100%);
    box-shadow: none;
}

#notre-approche .notre-approche-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(229, 168, 83, 0.2) 0%, rgba(229, 168, 83, 0) 45%);
    pointer-events: none;
}

#notre-approche .notre-approche-visual {
    position: relative;
    /* background: linear-gradient(160deg, rgba(229, 168, 83, 0.12) 0%, rgba(229, 168, 83, 0.02) 100%); */
    border-right: none;
}

#notre-approche .notre-approche-kicker {
    letter-spacing: 0.2em;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

#notre-approche .equation-display {
    background: transparent;
    border: none;
    padding: 0;
}

#notre-approche .equation-title {
    font-family: 'Montserrat ExtraBold', sans-serif;
    letter-spacing: 0.16rem;
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 8px 18px rgba(3, 14, 34, 0.4);
}

#notre-approche .notre-approche-content h3 {
    color: #ffffff;
}

#notre-approche .notre-approche-mantra {
    display: inline-block;
    border-left: 3px solid #e5a853;
    padding-left: 0.85rem;
    font-family: 'Montserrat Bold', sans-serif;
    letter-spacing: 0.015em;
    color: #ffd08a;
}

#notre-approche .notre-approche-content p {
    max-width: 52ch;
    line-height: 1.8;
}

#notre-approche .btn {
    border: 1px solid rgba(229, 168, 83, 0.7);
    background: transparent;
    color: #ffffff;
}

#notre-approche .btn:hover {
    background: rgba(229, 168, 83, 0.2);
    border-color: rgba(229, 168, 83, 0.95);
    color: #ffffff;
}

@media (max-width: 1200px) {
    #notre-approche .notre-approche-shell {
        border-radius: 1rem !important;
    }

    #notre-approche .notre-approche-visual {
        border-bottom: none;
    }

    #notre-approche .notre-approche-kicker {
        font-size: 0.7rem;
    }

    #notre-approche .equation-title {
        letter-spacing: 0.12rem;
    }

    #notre-approche .notre-approche-content p {
        max-width: none;
    }
}

/* CONTACT */
#contact-options h5 {
    font-family: 'Montserrat Bold', sans-serif;
}

#prestations h2::after,
#our-team .titre-section::after,
#clients h2::after,
#post h2::after,
#contact .titre-section::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 0.7rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(229, 168, 83, 0.2) 0%, rgba(229, 168, 83, 0.95) 50%, rgba(229, 168, 83, 0.2) 100%);
}

#prestations .bg-primary.rounded-4 {
    border: 1px solid rgba(229, 168, 83, 0.3);
    box-shadow: 0 10px 22px rgba(5, 37, 87, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#prestations .bg-primary.rounded-4:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 168, 83, 0.7);
    box-shadow: 0 14px 28px rgba(5, 37, 87, 0.28), 0 0 0 1px rgba(229, 168, 83, 0.25) inset;
}

#prestations .rounded-circle.border-white {
    border-color: rgba(229, 168, 83, 0.6) !important;
    color: #ffd08a;
    background: rgba(229, 168, 83, 0.12);
}

/* NOTRE EQUIPE */
/* Styles pour la nouvelle section équipe */
.title-font {
    font-family: 'Montserrat Bold', sans-serif;
    font-size: clamp(2rem, 6vh, 5rem);
    font-weight: bold;
    color: #052557;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-text-vertical {
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: clamp(2rem, 7vh, 5rem);
    letter-spacing: clamp(4px, 1vh, 12px);
    display: flex;
}

.team-text-1 {
    opacity: 0.2;
    left: 10%;
}

.team-text-2 {
    opacity: 0.45;
    left: 30%;
}

.team-text-3 {
    opacity: 0.65;
    left: 50%;
}

.team-text-4 {
    opacity: 1;
    left: 70%;
}

.team-profile-card {
    background: linear-gradient(135deg, #052557 0%, #1a4c8c 100%);
    border-radius: 15px;
    padding: 40px 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(5, 37, 87, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
}

.profile-content {
    text-align: left;
    width: 100%;
}

.profile-name {
    font-size: 1.8rem;
    font-family: 'Montserrat Bold', sans-serif;
    margin-bottom: 0.25rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.profile-role {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5a853;
    font-weight: 700;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e8f4fd;
    margin-bottom: 0;
}

.profile-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(229, 168, 83, 0.65) 50%, rgba(255, 255, 255, 0) 100%);
}

/* Responsive */
@media (max-width: 1199px) {
    .team-text-2 {
        left: 10%;
    }

    .team-text-3 {
        left: 40%;
    }
}

@media (max-width: 991px) {    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {     
    .profile-name {
        font-size: 1.3rem;
    }
}

.expert-hover {
    cursor: pointer;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.expert-hover:hover {
    color: #e5a853;
    text-shadow: 0 0 14px rgba(229, 168, 83, 0.38);
}

#alignement .rounded-4 {
    position: relative;
    overflow: hidden;
}

#alignement .rounded-4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(229, 168, 83, 0.1) 0%, rgba(229, 168, 83, 0.95) 50%, rgba(229, 168, 83, 0.1) 100%);
}

#alignement a.btn:hover {
    background-color: #0b3a7a !important;
    border-color: #e5a853 !important;
    box-shadow: 0 10px 24px rgba(5, 37, 87, 0.26), 0 0 0 2px rgba(229, 168, 83, 0.2);
}

.btn-cta:hover {
    border-color: rgba(229, 168, 83, 0.75) !important;
    box-shadow: 0 8px 20px rgba(5, 37, 87, 0.16), 0 0 0 2px rgba(229, 168, 83, 0.18) inset;
}

.expert-image-overlay {
    position: fixed;
    padding: 10px;
    display: none;
    pointer-events: none;
    z-index: 9999;
}

.expert-photo {
    width: 150px;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 991px){
    .background-img {
        height: unset;
    }

    .content-container-background-img{
        margin-top: 25vw;
        height: unset;
    }

    .content-container-background-img img{
        display: none;
    }

    .content-container-background-img p{
        bottom: -32vw;
        right: 1vw;
        font-size: calc(0.25rem + 0.85vw);
    }

    .home-title{
        height: auto;
        padding-block: 2em;
    }

    .home-title h1{
        position: relative;
        z-index: 1;
        letter-spacing: 5px;
    }

    #prestations {
        scroll-snap-align: unset;
    }

    #our-team{
        scroll-snap-align: center;
        min-height: auto;
    }

    .inner-team{
        display: none;
    }

    .nos-experts{
        position: relative;
        gap: unset;
        min-height: 10vw;
    }

    .nos-experts h4{
        font-size: 2.5vw;
    }

    .nos-experts .sebastien-becuwe h4{
        letter-spacing: unset;
        font-size: 3vw;
        max-width: unset;
    }

    .nos-experts .david-pruvot h4{
        letter-spacing: unset;
        font-size: 3vw;
        max-width: 25vw;
    }

    .nos-experts h3{
        font-size: 3vw;
        max-width: 30vw;
    }

    .nos-experts svg{
        width: 6vw;
        height: 6vw;
    }

    .nos-experts svg:hover{
        transition: unset;
        transform: unset;
    }

    .nos-experts svg:active{
        animation: unset;
    }

    .icon-nos-experts{
        display: none;
    }

    .nos-experts img{
        width: 50%;
    }

    .dark-btn{
        font-size: 12px;
        margin-top: 30px;
    }

    .dark-btn:hover{
        background: black;
        transform: scale(1);
    }

    .dark-btn:active{
        transform: scale(0.975);
        opacity: 0.85;
    }

    #post h2, #our-team h2, #contact h2{
        letter-spacing: 2px;
    }
}

#prestations h2 {
    font-family: 'Montserrat Bold', sans-serif;
    /* min-height: 5.75rem; */
    color: #052557;
}

/* ANIMATION FLECHES BAS */
.arrows {
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 40px;
}

.arrows path {
    stroke: #ffffff;
    fill: transparent;
    stroke-width: 3px;  
    animation: arrow 3s infinite;
    -webkit-animation: arrow 3s infinite; 
}

@keyframes arrow {
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
}

@-webkit-keyframes arrow  {
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
}

.arrows path.a1 {
    animation-delay:-1s;
    -webkit-animation-delay:-1s; 
}

.arrows path.a2 {
    animation-delay:-0.5s;
    -webkit-animation-delay:-0.5s; 
}

.arrows path.a3 { 
    animation-delay:0s;
    -webkit-animation-delay:0s; 
}

@media (max-width: 991px) {
    .arrows {
        /* left: auto;
        bottom: auto;
        margin: 1rem auto 0; */
        display: none;
    }
}


/****************************************
*         SECTION BANDEAU LIVRE         *
****************************************/

:root {
  --book-accent-white: #f0f0f0;
  --book-border-blue: #7c97ba;
}

/* Lien englobant la carte */
.book-banner-card-link {
  display: block;
  color: inherit;
}

/* Container principal avec le dégradé du site */
.book-banner-card {
  background: linear-gradient(330deg, #06275a 0%, #295691 100%);
  border: 1px solid var(--book-border-blue);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(5, 37, 87, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-banner-card-link:hover .book-banner-card {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(5, 37, 87, 0.4);
}

/* Couverture et animation 3D au survol */
.book-wrapper {
  perspective: 1000px;
}

.book-cover-img {
  max-height: 280px;
  filter: drop-shadow(0px 0px 35px rgba(255, 255, 255, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.book-banner-card-link:hover .book-cover-img {
  transform: translateY(-6px) rotateY(-6deg) scale(1.03);
  filter: drop-shadow(0px 0px 45px rgba(255, 255, 255, 0.5));
}

/* Typographies de gauche */
.badge-subheading {
  color: var(--book-accent-white);
  font-family: 'Montserrat Bold', sans-serif;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}

.book-main-title {
  font-family: 'Montserrat Bold', sans-serif;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.book-description {
  color: #e8f4fd;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Grand Bouton CTA */
.btn-book-cta {
  letter-spacing: 1px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.book-banner-card-link:hover .btn-book-cta {
  transform: translateX(5px);
}

/* Piliers de droite */
.pillar-item {
  position: relative;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  min-height: 56px; /* Empêche le décalage des icônes */
  border-radius: 50%;
  border: 1.5px solid var(--book-accent-white);
  color: var(--book-accent-white);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.pillar-title {
  font-family: 'Montserrat Bold', sans-serif;
  font-size: 0.85rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  min-height: 2.6rem; /* Aligne le début des paragraphes sous les titres */
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-text {
  font-size: 0.85rem;
  color: #d1e5f7;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.pillar-divider {
  width: 30px;
  height: 2px;
  background-color: var(--book-accent-white);
  margin-top: auto; /* Calfeutre le séparateur tout en bas */
}

/* Séparateurs verticaux */
@media (min-width: 992px) {
    .team-profile-card {
        padding: 24px 18px;
    }

  .border-lg-end {
    border-right: 1px solid var(--book-border-blue);
  }

    .profile-role {
        font-size: 0.82rem;
    }
  
  .pillar-item:not(:last-child) {
    border-right: 1px solid var(--book-border-blue);
  }
}
