
/* ===================================
   EAZYSOFT - IDENTITE GRAPHIQUE
   =================================== */

:root {
    --primary: #0b172a;
    --secondary: #102c48;
    --accent: #00c8ef;
    --white: #ffffff;
    --text: #b5c6d9;
}

/* Configuration générale */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--primary);
    color: var(--white);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   MENU DE NAVIGATION
   =================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    border-bottom: 1px solid #23415d;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 95px;
    gap: 25px;
}

.logo img {
    width: 170px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent);
}

/* ===================================
   BANDEAU PRINCIPAL
   =================================== */

.hero {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        #0b172a,
        #102c48
    );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 70px;
}

.subtitle {
    color: var(--accent);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.2;
    margin: 20px 0;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero p {
    color: var(--text);
    font-size: 18px;
    max-width: 550px;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    max-width: 366px;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 15px 50px #0005;
}

/* Boutons */

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 7px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--white);
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: 85px 0;
}

.alternate {
    background: var(--secondary);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.two-columns img {
    width: 100%;
    height: auto;
    max-width: 520px;
    max-height: 380px;
    object-fit: contain;
    margin: auto;
    border-radius: 12px;
}

h2 {
    color: var(--accent);
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.3;
    margin-bottom: 25px;
}

.section p {
    color: var(--text);
    font-size: 18px;
}

/* Prestations informatiques */

.services-list {
    list-style: none;
}

.services-list li {
    padding: 12px 0;
    border-bottom: 1px solid #23415d;
}

.services-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 15px;
}

/* Contact */

.contact {
    background: var(--secondary);
    text-align: center;
}

/* ===================================
   PIED DE PAGE
   =================================== */

.footer {
    padding: 40px 20px;
    background: #07101e;
    text-align: center;
    color: var(--text);
    font-size: 14px;
}

.footer img {
    width: 140px;
    margin: 0 auto 20px;
}

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

@media (max-width: 768px) {

    html {
        scroll-padding-top: 20px;
    }

    .header {
        position: static;
    }

    .navigation {
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content,
    .two-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero {
        padding: 45px 0;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image img {
        max-width: 280px;
    }

    .section {
        padding: 50px 0;
    }

    .two-columns img {
        max-height: 300px;
    }
}
/* ===================================
   NAVIGATION DYNAMIQUE
   =================================== */

.nav-links a {
    position: relative;
    padding-bottom: 8px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Amélioration des marges du logo */

.logo {
    padding: 8px 0;
}

/* Accessibilité des animations */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nav-links a::after {
        transition: none;
    }
}
/* ===================================
   MENU HAMBURGER MOBILE
   =================================== */

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #23415d;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: var(--accent);
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Transformation en croix */

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Version smartphone */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 95px;
    }

    .header {
        position: sticky;
        top: 0;
    }

    .navigation {
        flex-direction: row;
        flex-wrap: wrap;
        min-height: 80px;
        padding: 5px 0;
        gap: 10px;
    }

    .logo img {
        width: 140px;
    }

    #main-nav {
        width: 100%;
    }

    .js-enabled .menu-toggle {
        display: block;
    }

    .js-enabled #main-nav {
        display: none;
    }

    .js-enabled #main-nav.open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid #23415d;
    }

    .nav-links a {
        display: block;
        padding: 12px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle span {
        transition: none;
    }
}
/* ===================================
   EAZYSOFT v0.4 - FORMULAIRE CONTACT
   =================================== */

.contact .container {
    max-width: 800px;
}

.contact > .container > p {
    margin-bottom: 35px;
}

.contact-form {
    margin-top: 30px;
    padding: 35px;
    background: var(--primary);
    border: 1px solid #23415d;
    border-radius: 14px;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: bold;
    font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 13px 15px;
    background: var(--secondary);
    color: var(--white);
    border: 1px solid #36516c;
    border-radius: 8px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--accent);
}

