/* ============================================================
   TABLETTE — max-width: 1024px
   ============================================================ */
@media screen and (max-width: 1024px) {

    /* --- Hero (accueil) --- */
    .hero-container {
        height: auto;
        flex-wrap: wrap;
    }

    .paragraphe,
    .ilustration-hero {
        width: 100%;
    }

    .paragraphe p {
        width: 100%;
    }

    /* --- Nos expertises --- */
    .expertise {
        flex-wrap: wrap;
        gap: 30px;
        padding: 20px;
    }

    .web-container,
    .app-container {
        width: 45%;
    }

    .techno {
        flex-wrap: wrap;
        gap: 25px !important;
        row-gap: 25px;
    }

    /* --- Ce que l'on fait --- */
    .services {
        flex-wrap: wrap;
        gap: 30px;
    }

    .services-left,
    .services-right {
        width: 100%;
    }

    .services p {
        width: 100%;
    }

    .services-right img {
        height: 260px;
    }

    /* --- Notre processus --- */
    .processus-bottom {
        flex-wrap: wrap;
    }

    .card-processus {
        width: 100%;
    }

    /* --- Nos clients --- */
    .clients p {
        width: 100%;
    }

    /* --- Notre équipe --- */
    .team-container {
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 80px;
    }

    .team-description {
        width: 100%;
        padding-left: 0;
    }

    .team-section-right {
        width: 100%;
    }

    .team-section {
        max-width: 100%;
    }

    /* --- Footer --- */
    .footer-top {
        flex-wrap: wrap;
        gap: 30px;
    }

    /* --- Offre Web / Offre Logiciel --- */
    .hero-web,
    .hero-logiciel {
        flex-wrap: wrap;
        row-gap: 40px;
    }

    .hero-web-left,
    .hero-logiciel-left,
    .hero-web-right,
    .hero-logiciel-right {
        width: 100%;
    }

    .techno-web,
    .techno-logiciel {
        flex-wrap: wrap;
        gap: 30px;
    }

    .explication-web,
    .explication-logiciel {
        flex-wrap: wrap;
        margin-top: 60px;
        margin-bottom: 60px;
        row-gap: 40px;
    }

    .explication-web-left,
    .explication-logiciel-left,
    .explication-web-right,
    .explication-logiciel-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .services-web,
    .services-logiciel {
        flex-wrap: wrap;
    }

    .services-web-left,
    .services-logiciel-left,
    .services-web-right,
    .services-logiciel-right {
        width: 100%;
    }

    /* --- Projets --- */
    .cube-projets {
        flex: 0 1 calc(50% - 10px);
    }

    .container-card-projets {
        flex-wrap: wrap;
    }

    .container-card-projets-left,
    .container-card-projets-right {
        width: 100%;
        margin-left: 0;
    }
}


/* ============================================================
   MOBILE LARGE — max-width: 768px
   ============================================================ */
