
:root{

    --font-family: "Montserrat", sans-serif;

    --fs-sm: clamp(0.8rem, 0.11vi + 0.77rem, 0.84rem);
    --fs-base: clamp(0.8rem, 0.32vi + 0.92rem, 1.13rem);
    --fs-md: clamp(1.25rem, 0.64vi + 1.09rem, 1.5rem);
    --fs-lg: clamp(1.56rem, 1.12vi + 1.28rem, 2rem);
    --fs-xl: clamp(1.95rem, 1.82vi + 1.5rem, 2.66rem);
    --fs-xxl: clamp(2.44rem, 2.85vi + 1.73rem, 3.55rem);
    --fs-xxxl: clamp(3.05rem, 4.32vi + 1.97rem, 4.73rem);

    --text-color: #000;
    --link-color: #000;
    --link-color--hover: #333;


    --container-max-width: 1200px;

}


html, body{
    margin: 0;
    padding: 0;
    font-family: var( --font-family);
    font-optical-sizing: auto;
    font-weight: 400;
    scroll-behavior: smooth;

}

main{
    color: var(--text-color);
    font-size: var(--fs-base);
}

:where(h1,h2,h3,h4,h5,h6){
    /*text-transform: uppercase;
    text-align: center;*/
    margin-top: .5em;
    margin-bottom: .75em;
}

h1{
    font-size: var(--fs-md);    
    color:#fff;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

h2{
    font-size: var(--fs-xxxl);    
    font-weight: 300;
    line-height: 1;

}

.secteur{
    font-size:var(--fs-xxl);
    font-weight: 400;
    display:inline;
    font-style: normal;
}

h3{
    font-size:20px;
}

h4{
    text-transform: uppercase;
    
}


a{
    color:var(--link-color)
     
}

a:hover{
    color: var(--link-color--hover);
}

a.link-fushia{
    color:#bb1d64;
}

a.link-fushia:hover{
    color:#d22271;
}

ul{
    
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-bottom:1.250rem;
}

img{
    padding-top: 1rem;
    max-width: 100%;
    height: auto;
    display: block;
}

/** grid*/

/* Header */
header {
    background: url("../img/docteur_michel_letiexhe_diabetologue-header.jpg") no-repeat center;
    background-size: cover;
    width: 100vw;
    aspect-ratio: 995 / 576;
    display: flex;
    align-items: center; /* centre verticalement le wrapper */
}

.header-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: min(100% - 3rem, var(--container-max-width, 1024px));
    margin-inline: auto;
    padding-top: 3rem;       
    padding-bottom: 100px;   
    color: white;
    box-sizing: border-box;  
}



.skills{
    font-size: var(--fs-lg);
    
    padding-left:10rem;
  
}    

.titre-center{
    font-size: var(--fs-xxxl);
    display: inline-block;
    text-align: center;
}

.titre{
    color:#fff;
    padding-left:5rem;
}

.cabinets{
    font-weight: 600;
    letter-spacing: 0.2rem;
    margin-left:15px;
}

/*content*/
.container{
    
    margin: 0 auto;
    padding-top:40px;
    padding-bottom:50px;
}

.container-large{
    width: 100%;
    background-color: #f6f6f6;
}

.container-large-dark{
    width: 100%;
    background-color: #737373;
    color:#fff;
}


hr{
    margin: 0 10px;
    border: none;
    border-top: 1px solid #000;
}


.row, .row-description, .row-gam-white, .row-gam-black, .row-last{
    display: flex;
    flex-direction: column;
}


.row-description.right {
    display: flex;
    flex-direction: row;
    width: 85%;
    margin-left: auto;
    font-size: 1rem;
}

.row-description.right img {
    height: 100%;
    width: auto;        
    object-fit: cover;   
    align-self: stretch; 
}


.row-description, .row-last, .row-footer{
    padding:15px;
}

.row-description.split-20-80 {
    display: flex;
    flex-direction: row;
    font-size: 1rem;
}

.row-description.split-20-80 .column-description:first-child {
    width: 20%;
    padding-right:30px;
    text-align: right;
}

.row-description.split-20-80 .column-description:last-child {
    width: 80%;
    padding-right:30px;
    line-height: 1.6;
}

.column{
    padding: 10px 10px 0 25px;

}

.column-description{
    width: 50%;
    line-height: 1.4;
    padding-right:65px;
    
    justify-content: center;
}

.row-description.right .column-description {
    padding-right: 20px;
    font-style: italic;
}

.column-gam-white-left, .column-gam-black-right{
    background-color: #000;
    color:#fff;

}




footer{
    background-color:#545454;
    color:#fff;
}


.row-footer{
    
    margin:0 auto;
    
    padding: 20px 20px ;
    font-size:12px;
    background-color:#545454;
    text-align: right;
}

.column-footer{


}

.link-footer{
    text-align: right;
    color:#fff;
}

/******** RESPONSIVE *********/

@media screen and (max-width: 940px) {

  header {
    height: 90vh; /* ou une autre valeur comme 90vh */
    aspect-ratio: auto; /* supprime le ratio fixe */
  }

  .header-wrapper {
    height: 100%;
    justify-content: space-between;
  }

  .skills,
  .titre,
  .cabinets {
    padding-left: 1rem !important;
    text-align: left !important;
    margin-left:0px;

  }

  .skills h1,
  .titre h2,
  .cabinets span {
    text-align: left !important;
    margin: 0 !important;
  }


  .row-description {
    flex-direction: column;
    padding:25px;
  }

  .column-description {
    width: 100% !important;
    padding-right: 0; 
    padding-left: 0;  
  }

  .row-description img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .row-description.right {
    flex-direction: column;
    width: 90%;
    margin-left: auto;
  }

  .row-description.split-20-80 {
    flex-direction: column;
  }

  .row-footer{
    
   line-height: 2;
    text-align: center;
  }
}



@media screen and (min-width: 940px) {
    header{
        height:750px;
    }
    h1{
        padding:0px;
        margin:0px;
    }
    .container{
       width:1024px;
       margin: 0 auto;

    }

    

    .row, .row-description, .row-gam-white, .row-gam-black{
        flex-direction: row;
        padding : 20px 30px;
    }


    .row-description img{
        max-width: 100%;
        height: auto;
        display: block;
    }




}

@media screen and (min-width: 1190px) {
    header{
        height:750px;
    }
    h1{
        padding:0px;
        margin:0px;
    }
    .container{
       width:1200px;
        margin: 0 auto;
    }

    

    .row, .row-description, .row-gam-white, .row-gam-black{
        flex-direction: row;
    }


    .row-description img{
        max-width: 100%;
        height: auto;
        display: block;
    }




}
