/* ==========================================================
   OPTI'T LUNETTES
   STYLE.CSS V5
========================================================== */

/* =========================
   VARIABLES
========================= */

:root{

    --primary:#1EC8E5;
    --primary-dark:#149DB8;

    --secondary:#17324D;

    --text:#566874;

    --light:#F7FBFC;

    --white:#FFFFFF;

    --border:#E5EEF2;

    --radius:22px;

    --radius-lg:30px;

    --shadow:
        0 15px 40px rgba(0,0,0,.08);

    --transition:.30s;

}

/* =========================
   RESET
========================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    color:var(--text);

    background:#ffffff;

    line-height:1.7;

    overflow-x:hidden;

}

/* =========================
   IMAGES
========================= */

img{

    max-width:100%;

    display:block;

}

/* =========================
   LIENS
========================= */

a{

    color:inherit;

    text-decoration:none;

}

/* =========================
   CONTAINER
========================= */

.container{

    width:min(1320px,92%);

    margin:auto;

}

/* =========================
   TITRES
========================= */

h1,
h2,
h3,
h4{

    color:var(--secondary);

    font-weight:700;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.8rem;

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:#74828d;

}

/* =========================
   BADGES
========================= */

.hero-badge,
.section-badge{

    display:inline-block;

    padding:10px 22px;

    border-radius:999px;

    background:#E8FAFD;

    color:var(--primary-dark);

    font-weight:600;

    margin-bottom:25px;

}

/* =========================
   HEADER
========================= */

.site-header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:var(--transition);

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

}

.site-header.scrolled{

    background:#ffffff;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

/* =========================
   BARRE DU HAUT
========================= */

.site-header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:95px;

}

/* =========================
   LOGO
========================= */

.logo{

    height:150px;

    width:auto;

    transition:var(--transition);

}

.logo:hover{

    transform:scale(1.04);

}

/* =========================
   MENU
========================= */

.main-nav{

    display:flex;

    align-items:center;

    gap:35px;

}

.main-nav a{

    font-weight:600;

    color:var(--secondary);

    transition:var(--transition);

    position:relative;

}

.main-nav a:hover{

    color:var(--primary);

}

/* soulignement animé */

.main-nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:3px;

    background:var(--primary);

    transition:.3s;

}

.main-nav a:hover::after{

    width:100%;

}

/* =========================
   BOUTON CONTACT
========================= */

.contact-btn{

    padding:12px 26px;

    border-radius:999px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#fff !important;

    box-shadow:0 12px 25px rgba(0,0,0,.12);

}

.contact-btn:hover{

    transform:translateY(-2px);

}

.contact-btn::after{

    display:none;

}

/*==================================================
                    HERO
==================================================*/

.hero{

    position:relative;

    padding:220px 0 90px;

    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            #EAFBFE 0%,
            #F8FDFF 55%,
            #FFFFFF 100%
        );

}

.hero-content{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.hero h1{

    font-size:4.5rem;

    line-height:1.08;

    font-weight:800;

    margin-bottom:30px;

    color:var(--secondary);

}

.hero-subtitle{

    max-width:760px;

    margin:0 auto 45px;

    font-size:1.22rem;

    color:#657682;

}

/*=========================================
            BOUTONS HERO
=========================================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:80px;

}

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 38px;

    border-radius:999px;

    font-weight:600;

    transition:.30s;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;

    box-shadow:
        0 18px 35px rgba(0,0,0,.10);

}

.btn:hover{

    transform:translateY(-4px);

}

.btn-secondary{

    background:white;

    color:var(--secondary);

    border:2px solid #E8EEF2;

}

.btn-secondary:hover{

    border-color:var(--primary);

}

/*==================================================
                NOS MAGASINS
==================================================*/

.stores-section{

    padding:40px 0 100px;

}

.stores{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

/*=========================================
                CARTE
=========================================*/

.store-card{

    position:relative;

    overflow:hidden;

    border-radius:30px;

    background:white;

    box-shadow:var(--shadow);

    transition:.35s;

}

.store-card:hover{

    transform:translateY(-10px);

}

/*=========================================
                PHOTO
=========================================*/

.store-card img{

    width:100%;

    height:500px;

    object-fit:cover;

    transition:.6s;

}

.store-card:hover img{

    transform:scale(1.08);

}

/*=========================================
                DEGRADE
=========================================*/

.store-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            to top,

            rgba(18,36,55,.90),

            rgba(18,36,55,.25),

            transparent

        );

}

