@font-face {
    font-family: 'Poppins-Regular';
    src: url('fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*RESET et BASE*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins-Regular', Arial, sans-serif;
    background-color: #ffffff;
    color: #217099;
}

/*HEADER et NAVIGATION*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ee5424;
    z-index: 1000;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}


nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #217099;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: #ee5424;
}

p {
    color: black;
    font-size: 1 rem;
    font-family: 'Poppins-Regular', Arial, sans-serif;
}

/*HERO*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 40px 60px;
    background: #faf0ee;
    position: relative;
}

.hero h1 {
    font-size: 2.3rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.4;
    max-width: 1400px;
    color: #217099;
    text-transform: none;
}

.hero h1 span {
    color: #ee5424;
}

/*SECTIONS GÉNÉRALES*/
.section-wrapper {
    background-color: #ffffff;
}

.section-wrapper.dark {
    background-color: #faf0ee;
}

section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #217099;
    margin-bottom: 50px;
    border-bottom: 1px solid #ee5424;
    padding-bottom: 15px;
}

.image2 {
    float: right;
}

/*À PROPOS*/
.propos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.propos-card {
    background: #ffffff;
    border: 1px solid #ee5424;
    padding: 150px;
    transition: border-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: left;
    padding-top: 10px;
    padding-bottom: 50px;
    margin-top: 10px;
    margin-bottom: -100px;
}

.propos-card img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: top;
    filter: grayscale(20%);
    margin-bottom: 50px;
    border: 1px solid #ee5424;
    padding: 10px;
}

.propos-card h3 {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ee5424;
    border-top: 1px solid #ee5424;
    border-bottom: 1px solid #ee5424;
    padding: 8px 15px;
    margin: 10px -15px;
}

.propos-card-img-wrapper {
    width: 38%;
    margin: 50px auto;
    overflow: hidden;
    margin-bottom: -15px;
}

.propos-card-content {
    padding: 10px;
}

/*SERVICES*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.services-card {
    background: #ffffff;
    border: 1px solid #ee5424;
    padding: 30px;
    transition: border-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: left;
}

.services-card:hover {
    border-color: #a7a7ab;
}

.services-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 20px;
    filter: grayscale(20%);
}

.services-card h3 {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ee5424;
    border-top: 1px solid #ee5424;
    border-bottom: 1px solid #ee5424;
    padding: 8px 15px;
    margin: 10px -15px;
}

.services-info {
    list-style: none;
    margin-bottom: 20px;
}

.services-info li {
    color: #217099;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}

.services-info li:last-child {
    border-bottom: none;
}

.services-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.services-links a {
    color: #a7a7ab;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-align: center;
}

.services-links a:hover {
    color: #217099;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.card-link:hover .services-card {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

/*SOUTIEN*/
.soutien-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.soutien-card {
    background: #ffffff;
    border: 1px solid #ee5424;
    padding: 30px;
    text-align: center;
    transition: border-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.soutien-card:hover {
    border-color: #a7a7ab;
}

.soutien-card h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #217099;
    margin-bottom: 10px;
}

.soutien-card p {
    color: #a7a7ab;
    font-size: 1rem;
}

/*VALEURS*/

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    text-align: center;
}

.valeurs-card:first-child {
    grid-column: 3 / 5;
    grid-row: 1;
}

.valeurs-card:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 2;
}

.valeurs-card:nth-child(3) {
    grid-column: 3 / 5;
    grid-row: 2;
}

.valeurs-card:nth-child(4) {
    grid-column: 5 / 7;
    grid-row: 2;
}

.valeurs-card {
    background: #ffffff;
    border: 1px solid #ee5424;
    overflow: hidden;
    transition: border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 300px;  
}

.valeurs-card:hover {
    border-color: #a7a7ab;
}

.valeurs-card img {
    width: calc(100% - 30px);
    height: 200px;
    object-fit: cover;
    border: 1px solid #ee5424;
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
}

.valeurs-card:first-child img {
    width: 80%;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ee5424;
}

.valeurs-card-img-wrapper {
    width: 60%;
    margin: 15px auto;
    overflow: hidden;
    margin-bottom: -15px;
}

.valeurs-card-content {
    padding: 0px;
}

.valeurs-card h3 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #217099;
}

.valeurs-card .date {
    color: #a7a7ab;
    font-size: 0.8rem;
}

/*CONTACT*/
.contact-section {
    text-align: center;
}

