/* =========================================================
   APEX GRAPHICS - STYLE GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #050505;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================================================
   COULEURS
========================================================= */

:root {
    --red: #e30613;
    --black: #050505;
    --dark: #0b0b0b;
    --card: #111111;
    --border: #292929;
    --grey: #aaaaaa;
    --white: #ffffff;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 45px;

    background-color: #050505;
    border-bottom: 1px solid #202020;

    position: relative;
    z-index: 10;
}


.logo img,
.navbar .logo img {
    width: 125px;
    height: auto;
    display: block;
}


.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}


.menu a {
    color: white;
    text-decoration: none;

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;

    transition: 0.3s;
}


.menu a:hover {
    color: var(--red);
}


.btn-devis {
    display: inline-block;

    padding: 15px 24px;

    background-color: var(--red);

    color: white;
    text-decoration: none;

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;

    transition: 0.3s;
}


.btn-devis:hover {
    background-color: #b9000c;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 500px;

    display: flex;
    align-items: center;

    padding: 70px 55px;

    background-color: #050505;

    background-image: url("images/hero.png");
    background-repeat: no-repeat;
    background-position: 88% 50%;
    background-size: 650px auto;
}


.hero-content {
    max-width: 700px;
}


.small-text {
    color: var(--red);

    font-size: 14px;
    font-weight: bold;

    text-align: left;

    margin-bottom: 20px;
}


.hero h1 {
    color: white;

    font-size: 70px;
    line-height: 0.95;

    text-align: left;

    margin: 0 0 25px 0;
}


.hero h1 span {
    color: var(--red);
}


.hero-description {
    color: #cccccc;

    font-size: 18px;

    text-align: left;

    margin-bottom: 30px;
}


.hero-button {
    display: inline-block;

    background-color: var(--red);

    color: white;
    text-decoration: none;

    text-transform: uppercase;

    padding: 18px 30px;

    font-size: 12px;
    font-weight: bold;

    transition: 0.3s;
}


.hero-button:hover {
    background-color: #b9000c;
}


/* =========================================================
   HERO PAGE TEXTILE
========================================================= */

.page-textile .hero {
    background-image: url("images/hero-textile.png");
    background-repeat: no-repeat;
    background-position: 88% 50%;
    background-size: 450px auto;
}


/* =========================================================
   HERO PAGE GRAPHISME
========================================================= */

.page-graphisme .hero {
    background-image: none;
}


/* =========================================================
   TITRES DE SECTIONS
========================================================= */

.services h2,
.why-apex h2,
.realisations h2,
.graphisme-details h2,
.textile-infos > h2 {
    color: white;

    font-size: 32px;
    font-weight: bold;

    text-align: center;

    text-transform: uppercase;
}


.services h2::after,
.why-apex h2::after,
.realisations h2::after,
.graphisme-details h2::after,
.textile-infos > h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 2px;

    background-color: var(--red);

    margin: 18px auto 0;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    padding: 70px 50px;

    background-color: #0b0b0b;

    text-align: center;
}


.services-grid {
    max-width: 1050px;

    margin: 45px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


.service-card {
    min-height: 245px;

    padding: 30px 20px;

    background-color: #111111;

    border: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: 0.3s;
}


.service-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
}


.service-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #090909;

    border-top: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
}


.service-icon i {
    color: white;
    font-size: 24px;
}


.service-card h3 {
    color: white;

    font-size: 18px;

    margin-bottom: 13px;
}


.service-card p {
    color: #aaaaaa;

    font-size: 13px;
    line-height: 1.6;
}


.price {
    display: block;

    margin-top: 18px;

    color: var(--red);

    font-size: 15px;
    font-weight: bold;
}


/* =========================================================
   WHY / ÉTAPES
========================================================= */

.why-apex {
    padding: 70px 50px;

    background-color: #080808;

    text-align: center;
}


.why-grid {
    max-width: 1050px;

    margin: 45px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 35px;
}


.why-item {
    text-align: center;
}


.why-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--red);

    transform: rotate(45deg);
}


.why-icon i {
    color: white;

    font-size: 21px;

    transform: rotate(-45deg);
}


.why-item h3 {
    color: white;

    font-size: 15px;

    margin-bottom: 13px;
}


.why-item p {
    color: #aaaaaa;

    font-size: 12px;
    line-height: 1.6;

    max-width: 240px;

    margin: 0 auto;
}


/* =========================================================
   RÉALISATIONS GÉNÉRALES
========================================================= */

.realisations {
    padding: 75px 50px;

    background-color: #0b0b0b;

    text-align: center;
}


.realisations-grid {
    max-width: 1000px;

    margin: 40px auto 30px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}


.realisation-card {
    height: 190px;

    overflow: hidden;

    background-color: #111111;

    border: 1px solid var(--border);
}


.realisation-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.35s;
}


.realisation-card:hover {
    border-color: var(--red);
}


.realisation-card:hover img {
    transform: scale(1.05);
}


.btn-realisations {
    display: inline-block;

    margin-top: 25px;

    padding: 15px 28px;

    color: white;

    text-decoration: none;

    font-size: 11px;
    font-weight: bold;

    border: 1px solid var(--red);

    text-transform: uppercase;

    transition: 0.3s;
}


