/* ===================================
    Crafto - Elder care 
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Rufina:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-sans@5.0.19/300.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-sans@5.0.19/400.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-sans@5.0.19/600.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-sans@5.0.19/700.css');



/* variable */
:root {      
    --alt-font: "Open Sans", sans-serif;
    --primary-font: 'Open Sans', sans-serif;
    --base-color: #1a3979;
    --second-color:#16a030;
    --dark-gray: #333;
    --medium-gray: #333; /* #5f6b82;*/
    --aluminium-grey: rgba(255, 255, 255, 0.5);
    --very-light-gray: white; /* rgba(235, 239, 246, 0.4); */
  
   
}

.bg-second-color
{
    background-color: var(--second-color);
}
.transition {
    transition: transform 0.4s ease;
}

.card:hover .transition {
    transform: scale(1.08);
}

.texte-vert
{
    color:var(--second-color);
}

.text-base-color {
    color: var(--base-color);
}
.bg-gradient-black-green {
    background-image: linear-gradient(to right top, #1f2021, #1b1d1c, #1b1d1c, #222523, #333c37);
}

.btn  {
  --bs-btn-color: #f8e70d;
}

html {
    scroll-behavior: smooth!important;
}

body {
    font-size: 17px;
    line-height: 28px;
    background-color: #EAEEF2;
}
/* header */
.header-light .navbar-nav .nav-link{
    color:var(--base-color);
}
header .navbar-brand img {
    max-height: 42px;
}
header .left-nav .navbar-nav:before {
   background-color: var(--second-color);
   width: 2px;
   opacity: 1;

}

section
{
    background-color: #EAEEF2;

}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a,
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 17px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}

/* /!\ meme que h4 */
h3{
    font-size: 2.375rem;
    line-height: 2.7rem;
}

.portfolio-image, .rounded-20px, .card
{
 border-radius : 20px !important;
}

.bordure_jaune_titre
{
     border-left: solid 5px #f8e70d;
}
    .service-card {
        position: relative;
        display: block;
        height: 300px;
        border-radius: 20px;
        overflow: hidden;
        text-decoration: none;
        color: white;
    }

    .service-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform 0.6s ease;
        z-index: 1;
    }

    .service-card:hover .service-bg {
        transform: scale(1.06);
    }

    .service-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
        z-index: 2;
    }

    .service-content {
        position: absolute;
        bottom: 0px;
        width:100%;
        padding: 10px 20px;
        z-index: 3;
        display: flex;
        align-items: center;
        background-color: var(--base-color);
    }

    .puce-orange { /*barre jaune orange */
        display: inline-block;
        width: 4px;
        height: 24px;
        background-color: #f8e70d;
        margin-right: 10px;
    }

        .puce-verte { /*barre verte */
        display: inline-block;
        width: 4px;
        height: 24px;
        background-color: var(--second-color);
        margin-right: 10px;
    }

    .service-title {
        font-size: 1.4rem;
        font-weight: bold;
        margin: 0;
    }
.service-card:hover .service-title {
    color: #f8e70d;
}

.texte_jaune
{
    color:#f8e70d;
}


@media (max-width: 576px) {
    .service-title {
        font-size: 1.8rem;
    }
}
@media (max-width: 576px) {
    .service-card {
        height: 280px;
    }
}


/* BANNIÈRE en 2 incliné */
.hero-frames{
  position: relative;
  height:560px;
  overflow: hidden;

  --leftW: 60%;
  --overlap: 8%;
  --yellow: #f8e70d;

  --borderX: 10px;  /* épaisseur bordure jaune */
  --seamFix: 2px;   /* anti-jour */

  background: #fff;
}

/* Panneau jaune dessous */
.hero-frames .hero-left-yellow{
  position:absolute;
  top:0;
  left: var(--borderX);
  width: calc(var(--leftW) + var(--overlap));
  height:100%;
  background: var(--yellow);
  z-index:2;

  /* Inclinaison inversée */
  -webkit-clip-path: polygon(0 0, 74% 0, 92% 100%, 0 100%);
  clip-path: polygon(0 0, 74% 0, 92% 100%, 0 100%);
}

