/* ==================================================
   HEADER - Logo + menu horizontal
   ================================================== */

.container-header {
    display:flex;
    align-items:center;
}

.container-header .grid-child {
    width:100%;
}

.container-header .navbar-brand img {
    max-height:100px;
    width:auto;
}

.container-header .container-nav {
    margin-left:auto;
}

/* ==================================================
   SECTION NOS SOLUTIONS
   ================================================== */

.solutions-items {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.solutions-items > div {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solutions-items > a > div {
    background:#ffffff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
}

.solutions-items > a:hover > div {
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

.solutions-items > a {
    display:flex;
}

.solutions-items > a > div {
    width:100%;
}

.solutions-items h3 {
    color: #218739;
    margin-top: 0;
}

.solutions-section h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #218739;
}

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

.sppb-addon-title {
    padding-top: 80px;
}


/* ==================================================
   NOTRE PHILOSOPHIE
   ================================================== */

.advantages-section {
    margin-top: 70px;
}

.advantages-section h2 {
    text-align: center;
    margin-bottom: 35px;
}

.advantages-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantages-items > div {
    background: #f8faf8;
    border-left: 5px solid #218739;
    padding: 30px;
    border-radius: 15px;
    transition: all .3s ease;
}

.advantages-items > div:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.advantages-items h3 {
    margin-top:0;
    color:#218739;
}


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

.presentation-section {
    max-width:900px;
    margin:70px auto;
    font-size:1.1rem;
    line-height:1.7;
}

.presentation-section h2 {
    text-align:center;
    color:#218739;
    margin-bottom:40px;
}

.presentation-section ul {
    margin-top:30px;
    padding-left:20px;
}

.presentation-section li {
    margin-bottom:12px;
}


/* ==================================================
   BANDEAU MARQUES CANON / HP / BROTHER
   ================================================== */

.footer-marques {

    position:relative;

    min-height:350px;

    background-image:url("/images/footer.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
}


/* voile sombre sur l'image */

.footer-marques::before {

    content:"";

    position:absolute;
    inset:0;

    background:rgba(0,0,0,0.45);

}


/* contenu du bandeau */

.footer-content {

    position:relative;
    z-index:1;

    width:100%;
    max-width:1200px;

    margin:auto;

    padding:40px;

    display:flex;
    align-items:center;
    justify-content:space-between;

}


/* logos */

.footer-logos {

    display:flex;
    align-items:center;
    gap:40px;

}

.footer-logos img {

    height:60px;
    width:auto;

}


/* téléphone */

.footer-tel {

    color:white;

    font-size:36px;

    font-weight:700;

}


/* ==================================================
   MOBILE
   ================================================== */

@media(max-width:768px) {


    .solutions-items,
    .advantages-items {

        grid-template-columns:1fr;

    }


    .footer-content {

        flex-direction:column;
        gap:30px;
        text-align:center;

    }


    .footer-logos {

        justify-content:center;
        flex-wrap:wrap;

    }


    .footer-tel {

        font-size:28px;

    }

}
/* ==================================================
   BANDEAU MARQUES - ajustements finaux
   ================================================== */

.footer-marques::before {
    background: rgba(0,0,0,0.45);
}


.footer-content {

    width:100%;
    max-width:none;

    padding:40px 70px;

    display:flex;
    align-items:center;
    justify-content:space-between;

}


/* Logos à gauche */

.footer-logos {

    display:flex;
    align-items:center;
    gap:35px;

}


/* Téléphone à droite */

.footer-tel {

    color:#ffffff;
    font-size:36px;
    font-weight:700;

}
.footer-content {
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* Bandeau marques uniquement en pleine largeur */
.footer-marques {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
/* On remet le header Cassiopeia dans son alignement normal */
.container-header .grid-child {
    padding-left: 1rem;
    padding-right: 1rem;
}
/* Faire que main-bottom se comporte comme banner */

.main-bottom {
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
}

.main-bottom .grid-child {
    padding-left:0 !important;
    padding-right:0 !important;
}

.main-bottom .footer-marques {
    width:100%;
}

/* Correction menu mobile Cassiopeia Extended */

@media (max-width: 991px) {

    .container-header {
        display:flex;
        flex-wrap:wrap;
    }

    .container-header .container-nav {
        display:block;
        width:100%;
    }

    .container-header .navbar-toggler {
        display:block;
    }

    .container-header .navbar-collapse {
        flex-basis:100%;
    }

}
/* Bouton menu mobile visible */

@media (max-width:991px) {

    .navbar-toggler {
        display:block !important;
        color:#218739 !important;
        border-color:#218739 !important;
        opacity:1 !important;
    }

    .navbar-toggler .icon-menu {
        color:#218739 !important;
        opacity:1 !important;
    }

}

/* Cartes solutions cliquables */

.solutions-items > a {
    text-decoration:none;
    color:inherit;
}

.solutions-items > a > div {
    height:100%;
}

.solutions-items > a:hover {
    text-decoration:none;
}
.solutions-items h3::after {
    content:" →";
    opacity:0;
    transition:.3s;
}

.solutions-items a:hover h3::after {
    opacity:1;
}

/* ==================================================
   GAMMES CANON
   ================================================== */

.gammes-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:40px;

    margin:50px 0;

}

.gamme-card{

    display:flex;
    flex-direction:column;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    text-decoration:none;
    color:inherit;

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

    transition:.35s;

}

.gamme-card:hover{

    transform:translateY(-8px);

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

}

.gamme-image {

    background:linear-gradient(145deg,#f8f9f9,#eef1f1);

    text-align:center;

    padding:45px 35px;

    overflow:hidden;

    position:relative;

}


/* petite ombre sous le produit */

.gamme-image img {

    max-width:90%;

    height:260px;

    object-fit:contain;

    filter:drop-shadow(0 15px 12px rgba(0,0,0,.70));

    transition:.35s;

}

.gamme-image img{

    max-width:100%;
    height:250px;
    object-fit:contain;

    transition:.35s;

}

.gamme-card:hover .gamme-image img{

    transform:scale(1.05);

}

.gamme-content{

    padding:30px;

}

.gamme-content h2{

    color:#218739;

    margin-top:0;
    margin-bottom:18px;

    font-size:1.7rem;

}

.gamme-intro{

    line-height:1.6;

    margin-bottom:25px;

}

.gamme-content ul{

    padding-left:20px;

    margin-bottom:30px;

}

.gamme-content li{

    margin-bottom:10px;

}

.gamme-link{

    color:#218739;

    font-weight:700;

    transition:.3s;

}

.gamme-card:hover .gamme-link{

    letter-spacing:1px;

}
.gamme-badge {

    position:absolute;

    top:20px;
    right:20px;

    background:#218739;

    color:white;

    padding:8px 15px;

    border-radius:20px;

    font-size:.9rem;

    font-weight:700;

}
/* ==================================================
   PAGE PRODUIT
   ================================================== */

.produit-page {

    max-width:1100px;

    margin:60px auto;

}


/* Image principale */

.produit-image {

    text-align:center;

    margin-bottom:40px;

}


.produit-image img {

    max-width:100%;

    border-radius:20px;

}


/* Titre */

.produit-page h1 {

    text-align:center;

    color:#218739;

    font-size:2.5rem;

    margin-bottom:25px;

}


.produit-intro {

    max-width:850px;

    margin:0 auto 50px;

    text-align:center;

    font-size:1.15rem;

    line-height:1.7;

}


/* Sous-titres */

.produit-page h2 {

    color:#218739;

    margin-bottom:30px;

}


/* Tableau */

.produit-table {

    width:100%;

    border-collapse:collapse;

    margin-bottom:50px;

    background:white;

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

    border-radius:15px;

    overflow:hidden;

}


.produit-table th {

    background:#218739;

    color:white;

    padding:18px;

    text-align:left;

}


.produit-table td {

    padding:18px;

    border-bottom:1px solid #eee;

}


.produit-table tr:last-child td {

    border-bottom:none;

}


.produit-table tr:hover {

    background:#f7faf7;

}
.produit-options{

    background:#f8faf8;

    border-left:5px solid #218739;

    padding:30px;

    border-radius:15px;

    margin-bottom:50px;

}

.produit-options h2{

    margin-top:0;

    color:#218739;

}

.produit-options ul{

    margin-top:20px;

    padding-left:20px;

}

.produit-options li{

    margin-bottom:10px;

}
.options-grid{

    display:grid;

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

    gap:40px;

    margin-top:20px;

}

.options-grid ul{

    margin:0;

    padding-left:20px;

}

.options-grid li{

    margin-bottom:10px;

}

.options-note{

    margin-top:20px;

    font-style:italic;

}

@media(max-width:768px){

    .options-grid{

        grid-template-columns:1fr;

        gap:10px;

    }

}
/* PDF */

.produit-document {

    background:#f8faf8;

    border-left:5px solid #218739;

    padding:30px;

    border-radius:15px;

}


.produit-document a {

    color:#218739;

    font-weight:700;

    text-decoration:none;

}


.produit-document a:hover {

    text-decoration:underline;

}


/* Mobile */

@media(max-width:768px) {

    .produit-table {

        font-size:.9rem;

    }


    .produit-table th,
    .produit-table td {

        padding:12px;

    }

}
/* ==================================================
   CONTACT PRODUIT
   ================================================== */

.produit-contact{

    background:#218739;

    color:#fff;

    padding:40px;

    border-radius:18px;

    text-align:center;

    margin:50px 0;

}

.produit-contact h2{

    color:#fff;

    margin-top:0;

}

.produit-contact p{

    max-width:700px;

    margin:20px auto 30px;

    line-height:1.7;

}

.produit-contact-btn{

    display:inline-block;

    background:#fff;

    color:#218739;

    padding:14px 28px;

    border-radius:30px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.produit-contact-btn:hover{

    background:#f3f3f3;

    transform:translateY(-2px);

}