.contact-form .btn {
    border: none;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.contact-form .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.contact-form .btn:disabled:hover {
    background: var(--accent);
}

/* Adaptation smartphone */

@media (max-width: 768px) {
    .contact-form {
        padding: 22px 18px;
    }

    .contact-form .btn {
        width: 100%;
    }
}
/* =========================================
   EAZYSOFT - TARIFS ET PRESTATIONS
   ========================================= */

.tarifs {
    background: #f4f7fb;
}

.tarifs h2 {
    text-align: center;
    margin-bottom: 15px;
}

.tarifs-intro {
    text-align: center;
    color: #526174;
    margin: 0 auto 40px;
    max-width: 650px;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.tarif-card {
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 6px 24px rgba(20, 45, 80, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20, 45, 80, 0.12);
}

.tarif-card h3 {
    color: #174c83;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.tarif-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.tarif-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f5;
    font-size: 0.94rem;
}

.tarif-list li span {
    flex: 1;
}

.tarif-list strong {
    color: #145ca1;
    white-space: nowrap;
    font-size: 1rem;
}

.tarif-sur-devis {
    font-size: 1.6rem;
    font-weight: 700;
    color: #145ca1;
    margin: 25px 0;
}

.tarif-button {
    display: block;
    margin-top: auto;
    padding: 13px 16px;
    background: #1765a8;
    color: #ffffff;
    border-radius: 9px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.tarif-button:hover {
    background: #104a7d;
    color: #ffffff;
}

.tarifs-note {
    text-align: center;
    margin-top: 30px;
    color: #526174;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .tarifs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tarifs-grid {
        grid-template-columns: 1fr;
    }

    .tarif-card {
        padding: 24px 20px;
    }
}


/* Correction de la lisibilité des tarifs */

.tarifs .tarif-card,
.tarifs .tarif-card p,
.tarifs .tarif-list li,
.tarifs .tarif-list li span {
    color: #334155;
}

.tarifs .tarif-list strong,
.tarifs .tarif-sur-devis {
    color: #145ca1;
}

.tarifs .tarifs-intro,
.tarifs .tarifs-note {
    color: #526174;
}


/* EAZYSOFT - FACEBOOK : BOUTON PLUS VISIBLE */

.footer .footer-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    margin: 20px auto;
    background-color: #1877f2;
    color: #ffffff;
    border: 2px solid #1877f2;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer .footer-facebook svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
    flex-shrink: 0;
}

.footer .footer-facebook:hover {
    background-color: #0d5fc1;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .footer .footer-facebook {
        padding: 12px 18px;
        font-size: 14px;
    }
}


/* =========================================
   EAZYSOFT - RESEAUX SOCIAUX HARMONISES
   ========================================= */

.footer a.footer-facebook,
.footer a.footer-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    min-width: 300px;
    min-height: 64px;
    padding: 14px 20px;
    margin: 10px;
    border-radius: 12px;
    border: 2px solid transparent;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.footer a.footer-facebook {
    background: #1877f2;
    border-color: #3890ff;
}

.footer a.footer-instagram {
    background: linear-gradient(
        45deg,
        #f58529,
        #dd2a7b,
        #8134af
    );
}

.footer a.footer-facebook svg,
.footer a.footer-instagram svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.footer a.footer-facebook:hover,
.footer a.footer-instagram:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .footer a.footer-facebook,
    .footer a.footer-instagram {
        min-width: 0;
        width: calc(100% - 20px);
        max-width: 340px;
        margin: 8px auto;
        font-size: 14px;
    }
}


/* =========================================
   EAZYSOFT - CORRECTION BOUTON TIKTOK
   ========================================= */

.footer a.footer-tiktok {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    min-width: 300px;
    min-height: 64px;
    padding: 14px 20px;
    margin: 10px;
    background: #161616;
    border: 2px solid #333333;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.footer a.footer-tiktok svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
    flex-shrink: 0;
}

.footer a.footer-tiktok:hover {
    background: #292929;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .footer a.footer-tiktok {
        min-width: 0;
        width: calc(100% - 20px);
        max-width: 340px;
        margin: 8px auto;
        font-size: 14px;
    }
}


/* =========================================
   EAZYSOFT - ESPACEMENT DES COORDONNEES
   ========================================= */

.footer .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 30px auto 35px;
}

.footer .footer-contact h3 {
    margin-bottom: 8px;
}

.footer .footer-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1.6;
}

.footer .footer-contact a svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}



/* ==========================================
   EAZYSOFT - MENTIONS LEGALES
   ========================================== */

.legal-page main .section {
    padding: 25px 0 30px;
}

.legal-page main .container {
    max-width: 1100px;
    width: 92%;
    margin: 0 auto;
}

.legal-page main {
    font-size: 14px;
    line-height: 1.45;
}

.legal-page main h1 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.legal-page main h2 {
    font-size: 18px;
    line-height: 1.3;
    margin: 14px 0 10px;
}

.legal-page main h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 10px 0 4px;
}

.legal-page main p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 8px;
}

.legal-page main ul {
    padding-left: 24px;
    margin: 6px 0 10px;
}

.legal-page main li {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 3px;
}

.legal-page main a {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .legal-page main .section {
        padding: 25px 0 25px;
    }

    .legal-page main h1 {
        font-size: 22px;
    }

    .legal-page main h2 {
        font-size: 18px;
    }
}


/* EAZYSOFT - INFORMATION RGPD DU FORMULAIRE */

.contact-form .contact-privacy {
    font-size: 12px;
    line-height: 1.5;
    margin: 10px 0 15px;
}

.contact-form .contact-privacy a {
    color: #00c9e8;
    text-decoration: underline;
}

#confidentialite {
    scroll-margin-top: 120px;
}


/* EAZYSOFT - LIENS LEGAUX DU PIED DE PAGE */

.footer .footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.footer .footer-legal a {
    color: #00c9e8;
    font-size: 12px;
    text-decoration: none;
}

.footer .footer-legal a:hover {
    text-decoration: underline;
}

.footer .footer-legal span {
    color: #bfd4e8;
}

/* Protection anti-spam - Honeypot */
.honeypot-field {
    position: absolute;
    left: -10000px;
}