/*=========================================
                INFOS
=========================================*/

.store-info{

    position:absolute;

    left:35px;

    right:35px;

    bottom:30px;

    z-index:5;

    color:white;

}

.store-info h3{

    color:white;

    font-size:2rem;

    margin-bottom:8px;

}

.store-info .subtitle{

    color:#AEEBF7;

    margin-bottom:15px;

    font-weight:600;

}

.store-info p{

    margin-bottom:8px;

    font-size:1rem;

}

/*=========================================
            LIEN
=========================================*/

.store-link{

    display:inline-block;

    margin-top:18px;

    padding:10px 22px;

    border-radius:999px;

    background:rgba(255,255,255,.16);

    backdrop-filter:blur(8px);

    transition:.3s;

}

.store-link:hover{

    background:var(--primary);

}

/*=========================================
            PETIT EFFET
=========================================*/

.store-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    top:-120px;

    right:-120px;

    transition:.4s;

}

.store-card:hover::after{

    transform:scale(1.35);

}

/*==================================================
                    FACEBOOK
==================================================*/

.facebook-section{

    padding:100px 0;

    background:#F7FBFC;

}

.facebook-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.facebook-content h2{

    font-size:2.8rem;

    margin-bottom:25px;

}

.facebook-content p{

    font-size:1.1rem;

    color:#667784;

    margin-bottom:35px;

    line-height:1.9;

}

.facebook-feed{

    display:flex;

    justify-content:center;

}

.facebook-feed iframe{

    width:100%;

    max-width:500px;

    border:none;

    border-radius:28px;

    overflow:hidden;

    box-shadow:

        0 25px 50px rgba(0,0,0,.12);

}

/*==================================================
                PRESENTATION
==================================================*/

.about{

    padding:100px 0;

    text-align:center;

}

.about .container{

    max-width:900px;

}

.about h2{

    font-size:2.7rem;

    margin-bottom:25px;

}

.about p{

    font-size:1.15rem;

    color:#6A7883;

}

/*==================================================
                    SERVICES
==================================================*/

.services{

    padding:100px 0;

    background:#ffffff;

}

/*==================================================
                GRILLE
==================================================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(6,1fr);

    gap:22px;

}

/*==================================================
                CARTE
==================================================*/

.service{

    background:white;

    border-radius:24px;

    padding:35px 22px;

    text-align:center;

    min-height:230px;

    transition:.35s;

    box-shadow:

        0 12px 35px rgba(0,0,0,.07);

    border:1px solid #EEF4F7;

}

.service:hover{

    transform:translateY(-10px);

    box-shadow:

        0 22px 45px rgba(0,0,0,.12);

}

/*==================================================
                    ICONE
==================================================*/

.service-icon{

    width:74px;

    height:74px;

    margin:0 auto 22px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    background:

        linear-gradient(

            135deg,

            var(--primary),

            var(--primary-dark)

        );

    color:white;

}

/*==================================================
                TITRE
==================================================*/

.service h3{

    font-size:1.1rem;

    margin-bottom:14px;

}

/*==================================================
                TEXTE
==================================================*/

.service p{

    font-size:.95rem;

    color:#73828D;

    line-height:1.6;

}

/*==================================================
            PETIT EFFET
==================================================*/

.service::before{

    content:"";

    display:block;

    width:45px;

    height:4px;

    margin:0 auto 18px;

    border-radius:20px;

    background:var(--primary);

    opacity:.20;

}

.service:hover::before{

    opacity:1;

}

/*==================================================
                POURQUOI NOUS CHOISIR
==================================================*/

