* {
    box-sizing: border-box;
}

/* ==== TYPOGRAPHIE & BODY ==== */
body, button, input, textarea, select {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.66;
    color: #d9d9d9;
    background-color: #222;
    margin: 0;
}

strong, b {
    color: #F5F5F5;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.75em;
    line-height: 1.4;
}

h1 {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    font-size: 33px;
    font-weight: 300;
}

h2 { font-size: 30px; font-weight: 400; margin-top: 30px; color: #ef5466; }
h3 { font-size: 25px; font-weight: 400; margin-top: 30px; color: #ef5466; }

/* ==== LIENS ==== */
a {
    position: relative;
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
}

a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40%;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
}	

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #B026FF, #EF5466);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    border-radius: 2px;
}

a:hover::after { transform: scaleX(1); }
a:hover { color: #EF5466; }

/* ==== HEADER ==== */
.site-header .home-link {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    padding: 0 20px;
    min-height: 90px;
}

.site-title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1;
    padding: 18px 0 6px;
}

.site-description {
    font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0;
}

/* ==== CONTENT ==== */
.entry-content, .entry-summary, .entry-header {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ==== IMAGES & MEDIA ==== */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Alignement rapide */
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* ==== BOUTONS ==== */
button, input[type="submit"] {
    font-family: inherit;
    background: #ef5466;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 11px 24px 10px;
}

button:hover, input[type="submit"]:hover {
    background: #e55627;
}

/* ==== FOOTER ==== */
.site-footer {
    background-color: #222;
    color: #686758;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
}

.site-footer a { color: #c2bfa8; }

/* ==== MOBILE RESPONSIVE ==== */
@media (max-width: 767px) {

    /* Sliders SmartSlider3 pleine largeur */
    .n2-section-smartslider,
    .wp-block-nextend-smartslider3,
    .n2-ss-slider {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .entry-content,
    .entry-summary,
    .hentry {
        padding-left: 5px;
        padding-right: 5px;
    }

    h2 { margin-top: 30px; margin-bottom: 15px; }
    h3 { margin-top: 40px; margin-bottom: 15px; }

    p { margin-left: 0; margin-right: 0; }

    /* Formulaires responsive */
    .entry-content input,
    .entry-content textarea,
    .entry-content select,
    .entry-content button {
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* ==== TABLETTE ==== */
@media (max-width: 960px) {
    .site-title { font-size: 30px; }
    .entry-content, .entry-header, .entry-summary { padding-left: 10px; padding-right: 10px; }
}

/* ==== PRINT ==== */
@media print {
    body { background: none !important; color: #000; font-size: 10pt; }
    .site, .site-header, .site-title, .site-footer, .entry-content img { max-width: 100%; }
}