.contact-section .section-title {
    text-align: left;
}

.contact-section h1 {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ee5424;
}

.contact-content p {
    color: #217099;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.8;
}

.btn-contact {
    display: inline-block;
    background: #ee5424;
    color: #ffffff;
    padding: 10px 30px;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background 0.3s;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn-contact:hover {
    background: white;
    color: #ee5424;
}

.email-form input {
    border: 1px solid #ee5424;
    outline: none;
}

/*FOOTER*/
footer {
    background: white;
    border-top: 1px solid #ee5424;
    text-align: center;
    padding: 30px;
    color: #a7a7ab;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/*MENTIONS LÉGALES*/
.donnees-section {
    text-align: left;
}

.donnees-section h3 {
    color: #ee5424;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.donnees-section p {
    color: #217099;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

/*BURGER MENU*/
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #217099;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/*RESPONSIVE 768px*/
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .burger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #ee5424;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 10px 0;
    }

    nav.open {
        display: flex;
    }

    nav a {
        font-size: 0.8rem;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .hero h2 {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    section {
        padding: 60px 20px;
    }

    .produits-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-card img {
        height: 200px;
        justify-content: center;
    }

    .projets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .projets-card:nth-child(1),
    .projets-card:nth-child(2) {
        grid-column: span 1;
    }

    .projets-card:nth-child(1) img,
    .projets-card:nth-child(2) img {
        width: 80%;
        height: auto;
    }

    .projets-card {
        padding: 12px;
    }

    .projets-card-img-wrapper {
        width: 80%;
    }

    .soutien-grid {
        grid-template-columns: 1fr;
    }

    .valeurs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .valeurs-card:first-child,
    .valeurs-card:nth-child(2),
    .valeurs-card:nth-child(3),
    .valeurs-card:nth-child(4),
    .valeurs-card:nth-child(5) {
        grid-column: span 1;
        grid-row: auto;
    }

    .valeurs-card {
        height: auto;
        min-height: 250px;
    }

    .valeurs-card img {
        height: 150px;
    }

    .valeurs-card:first-child img {
        height: 150px;
    }

    .email-form {
        width: 100%;
        padding: 0 15px;
    }

    .email-form input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-section h1 {
        font-size: 0.75rem;
        letter-spacing: 1px;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .propos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .propos-card {
        padding: 15px;
    }

    .propos-card img {
        max-height: 300px;
    }

    .propos-card-img-wrapper {
        width: 70%;
    }

    .propos-card h3 {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}

/*RESPONSIVE 480px*/
@media (max-width: 480px) {
    header {
        padding: 12px 15px;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding: 90px 20px 40px;
    }

    .hero h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero h2 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .produit-card {
        padding: 25px 20px;
    }

    .produit-card h3 {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .services-card img {
        height: 160px;
    }

    .projets-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .projets-card:nth-child(1),
    .projets-card:nth-child(2),
    .projets-card:nth-child(3),
    .projets-card:nth-child(4),
    .projets-card:nth-child(5),
    .projets-card:nth-child(6) {
        grid-column: span 1;
    }

    .projets-card:nth-child(1) img,
    .projets-card:nth-child(2) img {
        width: 70%;
        height: auto;
    }

    .projets-card-img-wrapper {
        width: 85%;
    }

    .projets-card h4 {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .soutien-card {
        padding: 20px 15px;
    }

    .valeurs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .valeurs-card {
        height: auto;
        min-height: 200px;
    }

    .valeurs-card img {
        height: 120px;
    }

    .valeurs-card:first-child img {
        height: 120px;
    }

    .valeurs-card-content {
        padding: 12px;
    }

    .valeurs-card h3 {
        font-size: 0.8rem;
    }

    .contact-content p {
        font-size: 0.9rem;
    }

    .contact-section h1 {
        font-size: 0.65rem;
        letter-spacing: 0px;
    }

    .btn-contact {
        padding: 10px 20px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    footer {
        padding: 20px 15px;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    .propos-card {
        padding: 10px;
    }

    .propos-card img {
        max-height: 250px;
    }

    .propos-card-img-wrapper {
        width: 90%;
    }

    .propos-card h3 {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

/*ANIMATIONS REVEAL*/
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.from-left {
    transform: translateX(-60px);
}

.reveal.from-right {
    transform: translateX(60px);
}

.reveal.zoom {
    transform: scale(0.85);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}