.trust{

    padding:110px 0;

    background:linear-gradient(
        180deg,
        #F8FDFF 0%,
        #FFFFFF 100%
    );

}

.trust-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.trust-card{

    background:#fff;

    border-radius:28px;

    padding:45px 30px;

    text-align:center;

    border:1px solid #EAF2F5;

    box-shadow:0 15px 35px rgba(0,0,0,.07);

    transition:.35s;

}

.trust-card:hover{

    transform:translateY(-8px);

}

.trust-number{

    font-size:3.5rem;

    font-weight:800;

    color:var(--primary);

    margin-bottom:18px;

}

.trust-card h3{

    margin-bottom:12px;

}

.trust-card p{

    color:#73828D;

}


/*==================================================
                    MARQUES
==================================================*/

.brands{

    padding:100px 0;

    background:#fff;

}

.brands-grid{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:18px;

    align-items:center;

    margin-top:55px;

}

.brands-grid{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:20px;

    align-items:center;

    margin-top:55px;

}

.brands-grid img{

    display:block;

    width:100%;

    max-width:170px;

    height:auto;

    margin:auto;

    padding:10px;

    background:#fff;

    border:1px solid #ECEFF2;

    border-radius:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

    transition:.30s;

}

.brands-grid img:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}
.brands-grid img:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}


.brands-button{

    text-align:center;

    margin-top:60px;

}


/*==================================================
                    FOOTER
==================================================*/

footer{

    background:#17324D;

    color:white;

    margin-top:80px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

    padding:70px 0;

}

.footer-logo{

    width:170px;

    margin-bottom:20px;

}

.footer-grid h3{

    color:white;

    margin-bottom:20px;

}

.footer-grid p{

    color:#D5E3EB;

    margin-bottom:10px;

}

.footer-grid a{

    display:inline-block;

    margin-bottom:10px;

    color:#D5E3EB;

    transition:.30s;

}

.footer-grid a:hover{

    color:#4ED7EA;

}

.footer-bottom{

    text-align:center;

    padding:25px;

    border-top:1px solid rgba(255,255,255,.12);

    color:#BFD0DB;

}


/*==================================================
                    COOKIES
==================================================*/

.cookie-banner{

    position:fixed;

    bottom:25px;

    left:50%;

    transform:translateX(-50%);

    width:min(900px,92%);

    background:white;

    border-radius:20px;

    padding:25px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    box-shadow:0 20px 45px rgba(0,0,0,.18);

    z-index:9999;

}

.cookie-content p{

    margin-top:8px;

    color:#6F7E88;

}

.cookie-buttons{

    display:flex;

    gap:15px;

}

.cookie-buttons button{

    cursor:pointer;

    border:none;

    border-radius:999px;

    padding:14px 28px;

    font-weight:600;

    transition:.30s;

}

.cookie-buttons button:first-child{

    background:var(--primary);

    color:white;

}

.cookie-buttons button:last-child{

    background:#EEF5F8;

}

.cookie-buttons button:hover{

    transform:translateY(-2px);

}


/*==================================================
                    RESPONSIVE
==================================================*/

@media(max-width:1100px){

.hero h1{

    font-size:3.4rem;

}

.facebook-container{

    grid-template-columns:1fr;

}

.trust-grid{

    grid-template-columns:repeat(2,1fr);

}

.brands-grid{

    grid-template-columns:repeat(3,1fr);

}

.services-grid{

    grid-template-columns:repeat(3,1fr);

}

.footer-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.site-header .container{

    flex-direction:column;

    padding:20px 0;

}

.logo{

    height:100px;

}

.main-nav{

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.hero{

    padding-top:180px;

}

.hero h1{

    font-size:2.4rem;

}

.hero-buttons{

    flex-direction:column;

}

.stores{

    grid-template-columns:1fr;

}

.store-card img{

    height:360px;

}


.services-grid{

    grid-template-columns:1fr;

}

.trust-grid{

    grid-template-columns:1fr;

}

.brands-grid{

    grid-template-columns:repeat(2,1fr);

}

.footer-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.cookie-banner{

    flex-direction:column;

    text-align:center;

}


