.notebook .screen:before {
  background: #464C51;
}
.notebook .screen{
  border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
}
#header #navbar ul.navigation li {
  text-transform: initial;
}
#header #navbar ul.navigation li:hover > ul {
	width: 20rem;
}
.logo img {
    height: 60px;
    width: auto;
}
#header #navbar ul.navigation li:hover li.active > a {
  background: #62C1BF;
}

.header-lite #header li.active a {
  color: #62C1BF;
}
.modal .client-details li strong {
  color: #62C1BF;
}

.modular .showcase h1 strong {
  color: #62C1BF;
}
textarea:focus,
input:focus,
select[multiple=multiple]:focus {
  border-color: #62C1BF;
}
.button:hover,
.archive-list button:hover,
.contact button:hover {
  color: #62C1BF;
}

.button:active,
.archive-list button:active,
.contact button:active {
  box-shadow: 0 1px 0 #62C1BF;
}
.page-title {
  background: #62C1BF;
}

.label {
  background: #62C1BF;
}

.button,
.archive-list button,
.contact button {
  background: #62C1BF;
  border: 1px solid #62C1BF;
}

.bullet-icon,
.bullet-icon-1 {
  background: #62C1BF;
}
a { color: #62C1BF; }

#header #navbar ul.navigation li a.active,
#header #navbar ul.navigation li a:hover {
  color: #62C1BF;
}

.header-lite #header li.active a {
  color: #62C1BF;
}

.header-image #header #navbar ul.navigation ul li a {
  color: #62C1BF;
}

.archives a:hover,
.related-pages a:hover {
  color: #62C1BF;
}

.list-item .list-blog-header h4 a:hover {
  color: #62C1BF;
}


.notebook .screen .screen-content-hover {
  background-color: #62C1BF;
}
.modular.header-image #header .fixed {
  background: #62C1BF96;
}

p{
  text-align: left;
}
li{
  text-align:left;
}
body, h1, h2, h3, h4, h5, h6 { font-family: 'Lato', sans-serif !important;
}
#header #navbar ul.navigation li {
    font-family: 'Lato', sans-serif !important;
}

.notebook {
  min-width: 45%;
}
.portfolio-modal .modal-content {
    max-width: 1100px;
    margin: 60px auto;
    border-radius: 12px;
    padding: 40px;
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
}

.modal-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.modal-image {
    margin-bottom: 40px;
}

.modal-image img {
    width: 100%;
    border-radius: 12px;
}

.client-details {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: center;
}

.client-details li {
    margin-bottom: 10px;
}

.portfolio-modal { backdrop-filter: blur(6px);
}
.modal-content { box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.portfolio-slider {
    position: relative;
    overflow: hidden;
}

.portfolio-slider .slide {
    display: none;
}

.portfolio-slider .slide.active {
    display: block;
}

.portfolio-slider img {
    width: 100%;
    border-radius: 12px;
}

.slider-dots {
    text-align: center;
    margin-top: 15px;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dots span.active {
    background: #333;
}

.portfolio-modal { overflow-y: auto;
}
.portfolio-modal .modal-content { max-height: 90vh; overflow-y: auto;
}

.modal .modal-content img {
  max-height: none;
}

.modal .modal-content {
    width: 90%;        /* prend 90% de l’écran */
    max-width: 1100px; /* limite sur grand écran */
    margin: auto;
    border-radius: 12px;
    padding: 20px;
}

.portfolio-link .screen {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
                rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
                rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.modal .client-details li {
  display: inline-block;
  margin: 0 10px;
}

/* ===== PORTFOLIO (RESPONSIVE PROPRE) ===== */

.portfolio-test{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
    gap:50px;
    max-width:1200px;
    margin:60px auto 150px auto;
    justify-items:center; /* centre les cartes */
}

/* limite largeur des cartes pour éviter qu'elles s'étirent */

.portfolio-card{
    max-width:420px;
    width:100%;
}

/* ===== CARD ===== */

.portfolio-card{
    background:white;
    padding:18px;
    border-radius:14px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 2px 6px rgba(0,0,0,0.04);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease;
}

/* floating effect */

.portfolio-card:hover{
    transform:translateY(-14px);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.12),
        0 10px 20px rgba(0,0,0,0.08);
}

/* ===== IMAGE ===== */

.portfolio-image{
    position:relative;
    border-radius:12px;
    overflow:hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);

    transition:transform .4s ease;
}

.portfolio-card:hover .portfolio-image{
    transform:scale(1.02);
}

/* image background */

.portfolio-image-bg{
    padding-top:70%;
    background-size:cover;
    background-position:center;

    transition:transform .6s ease;
}

.portfolio-card:hover .portfolio-image-bg{
    transform:scale(1.08);
}

/* ===== OVERLAY ===== */

.portfolio-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        180deg,
        rgba(98,193,191,0),
        rgba(98,193,191,0.85)
    );

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

    opacity:0;
    transition:opacity .3s ease;
}

.portfolio-card:hover .portfolio-overlay{
    opacity:1;
}

.portfolio-overlay i{
    color:white;
    font-size:30px;
}

/* ===== TITLE ===== */

.portfolio-title{
    text-align:center;
    margin-top:18px;
}

/* ===== TABLET ===== */

@media (max-width:900px){

.portfolio-test{
    grid-template-columns:repeat(2,1fr);
}

}

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

@media (max-width:600px){

.portfolio-test{
    grid-template-columns:1fr;
}

}

/* la modal passe au dessus du header */

.portfolio-modal{
    position: fixed;
    z-index: 9999;
}

/* optionnel : on baisse le header */

#header{
    z-index: 100;
}


.contact input[type="checkbox"] {
  width: auto; /* ou 0 si tu veux vraiment */
}

.contact label[for="accept-terms"] { text-transform: none; font-family: 
  "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; font-weight: 
  normal;
}
