@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

:root {
    /* colors */
    --clr-primary : 202, 29%, 13%; /*Bleu Nuit*/
    --clr-secondary : 36, 100%, 48%; /*Jaune Orange*/
    --clr-tertiary: 11, 81%, 51%; /*Rouge*/
    --clr-quaternary: 177, 100%, 32%; /*Emeraude*/
    --clr-white: #fff;


     /* font-families */
    --ff-serif: "Roboto", serif;
}

/* RESET */
*
{
margin: 0;
padding:0;
box-sizing: border-box;
font-family: var(--ff-serif);
scroll-behavior: smooth;
}

section 
{
    padding: 100px;
}

header 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding:30px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition:0.5s;
    background: var(--clr-white);
}

header.sticky
{
    background: var(--clr-quaternary);
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header .logo
{
    width: 110px;
    background-image: url(Kakoline_logo.jpg);
    background-repeat: none;
    background-size: 25px;
    cursor: pointer;
}

header.sticky .logo
{
    color : #111;
}

header ul
{
    position: relative;
    display: flex;
}

header ul li
{
    position: relative;
    list-style: none;
}

header ul li a
{
    position: relative;
    display: inline-block;
    margin: 0 15px;
    color:hsl(var(--clr-primary));
    text-decoration: none;
}
header.sticky ul li a
{
    color : #111;
}

.banner
{
    position: relative;
    min-height: 100vh;
    background-image: url(/img/kakoline_kako.png);
    background-repeat: no-repeat ;
    background-size: 340px;
    background-position: right;
    display: flex;
    justify-content: space-between;
    align-items: center;   
}

.banner h1
{
    font-size: 2em;
    color: hsl(var(--clr-primary), .9);
    font-weight: 900;
    line-height: 1.3em;
}

.banner p
{
    font-size: 2.6em;
    color: hsl(var(--clr-tertiary));
    font-weight: 500;
    line-height: 1.2em;
}

.banner .secondary_bold
{
    color: hsl(var(--clr-secondary));
    font-weight: 900;
}

.btn
{
    position: relative;
    background: hsl(var(--clr-quaternary));
    display: inline-block;
    color: var(--clr-white);
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
}
.bold
{
    font-weight: 500;
}
.about
{
    background: hsl(var(--clr-secondary), .2);
}

.heading
{
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    color: hsl(var(--clr-primary));
}

.heading.clr_tertiary
{
    color: hsl(var(--clr-tertiary));
}

.heading h2
{
    font-weight: 600;
    font-size: 40px;
}

.content
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contentBlock
{
    padding-right: 30px;
}

.contentBlock h3
{
    font-size: 24px;
    margin-bottom: 10px;
    padding-top: 10px;
}
.contentBlock p
{
    line-height: 1.5em;
}
.contentBlock ul
{
  list-style-type: none;
  border-left: 5px solid hsl(var(--clr-tertiary)); 
  margin-top:10px;
  margin-bottom: 10px;
  padding-top: 10px; 
  padding-bottom: 10px;
  padding-left: 10px;
  line-height: 1.4em;
}

.w50
{
    min-width: 50%;
}

img
{
    max-width: 100%;
}

.services
{
    background: hsl(var(--clr-primary));
}

.heading.white
{
    color: var(--clr-white);
}

.services .content
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.services .content .servicesBlock
{
    padding: 40px 20px;
    background: hsl(var(--clr-secondary), .9);
    color: var(--clr-white);
    max-width: 340px;
    margin: 20px;
    text-align: center;
    transition: 0.5s;
}
.services .content .servicesBlock:hover
{
    background: #21323b;
}
.services .content .servicesBlock img
{
    max-width: 80px;
    filter: invert(1);
}
.services .content .servicesBlock h2
{
    font-size: 20px;
    font-weight: 600;
    padding: 10px 0px;
}
.services .content .servicesBlock p
{
    line-height: 1.4em;
}
.work .content
{
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}
.work .content .workBlock
{
    width: 50%;
    padding:20px;
}
.work .content .workBlock img
{
    max-width: 100%;
}
.redactionWeb
{
    background: hsl(var(--clr-tertiary));
}
/* .redactionWeb .content
{
    display: flex;

    justify-content: space-between;
    flex-wrap: wrap;
} */
.redactionWeb .content .redactionWebBlock
{
    max-width: calc(50% - 40px);
    padding: 60px 40px;
    margin: 20px;
    background: var(--clr-white);
}
.redactionWeb .content .redactionWebBlock h3
{
    margin-bottom: 20px;
    color:hsl(var(--clr-primary));
    font-weight: 600;
    font-size: 20px;
    line-height: 1em;
}
.redactionWeb .content .redactionWebBlock p
{
    color:hsl(var(--clr-primary));
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    padding-bottom: 8px;
}
.contact
{
    background: hsl(var(--clr-secondary),.4);
}
.formBlock
{
 min-width: 60%;   
}
.formBlock form
{
    display: flex;
    flex-direction: column;
}
.formBlock form h3,
.contactInfo h3
{
    color: hsl(var(--clr-primary));
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.formBlock form label
{
    font-weight: 500;
}
.formBlock form input,
.formBlock form textarea
{
   margin-bottom: 20px;
   padding: 15px;
   font-size: 16px;
   background: var(--clr-white);
   border: none;
   outline: non;
   color: hsl(var(--clr-primary), 8); 
}
.formBlock form textarea
{
    min-height: 200px;
}
.formBlock form input::placeholder,
.formBlock form textarea::placeholder
{
    color: hsl(var(--clr-quaternary)); 
}
.formBlock form input[type="submit"]
{
    max-width: 112px;
    background: hsl(var(--clr-quaternary));
    cursor: pointer;
    text-transform: uppercase;
    color: var(--clr-white);
    font-weight: 500;
    letter-spacing: 2px;
}
.contactInfo
{
    min-width: 40%;
}
.contactInfBox
{
    position: relative;
}
.contactInfoBlock .box
{
    position: relative;
    padding: 20px 0;
    display: flex;
}
.contactInfoBlock .box .icon
{
    min-height: 40px;
    padding-top: 4px;
    color: hsl(var(--clr-tertiary));
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 24px;
}
.contactInfoBlock .box .text
{
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: hsl(var(--clr-primary));
    flex-direction: column;
    font-weight: 500;
}
.contactInfoBlock .box .text h3{
    font-weight: 500;
    color: hsl(var(--clr-tertiary));
    margin-bottom: 0;
}
.mentionslegales
{
    height: 80px;
    background: hsl(var(--clr-primary), .2);
    color: hsl(var(--clr-primary));
    text-align: center;
    padding: 15px;
}

/* Mobile */
@media (max-width: 990px)
{
    header,
    header.sticky
    { 
        padding: 20px 50px;
        z-index: 1000;
    }
    .menu
    {
        position: fixed;
        top: 75px;
        left: -100%;
        display: block;
        padding: 100px 50px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background: hsl(var(--clr-quaternary));
        transition: 0.5s;
        z-index: 999;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
    .menu.active
    {
        left: 0;
    }
    header ul li a
    {
        color: var(--clr-white);
        font-weight: 500;
        font-size: 24px;
        margin: 10px;
    }
    .toggle
    {
        width: 40px;
        height: 40px;
        background-image: url(/assets/menu.png);
        background-position: center;
        background-repeat: no-repeat ;
        background-size: 25px;
        cursor: pointer;
    }
    .toggle.active
    {
        background: url(/assets/menu_close.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        cursor: pointer;
    }
    header.sticky .toggle
    {
        filter: invert(1);
    }
    section
    {
        padding: 50px 50px;
    }
    .banner
    {
        padding: 150px 50px 100px;
        background-size: 140px;
    }
    .banner h1
    {
        font-size:1.5em;
        line-height: 1.2em;
    }
       .banner p
    {
        font-size:1.8em;
        line-height: 1.5em;
    }
    .btn
    {
        margin-top: 30px;
        padding: 10px 20px;
        font-size: 16px;
    }
    .heading h2
    {
        font-weight: 600;
        font-size: 24px;
    }
    .contentBlock h3
    {
        font-size: 20px;
    }
    .content
    {
        flex-direction: column;
    }
    .w50
    {
        margin-bottom: 20px;
    }
    .services .content .servicesBlock
    {
        margin: 10px;
    }
    .work .content .workBlock
    {   
        width: 100%;
        padding: 10px;
    }
    .redactionWeb .content .redactionWebBlock
    {
        max-width: calc(100% - 20%);
        padding: 40px 20px;
        margin: 10px;
        background: var(--clr-white);
    }
    .contactInfo
    {
        min-width: 40%;
        margin: 20px 0;
    }
}

@media (max-width:600px)
{
    header,
    header.sticky
    {
        padding: 20px 20px;
        z-index: 1000;
    }
    .banner
    {
        padding: 150px 20px 100px;
        background-size: 80px;
        background: none;

    }
}