/* ==========================
   BH DIÉTÉTIQUE
========================== */

:root{
    --vert:#A2AB79;
    --orange:#E89A4A;
    --fond:#F8F7F3;
    --blanc:#FFFFFF;
    --texte:#404040;
    --gris:#E7E7E7;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Lato',sans-serif;
    background:var(--fond);
    color:var(--texte);
    line-height:1.7;
}

/********************
NAVIGATION
********************/

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:white;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    z-index:1000;
}

.navbar{
    max-width:1200px;
    margin:auto;
    padding:18px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-family:'Poppins',sans-serif;
    font-size:1.7rem;
    font-weight:700;
    color:var(--vert);
}

.logo img{
    height:70px;
    display:block;
}

.btn-rdv{
    background:#E89A4A;
    color:white;
    text-decoration:none;
    padding:12px 24px;
    border-radius:30px;
    font-weight:700;
    transition:.3s;
}

.btn-rdv:hover{
    background:#A2AB79;
    transform:translateY(-2px);
}

.menu{
    list-style:none;
    display:flex;
    gap:35px;
}

.menu a{
    text-decoration:none;
    color:var(--texte);
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:var(--orange);
}

/********************
HERO
********************/

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:white;
    width:90%;
}

.hero h1{
    font-family:'Poppins',sans-serif;
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    font-size:1.4rem;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:var(--orange);
    color:white;
    text-decoration:none;
    padding:16px 35px;
    border-radius:50px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:var(--vert);
    transform:translateY(-3px);
}

.btn-rdv-hero{
    display:inline-block;
    margin-top:20px;
    padding:18px 38px;
    background:#E89A4A;
    color:#FFFFFF;
    text-decoration:none;
    font-size:1.1rem;
    font-weight:700;
    border-radius:50px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:all .3s ease;
}

.btn-rdv-hero:hover{
    background:#A2AB79;
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.30);
}

/********************
SECTIONS
********************/

.section{
    max-width:1200px;
    margin:auto;
    padding:100px 30px;
}

.section h2{
    text-align:center;
    font-size:2.3rem;
    color:var(--vert);
    margin-bottom:60px;
    font-family:'Poppins',sans-serif;
}

/********************
CARTES
********************/

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin-bottom:15px;
    color:var(--vert);
}

.card img{
    width:100%;
    border-radius:15px;
    margin-bottom:20px;
}

/********************
A PROPOS
********************/

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about img{
    width:100%;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.about p{
    margin-bottom:20px;
}

/********************
TARIFS
********************/

table{
    width:100%;
    max-width:700px;
    margin:auto;
    border-collapse:collapse;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

td{
    padding:20px;
    border-bottom:1px solid var(--gris);
}

tr:last-child td{
    border-bottom:none;
}

td:last-child{
    text-align:right;
    font-weight:bold;
    color:var(--orange);
}

/********************
LOGOS
********************/

.logos{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:50px;
}

.logos img{
    height:80px;
    filter:grayscale(100%);
    opacity:.8;
    transition:.3s;
}

.logos img:hover{
    filter:none;
    opacity:1;
    transform:scale(1.08);
}

/********************
FOOTER
********************/

footer{
    background:var(--vert);
    color:white;
    text-align:center;
    padding:50px 20px;
}

footer h3{
    font-size:2rem;
    margin-bottom:15px;
    font-family:'Poppins',sans-serif;
}

footer p{
    margin:8px 0;
}

/********************
RESPONSIVE
********************/

@media(max-width:900px){

.about{
    grid-template-columns:1fr;
}

.hero h1{
    font-size:3rem;
}

.hero p{
    font-size:1.2rem;
}

.navbar{
    flex-direction:column;
}

.menu{
    margin-top:15px;
    gap:20px;
}

.btn-rdv{
    margin-top:20px;
}

}

@media(max-width:600px){

.hero h1{
    font-size:2.3rem;
}

.hero p{
    font-size:1rem;
}

.section{
    padding:70px 20px;
}

.logo{
    font-size:1.4rem;
}

.menu{
    flex-wrap:wrap;
    justify-content:center;
}

.btn{
    padding:14px 28px;
}

}