@media screen and (max-width: 768px) {

    /* --- Nav : uniquement logo à gauche + bouton à droite --- */
    nav ul {
        display: none;
    }

    nav {
        padding: 10px 15px;
    }

    nav img {
        height: 40px;
    }

    /* --- Hero (accueil) --- */
    .hero-container {
        margin: 15px;
        padding-top: 100px;
    }

    .hero-title img {
        height: 35px;
    }

    .paragraphe h1 {
        font-size: 28px;
    }

    .paragraphe p {
        font-size: 17px;
    }

    .ilustration-hero img {
        height: 220px;
        margin-top: 20px;
    }

    /* --- Nos expertises --- */
    .description-container h1 {
        margin-top: 80px;
        font-size: 34px;
    }

    .description-container p {
        font-size: 16px;
    }

    .expertise {
        padding: 15px;
    }

    .web-container,
    .app-container {
        width: 100%;
    }

    /* --- Nos technologies (grille alignée) --- */
    .competences {
        margin: 20px;
        padding: 10px;
    }

    .techno,
    .techno-web,
    .techno-logiciel {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: start;
        gap: 25px !important;
    }

    .techno-description {
        width: 100%;
    }

    /* --- Ce que l'on fait --- */
    .services {
        margin-top: 60px;
    }

    .services-right img {
        height: 200px;
    }

    /* --- Nos clients --- */
    .title-clients {
        flex-direction: column;
        gap: 15px;
    }

    .clients-projects .projects {
        flex-wrap: wrap;
        text-align: left;
    }

    .projects-info {
        width: 100%;
    }

    .btn-project {
        margin-top: 15px !important;
        align-self: flex-start;
    }

    /* --- Notre équipe --- */
    .team-container {
        margin: 60px 15px;
    }

    /* --- Footer --- */
    footer {
        padding: 20px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding-bottom: 20px;
    }

    .footer-col {
        width: 100%;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* --- Offre Web / Offre Logiciel --- */
    .hero-web,
    .hero-logiciel {
        padding-top: 100px;
        margin: 15px;
    }

    .hero-web-left,
    .hero-logiciel-left {
        text-align: center;
        padding-left: 0;
    }

    .hero-web-badge,
    .hero-logiciel-badge {
        margin: 0 auto 10px;
    }

    .hero-web-left a,
    .hero-logiciel-left a {
        margin: 20px auto 40px;
    }

    .hero-web-right,
    .hero-logiciel-right {
        margin-top: 10px;
    }

    .hero-web-text h1,
    .hero-logiciel-text h1 {
        font-size: 30px;
    }

    .hero-web-right img,
    .hero-logiciel-right img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 300px;
    }

    .techno-web,
    .techno-logiciel {
        gap: 20px;
    }

    .techno-web img,
    .techno-logiciel img {
        height: 55px;
        max-width: 100%;
    }

    .explication-web-left,
    .explication-logiciel-left {
        margin: 0 0 30px 0 !important;
    }

    .explication-web-left img,
    .explication-logiciel-left img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 260px;
        margin-top: 30px;
    }

    .explication-web-right,
    .explication-logiciel-right {
        margin: 0 !important;
    }

    .explication-web-right h1,
    .explication-logiciel-right h1 {
        font-size: 30px;
    }

    .services-web-left,
    .services-logiciel-left {
        margin: 15px 0;
    }

    .services-web-right,
    .services-logiciel-right {
        padding-top: 20px;
    }

    .services-web-right img,
    .services-logiciel-right img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 220px;
    }

    /* --- Projets --- */
    .container-projets {
        margin-top: 100px;
    }

    .cube-projets {
        flex: 0 1 100%;
    }

    .container-card-projets {
        margin: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .container-card-projets-right a {
        margin-top: 15px;
    }

    /* --- Contact --- */
    .form-title {
        margin-top: 90px;
        font-size: 38px;
    }

    .contact-form {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    /* --- Mentions légales --- */
    .mentions {
        margin-left: 15px;
        margin-right: 15px;
        padding: 3rem 1rem 4rem;
    }

    .mentions h1 {
        font-size: 26px;
    }
}


/* ============================================================
   MOBILE — max-width: 480px
   ============================================================ */
@media screen and (max-width: 480px) {

    nav img {
        height: 34px;
    }

    .btn-nav {
        padding: 6px 10px;
        height: auto;
        font-size: 14px;
    }

    /* --- Hero (accueil) --- */
    .hero-container {
        margin: 10px;
        padding-top: 90px;
    }

    .paragraphe {
        padding: 5px;
    }

    .paragraphe h1 {
        font-size: 24px;
    }

    .paragraphe h2 {
        font-size: 18px;
    }

    .paragraphe p {
        font-size: 15px;
        line-height: 28px;
    }

    .ilustration-hero img {
        height: 160px;
    }

    /* --- Nos expertises --- */
    .description-container h1 {
        font-size: 26px;
        margin-top: 60px;
    }

    .techno,
    .techno-web,
    .techno-logiciel {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px !important;
    }

    .techno-description img {
        height: 45px;
    }

    /* --- Ce que l'on fait --- */
    .services h1 {
        font-size: 26px;
    }

    .services p {
        line-height: 26px;
    }

    .services-right img {
        height: 160px;
    }

    /* --- Notre processus --- */
    .processus {
        margin: 20px;
    }

    .processus-top h1 {
        font-size: 26px;
    }

    /* --- Nos clients --- */
    .clients {
        margin: 60px 15px;
        padding: 10px;
    }

    .status {
        font-size: 0.65rem;
    }

    .tag-projects {
        flex-wrap: wrap;
    }

    /* --- Notre équipe --- */
    .team-title h1 {
        font-size: 20px;
    }

    .team-item {
        padding: 12px 8px;
    }

    .team-avatar {
        width: 40px;
        height: 40px;
    }

    /* --- Footer --- */
    .footer-logo img {
        height: 38px;
    }

    /* --- Offre Web / Offre Logiciel --- */
    .hero-web-text h1,
    .hero-logiciel-text h1 {
        font-size: 24px;
    }

    .hero-web-right img,
    .hero-logiciel-right img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 220px;
    }

    .techno-web,
    .techno-logiciel {
        gap: 15px;
    }

    .techno-web img,
    .techno-logiciel img {
        height: 45px;
        max-width: 100%;
    }

    .explication-web-left img,
    .explication-logiciel-left img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 200px;
    }

    .explication-web-right h1,
    .explication-logiciel-right h1 {
        font-size: 24px;
    }

    .services-web-right img,
    .services-logiciel-right img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 170px;
    }

    /* --- Projets --- */
    .cube-projets {
        padding: 15px;
    }

    .container-card-projets {
        margin: 10px;
        padding: 15px;
    }

    .container-card-projets-right h1 {
        font-size: 22px;
    }

    /* --- Contact --- */
    .form-title {
        font-size: 28px;
    }

    .contact-form {
        margin: 1.5rem 0.5rem;
        padding: 1.2rem;
    }

    /* --- Mentions légales --- */
    .mentions {
        margin-left: 10px;
        margin-right: 10px;
        padding: 2.5rem 0.75rem 3rem;
    }

    .mentions h1 {
        font-size: 22px;
    }

    .mentions h2 {
        font-size: 18px;
    }
}