/* Panneau bleu dessus */
.hero-frames .hero-left{
  position:absolute;
  top:0;
  left:0;
  width: calc(var(--leftW) + var(--overlap));
  height:100%;
  background: var(--base-color, #1a3979);
  z-index:3;

  /* Inclinaison inversée */
  -webkit-clip-path: polygon(0 0, 74% 0, 92% 100%, 0 100%);
  clip-path: polygon(0 0, 74% 0, 92% 100%, 0 100%);
}

/* Cadre photo à droite (vrai cadre) */
.hero-frames .hero-right{
  position:absolute;
  top:0;
  right:0;
  bottom:0;

  /* Point de départ = bord court du panneau gauche (74%) */
  left: calc((var(--leftW) + var(--overlap)) * 0.74 - var(--seamFix));

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index:1;
}

/* Contenu */
.hero-frames .hero-left-inner{
  height:100%;
  display:flex;
  align-items:center;
}

.hero-frames .hero-left-inner .container{
  padding-left:70px;
  padding-right:70px;
}

/* Forcer le texte en blanc */
.hero-frames .hero-left,
.hero-frames .hero-left h1,
.hero-frames .hero-left p{
  color:#fff !important;
}


/* Hauteur spécifique pages internes */
.hero-frames--inner{
  height: 350px;
  
}
.hero-frames--inner h1 {
font-size: 3rem;
}

/* Version encore plus compacte si besoin */
@media (max-width:991.98px){
  .hero-frames--inner{
    min-height: 350px;
  }
}



@media (max-width:991.98px){

  .hero-frames{
    height: auto;          /* déjà présent */
    min-height: unset;     /* 👈 on enlève la contrainte */
  }

  .hero-frames .hero-right{
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    height: 220px;
  }

  .hero-frames .hero-left,
  .hero-frames .hero-left-yellow{
    position: relative;
    width: 100%;
    clip-path: none;
    -webkit-clip-path: none;
    left: 0;
  }

  .hero-frames .hero-left-yellow{
    display: none;
  }

  .hero-frames .hero-left-inner .container{
    padding: 60px 20px;
  }
}
/* ///////////////////////////////////////// */


.formatage_contenu ul{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.formatage_contenu ul li{
  position: relative;
  padding-left: 1.30rem;
}

.formatage_contenu ul li::before{
  content: "•";
  position: absolute;
  left: 0;
  
  color: var(--second-color);
  font-size: 35px; /* plus gros */
  
}


.puces-rondes
{
    padding-left : 1.30rem;
}
.puces-rondes li {
    list-style-type: disc;
   
}

.puces-rondes li::marker {
    color: var(--second-color); /* uniquement la puce en vert */
    font-size: 22px;
    
}

.puces-rondes2 li::marker {
    color: white !important; /* uniquement la puce en vert */
}


/* btn */
.btn.btn-hover-animation-switch.btn-link {
    padding-top: 0;
}
.btn { 
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}
.btn.btn-extra-large {
    font-size: 18px;
    padding: 16px 32px;
}
.btn.btn-large {
    font-size: 17px;
    padding: 14px 28px;
}
.btn.btn-medium {
    font-size: 16px; 
    padding: 12px 24px;
}
.btn.btn-small {
    font-size: 15px;
}
.btn.btn-very-small {
    font-size: 14px; 
    padding: 9px 20px;
}


/* button */
.btn {
    font-weight: 600;
    font-family: var(--primary-font);
    letter-spacing: normal;
    text-transform: none;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 18px 34px;
}
.btn.btn-switch-text.btn-large > span {
    padding: 16px 32px;
}
.btn.btn-large {
    font-size: 17px;
}
.btn.btn-switch-text.btn-medium > span {
    padding: 13px 26px;
}
.btn.btn-transparent-blue-light {
    border-color: rgba(14, 42, 48, 0.20);
    color: var(--dark-gray);
}
.btn.btn-transparent-blue-light:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}
/* bg background color */
.bg-light-blue-gray {
    background-color: #ebeff6;
}
/* Gradient background color */
.bg-gradient-blue-transparent-first {
    /*background: linear-gradient(to top, rgba(235, 239, 246, 1) 10%, rgba(235, 239, 246, 0) 100%);*/
    background: linear-gradient(to top, #F7F9FB, #fff)
}
.bg-gradient-blue-transparent-second {
    background: linear-gradient(to bottom,  #F7F9FB, #fff);
}
.bg-gradient-white-bottom-transparent {
    background: rgb(0, 0, 0);
    background: linear-gradient(271deg, rgba(0, 0, 0, 0) 0%, rgb(255, 255, 255) 60%);
}
/* Border color */
.border-color-extra-medium-gray {
    border-color: rgba(14, 42, 98, 0.2) !important;
}
/* Video icons */
.video-icon-extra-large .video-icon {
    width: 170px;
    height: 170px;
    font-size: 16px;
}
/* Page title style */
.page-title-double-large h1 {
    font-size: 4.375rem;
    line-height: 4.375rem;
}
.down-section {
    bottom: 30px;
}
/* left */
.left-25 {
    left: 25%;
}

.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    font-size: 30px;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
  }
  
  .call-button:hover {
    background-color: #218838;
    text-decoration: none;
  }
  
  /* Afficher uniquement sur les écrans de petite taille */
  @media (min-width: 768px) {
    .call-button {
      display: none;
    }
  }
/* footer */
footer .footer-logo img {
    max-height: 47px;
}
.footer-dark a:hover {
    color: var(--white);
    opacity: 1;
}
.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--white) !important;
    opacity: 0.5; /* Firefox */
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--white) !important;
}
.footer-dark .newsletter-style-02 input::-ms-input-placeholder {
    color: var(--white) !important;
}
footer ul li {
    margin-bottom: 2px;
}

@media (max-width: 1600px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1345px;
    }
}
@media (max-width: 1400px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (max-width: 1199px) {
    .video-icon-extra-large .video-icon {
        width: 140px;
        height: 140px;
    }
    .extra-small-screen {
        height: 300px !important;
    }
    .navbar>.container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 8px;
        padding-right: 8px;
    }
}
@media (max-width: 991px) {
    .video-icon-extra-large .video-icon {
        width: 120px;
        height: 120px;
    }
}