.btn-realisations:hover {
    background-color: var(--red);
}


/* =========================================================
   PAGE RÉALISATIONS - FILTRES
========================================================= */

.gallery-filters {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 35px;
    margin-bottom: 40px;

    flex-wrap: wrap;
}


.filter-btn {
    background: transparent;

    border: 1px solid #333333;

    color: white;

    padding: 12px 20px;

    font-size: 12px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}


.filter-btn:hover,
.filter-btn.active {
    background-color: var(--red);

    border-color: var(--red);
}


.gallery-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


.gallery-item {
    height: 230px;

    overflow: hidden;

    background-color: #111111;

    border: 1px solid var(--border);
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.35s;
}


.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   RÉALISATION UNIQUE TEXTILE
========================================================= */

.textile-single-realisation {
    max-width: 850px;

    margin: 40px auto 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 55px;
}


.textile-single-realisation img {
    width: 290px;

    height: auto;

    display: block;
}


.textile-realisation-text {
    max-width: 350px;

    text-align: left;
}


.textile-realisation-text h3 {
    color: white;

    font-size: 19px;

    margin-bottom: 15px;
}


.textile-realisation-text p {
    color: #aaaaaa;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   INFORMATIONS TEXTILE
========================================================= */

.textile-infos {
    padding: 75px 50px;

    background-color: #080808;

    text-align: center;
}


.textile-infos > h2 {
    margin-bottom: 45px;
}


.conditions-box {
    max-width: 900px;

    margin: 0 auto 25px;

    padding: 30px 35px;

    background-color: #111111;

    border-left: 4px solid var(--red);

    text-align: left;
}


.conditions-box h3 {
    color: white;

    font-size: 18px;

    margin-bottom: 20px;
}


.conditions-box h3 i {
    color: var(--red);

    margin-right: 10px;
}


.conditions-box p {
    color: #aaaaaa;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 12px;
}


.conditions-box strong {
    color: white;
}


.condition-price {
    color: white !important;
}


.condition-price strong {
    color: var(--red);
}


.price-note {
    max-width: 900px;

    margin: 25px auto 0;

    color: #777777;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   PAGE GRAPHISME
========================================================= */

.graphisme-details {
    padding: 75px 50px;

    background-color: #080808;

    text-align: center;
}


.graphisme-details-grid {
    max-width: 950px;

    margin: 45px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.graphisme-detail-card {
    min-height: 160px;

    padding: 28px 22px;

    background-color: #111111;

    border: 1px solid var(--border);

    text-align: center;

    transition: 0.3s;
}


.graphisme-detail-card:hover {
    border-color: var(--red);

    transform: translateY(-4px);
}


.graphisme-detail-card i {
    color: var(--red);

    font-size: 25px;

    margin-bottom: 17px;
}


.graphisme-detail-card h3 {
    color: white;

    font-size: 14px;

    margin-bottom: 10px;
}


.graphisme-detail-card p {
    color: #aaaaaa;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   GALERIE GRAPHISME
========================================================= */

.graphisme-gallery {
    max-width: 900px;

    margin: 35px auto 20px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}


.graphisme-gallery-item {
    height: 155px;

    padding: 12px;

    overflow: hidden;

    background-color: #111111;

    border: 1px solid var(--border);

    display: flex;

    align-items: center;
    justify-content: center;

    transition: 0.3s;
}


.graphisme-gallery-item img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    transition: 0.3s;
}


.graphisme-gallery-item:hover {
    border-color: var(--red);

    transform: translateY(-3px);
}


/* =========================================================
   APEX GRAPHICS RACING
========================================================= */

.racing {
    padding: 75px 50px;

    background-color: #050505;

    text-align: center;
}


.racing h2 {
    color: white;

    font-size: 30px;

    margin-bottom: 15px;
}


.racing h2 span {
    color: var(--red);
}


.racing > p {
    color: #aaaaaa;

    font-size: 13px;
}


.pilotes-grid {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;
}


.pilote-card {
    width: 320px;

    background-color: #111111;

    border: 1px solid var(--border);

    overflow: hidden;
}


.pilote-card img {
    width: 100%;

    height: 260px;

    object-fit: cover;

    display: block;
}


.pilote-card h3 {
    color: white;

    font-size: 18px;

    margin: 18px 0;
}


.pilote-card h3 span {
    color: var(--red);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 75px 40px;

    background-color: #111111;

    text-align: center;
}


.cta h2 {
    color: white;

    font-size: 30px;

    margin-bottom: 10px;
}


.cta h3 {
    color: var(--red);

    font-size: 34px;

    margin-bottom: 30px;
}


.cta-button {
    display: inline-block;

    padding: 17px 28px;

    background-color: var(--red);

    color: white;

    text-decoration: none;

    font-size: 12px;
    font-weight: bold;

    transition: 0.3s;
}


.cta-button:hover {
    background-color: #b9000c;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    min-height: 300px;

    padding: 50px 70px;

    background-color: #030303;

    border-top: 1px solid #222222;

    display: grid;

    grid-template-columns: 1.2fr 1fr 1.2fr 1.3fr;

    gap: 60px;

    align-items: start;
}


.footer-logo img {
    width: 150px;

    height: auto;
}


.footer h3 {
    color: white;

    font-size: 14px;

    margin-bottom: 20px;
}


.footer-links,
.footer-services,
.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-links a {
    color: #aaaaaa;

    text-decoration: none;

    font-size: 12px;
}


.footer-links a:hover {
    color: var(--red);
}


.footer-services p {
    color: #aaaaaa;

    font-size: 12px;
}


.contact-line {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 8px;
}


.contact-line i {
    color: var(--red);

    width: 15px;
}


.contact-line span,
.contact-line a {
    color: #aaaaaa;

    text-decoration: none;

    font-size: 12px;
}


.social-links {
    display: flex;

    gap: 12px;

    margin-top: 12px;
}


.social-links a {
    width: 35px;
    height: 35px;

    border: 1px solid #333333;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    text-decoration: none;

    transition: 0.3s;
}


.social-links a:hover {
    border-color: var(--red);

    color: var(--red);
}


/* =========================================================
   RESPONSIVE - TABLETTE
========================================================= */

@media screen and (max-width: 1100px) {

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 10px;
    }

    .hero {
        background-size: 500px auto;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .graphisme-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .graphisme-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media screen and (max-width: 750px) {

    .navbar {
        height: auto;

        padding: 20px;

        flex-direction: column;

        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;

        gap: 12px;

        justify-content: center;
    }

    .hero {
        min-height: 520px;

        padding: 60px 25px;

        background-image: none !important;

        align-items: flex-start;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 15px;
    }

    .services,
    .why-apex,
    .realisations,
    .racing,
    .graphisme-details,
    .textile-infos {
        padding: 60px 20px;
    }

    .services h2,
    .why-apex h2,
    .realisations h2,
    .graphisme-details h2,
    .textile-infos > h2 {
        font-size: 25px;
    }

    .services-grid,
    .why-grid,
    .gallery-grid,
    .graphisme-details-grid,
    .graphisme-gallery {
        grid-template-columns: 1fr;
    }

    .graphisme-gallery-item {
        height: 190px;
    }

    .textile-single-realisation {
        flex-direction: column;

        gap: 30px;
    }

    .textile-realisation-text {
        text-align: center;
    }

    .pilotes-grid {
        flex-direction: column;

        align-items: center;
    }

    .pilote-card {
        width: 100%;

        max-width: 350px;
    }

    .footer {
        padding: 45px 25px;

        grid-template-columns: 1fr;

        gap: 35px;

        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .contact-line,
    .social-links {
        justify-content: center;
    }
}.page-lettrage .hero {
    background-image: url("images/hero-lettrage.png");
    background-repeat: no-repeat;
    background-position: 88% 60%;
    background-size: 750px auto;
}/* =========================================================
   PAGE DEVIS
========================================================= */

.devis-page {
    padding: 80px 25px;
    background-color: #080808;
}

.devis-header {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.devis-header .small-text {
    text-align: center;
}

.devis-header h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.devis-header h1 span {
    color: #e30613;
}

.devis-header > p:last-child {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.6;
}

.devis-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: #111111;
    border: 1px solid #292929;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: white;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 9px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;

    background-color: #080808;
    border: 1px solid #333333;

    color: white;
    font-family: inherit;
    font-size: 14px;

    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e30613;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    color: #777777;
    font-size: 11px;
    margin-top: 8px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: #aaaaaa;
    font-size: 12px;

    margin: 10px 0 30px;
}

.form-checkbox input {
    margin-top: 2px;
}

.devis-submit {
    width: 100%;

    padding: 18px;

    background-color: #e30613;
    border: none;

    color: white;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.devis-submit:hover {
    background-color: #b9000c;
}

@media screen and (max-width: 750px) {

    .devis-header h1 {
        font-size: 36px;
    }

    .devis-form {
        padding: 25px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}.file-info {
    padding: 18px;
    background-color: #080808;
    border-left: 3px solid #e30613;

    color: #aaaaaa;
    font-size: 13px;
    line-height: 1.6;
}

.file-info strong {
    color: white;
}/* =========================================================
   PAGE MERCI
========================================================= */

.merci-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background-color: #050505;
}

.merci-box {
    width: 100%;
    max-width: 700px;

    padding: 60px;

    background-color: #111111;
    border: 1px solid #292929;

    text-align: center;
}

.merci-box .small-text {
    text-align: center;
}

.merci-box h1 {
    color: #e30613;
    font-size: 60px;

    margin-bottom: 15px;
}

.merci-box h2 {
    color: white;
    font-size: 24px;

    margin-bottom: 25px;
}

.merci-box p {
    color: #aaaaaa;

    font-size: 15px;
    line-height: 1.7;

    margin-bottom: 35px;
}

.merci-button {
    display: inline-block;

    padding: 17px 30px;

    background-color: #e30613;

    color: white;
    text-decoration: none;

    font-size: 12px;
    font-weight: bold;
}

.merci-button:hover {
    background-color: #b9000c;
}