@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: var(--color-text-dark);
}

@media (min-width: 769px) {

    .photo-contact {
        width: 100%;
        height: auto;
    }

    .photo-contact-tel {
        display: none;
    }

    .main-content {
        background-image: url('https://i.imgur.com/NMx9fzP.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        z-index: -1;
        margin-top: 0;
        color: #333;
    }

    header {
        position: absolute;
        top: 0px;
        left: -100px;
        height: 20px;
        width: 100%;
        z-index: 10;
        padding: 20px 50px;
        background-color: rgba(255, 255, 255, 0.5);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-socials-mobile,
    .menu-toggler,
    .main-nav-mobile {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .header-logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        gap: 15px;
        margin-right: auto;
        flex-shrink: 0;
        margin-left: 70px;
    }

    .logo-filou3 {
        height: 50px;
        width: auto;
        display: block;
    }

    .header-nom {
        color: #144b63;
        white-space: nowrap;
        font-size: clamp(10px, 12px, 14px);
        opacity: 0.9;
    }

    .main-nav-desktop ul {
        display: flex;
        list-style: none;
        gap: clamp(20px, 3vw, 50px);
        margin: 0;
        padding: 0;
    }

    .nav-img-link {
        color: transparent;
        text-decoration: none;
        display: block;
        position: relative;
    }

    .main-nav-desktop {
        display: flex;
    } 

    .main-nav-desktop a {
        text-decoration: none;
        color: #144b63;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s;
        opacity: 0.9;
    }

    .main-nav-desktop a.active {
        font-weight: bold;
    }

    .main-nav-desktop a B {
        font-weight: inherit;
    }

    .main-nav-desktop b {
        font-weight: inherit;
    }

    .main-nav-desktop a:hover {
        color: #EB7F2A;
        opacity: 1;
    }

    .contact-container.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .contact-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        margin-top: 70px;
        margin-bottom: 150px;
        opacity: 0;
        transform: translateY(30px);
        transition: transform 0.6s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease-in-out;
    }

    .contact-nom {
        display: flex;
        color: #144b63;
        font-size: 28px;
        margin-top: 100px;
        width: 100%;
        justify-content: center;
        align-items: center; 
    }

    .contact-content {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .contact-info {
        flex: 1;
        padding: 30px;
        background-color: #FCFAF7;
        border-radius: 30px;
    }

    .logo_baseline-tel {
        display: none;
    }

    .logo-marcial_nom-tel {
        display: none;
    }

    .logo_baseline {
        display: block;
        text-align: center; 
        margin-top: -285px; 
        width: 50%; 
        margin-left: 0; 
        margin-right: auto;
    }

    .logo-marcial_nom {
        height: 220px;
        display: block; 
        margin: 0 auto;
    }

    .info-group {
        margin-bottom: 15px;
        line-height: 1.5;
        color: #144b63;
    }

    .info-label {
        color: #144b63;
        font-weight: bold;
        display: inline;
        margin-right: 5px;
    }

    .email-link {
        color: #144b63;
        text-decoration: none;
        font-weight: normal;
    }

    .social-links {
        margin-top: 30px;
        margin-bottom: 50px;
        display: flex;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        background-color: #144b63; 
        border-radius: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: background-color 0.4s;
    }

    .social-icon:hover {
        width: 40px;
        height: 40px;
        background-color: #EB7F2A; 
        border-radius: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .instagram {
        color: #fff;
    }

    .facebook {
        color: #fff;
    }

    .mail {
        color: #fff; 
    }

    .logo-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-image {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
    }

    .contact-form-area {
        flex: 1;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 20px;
        border: none;
        box-sizing: border-box;
        font-size: 16px;
        color: hsla(199, 66%, 23%, 0.2);
        background-color: #FCFAF7;
        border-radius: 4px;
    }

    .contact-form textarea {
        resize: vertical;
        padding-top: 15px;
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }   

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none; 
        border: 1px solid #EB7F2A; 
        box-shadow: 0 0 0 2px rgba(235, 127, 42, 0.2); 
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: hsla(199, 66%, 23%, 0.3);
        font-style: normal;
    }

    .contact-form button[type="submit"] {
        display: block;
        float: right;
        padding: 12px 30px;
        background-color: #FCFAF7;
        color: #144b63;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: bold;
        transition: background-color 0.4s;
    }

    .contact-form button[type="submit"]:hover {
        background-color: #EB7F2A;
    }

    .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #E8E8E8;
        color: #333;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: none; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        width: calc(100% - 100px);
        max-width: none;
        text-align: center;
    }

    h6 {
        font-size: 18px;
        font-weight: normal;
    }

    .cookie-buttons { margin-top: 15px; display: flex; gap: 10px; justify-content: center; }

    .btn-accept { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }
    .btn-refuse { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }

    .map-placeholder {
        width: 100%; height: 100%;
        background: #f0f0f0;
        display: flex; align-items: center; justify-content: center;
        text-align: center; padding: 20px;
    }

    .btn-info {
        font-size: 0.85em;
        color: #144b63;
        text-decoration: none;
        align-self: center;
        padding: 10px;
        transition: opacity 0.3s;
    }

    .btn-info:hover {
        opacity: 0.7;
    }

    footer {
        width: 100%;
        padding: 30px 0;
        background-color: #fff;
        display: flex;
        justify-content: center;
        border-top: 1px solid #eee;
        z-index: 9999;
    }

    .main-nav {
        width: 100%;
        max-width: 1200px; 
        padding: 0 20px;
    }

    .main-nav ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .main-nav ul li {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .main-nav ul li:nth-child(1) { justify-content: flex-start; }
    .main-nav ul li:nth-child(2) { justify-content: flex-start; flex: 0.8; }
    .main-nav ul li:last-child    { justify-content: flex-end; }

    .footer-socials {
        flex: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .icon-fb {
        margin-right: 40px !important;
    }

    .icon-in {
        margin-right: 80px !important;
    }

    .footer-socials a {
        text-decoration: none;
        color: #000;
        font-size: 1.2em;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .logo_footer {
        display: flex !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .logo_footer img {
        height: 30px;
        width: auto;
        transition: all 0.3s ease;
    }

    .main-nav a, .main-nav span {
        text-decoration: none;
        color: #000;
        font-size: 0.9em;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .main-nav a:hover, 
    .footer-socials a:hover, 
    .logo_footer img:hover {
        color: #EB7F2A !important;
        transform: translateY(-5px) !important;
    }

}



































@media (max-width: 768px) {

    body, html {
        overflow-x: hidden; 
        font-size: 14px; 
    }
    
    header {
        position: absolute;
        box-sizing: border-box;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        padding: 10px 20px;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: flex; 
        justify-content: space-between; 
        align-items: center;
    }

    .photo-contact {
        display: none;
    }

    .photo-contact-tel {
        display: block; 
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto; 
        overflow: hidden;
    }

    .contact-nom {
        display: flex;
        color: #144b63;
        font-size: 18px;
        margin-top: 122px;
        width: 100%; 
        justify-content: center;
        align-items: center; 
    }

    .main-content {
        margin-top: 0 !important; 
    }

    .main-nav-desktop {
        display: none;
    }
    
    .header-nom {
        display: block;
        color: #144b63;
        font-size: 0.7em;
        margin-left: 0px;
        flex-grow: 1;
        text-align: left;
    }

    .header-logo-link {
        display: flex; 
        align-items: center;
        flex-grow: 0; 
        flex-shrink: 0;
        text-decoration: none;
    }

    .logo-filou3 {
        height: 30px;
        margin-left: -10px;
    }
    
    .menu-toggler {
        position: relative;
        display: flex; 
        flex-direction: column;
        justify-content: space-around;
        height: 25px; 
        width: 30px; 
        padding: 0;
        margin: 0;
        font-size: initial; 
        z-index: 1600;
    }

    .menu-toggler .bar {
        display: block;
        width: 100%;
        height: 3px; 
        background-color: #144b63; 
        transition: all 0.3s ease-in-out; 
        transform-origin: center; 
        z-index: 2500;
    }

    .menu-toggler.open .top-bar {
        transform: rotate(45deg) translate(7px, 7px); 
    }

    .menu-toggler.open .middle-bar {
        opacity: 0;
    }

    .menu-toggler.open .bottom-bar {
        transform: rotate(-45deg) translate(5px, -5px);
    }
        
    .main-nav-mobile {
        position: fixed;
        top: 0; 
        left: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        /* On le cache à DROITE de l'écran */
        transform: translateX(100%); 
        transition: transform 0.4s ease-in-out; 
        
        z-index: 2000;
        display: block;
        overflow-y: auto; 
    }




    
    .main-nav-mobile.open {
        transform: translateX(0); 
        top: 0; 
    }

    .main-nav-mobile .close-btn {
        display: none;
    }
   
    
    .main-nav-mobile ul {
        list-style: none;
        padding: 100px 40px; 
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
 
    .main-nav-mobile li {
        margin: 15px 0 0 0; 
        padding-bottom: 35px; 
    }

    .main-nav-mobile li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
 
    .main-nav-mobile a {
        color: #144b63;
        text-decoration: none;
        font-size: 1.8em;
        padding: 0 20px 0 0; 
        display: block;
        transition: color 0.3s;
    }

    .main-nav-mobile a:hover {
        color: #f7931e;
    }

    .logo-filou32 {
        height: 180px; 
        width: auto;
        margin-left: -30px;
        margin-top: -200px;
        margin-bottom: 70px;
        z-index: 1560;
    }
   
    .contact-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
        opacity: 0; 
        transform: translateY(30px); 
        transition: transform 0.6s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease-in-out;
    }

    .contact-container.is-visible {
        opacity: 1;
        transform: translateY(0); 
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: flex-start; 
    }

    .contact-info {
        flex: 1; 
        padding: 30px;
        background-color: #FCFAF7; 
        border-radius: 30px; 
    }

    .logo_baseline {
        display: none;
    }

    .logo-marcial_nom {
        display: none;
    }

    .logo_baseline-tel {
        display: block; 
        width: 50%; 
        margin-left: auto; 
        margin-right: auto; 
        margin-top: 30px;
        text-align: center; 
    }

    .logo-marcial_nom-tel {
        height: 70px;
        width: auto; 
        display: block; 
        margin-left: auto; 
        margin-right: auto; 
    }

    .info-group {
        margin-bottom: 15px;
        line-height: 1.5;
        color: #144b63;
    }

    .info-label {
        color: #144b63;
        font-weight: bold;
        display: inline; 
        margin-right: 5px;
        text-decoration: none;
    }

    .email-link {
        color: #144b63; 
        text-decoration: none;
        font-weight: normal;
    }

    .social-links {
        margin-top: 30px;
        margin-bottom: 50px;
        display: flex;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        background-color: #144b63; 
        border-radius: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: background-color 0.4s;
    }

    .social-icon:hover {
        width: 40px;
        height: 40px;
        background-color: #EB7F2A; 
        border-radius: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .instagram {
        color: #fff;
    }

    .facebook {
        color: #fff;
    }

    .mail {
        color: #fff; 
    }

    .logo-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-image {
        width: 100px; 
        height: auto;
        margin-bottom: 10px;
    }

    .contact-form-area {
        flex: 1;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 20px;
        border: none;
        box-sizing: border-box;
        font-size: 16px;
        color: hsla(199, 66%, 23%, 0.2);
        background-color: #FCFAF7; 
        border-radius: 4px;
    }

    .contact-form textarea {
        resize: vertical;
        padding-top: 15px;
        height: 400px;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none; 
        border: 1px solid #EB7F2A; 
        box-shadow: 0 0 0 2px rgba(235, 127, 42, 0.2); 
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: hsla(199, 66%, 23%, 0.3); 
        font-style: normal;
    }

    .contact-form button[type="submit"] {
        display: block;
        float: right; 
        padding: 12px 30px;
        background-color: #FCFAF7; 
        color: #144b63;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: bold;
        transition: background-color 0.4s;
    }

    .contact-form button[type="submit"]:hover {
        background-color: #EB7F2A; 
    }

    .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #E8E8E8;
        color: #333; 
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: none; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        width: calc(100% - 100px); 
        max-width: none; 
        text-align: center;
    }

    h6 {
        font-size: 18px;
        font-weight: normal;
    }

    .cookie-buttons { margin-top: 15px; display: flex; gap: 10px; justify-content: center; }

    .btn-accept { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }
    .btn-refuse { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }

    .map-placeholder {
        width: 100%; height: 100%;
        background: #f0f0f0;
        display: flex; align-items: center; justify-content: center;
        text-align: center; padding: 20px;
    }

    .btn-info {
        font-size: 0.85em;
        color: #144b63; 
        text-decoration: none;
        align-self: center; 
        padding: 10px;
        transition: opacity 0.3s;
    }

    .btn-info:hover {
        opacity: 0.7;
    }

    footer {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .main-nav ul {
        flex-direction: column; 
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    
    .main-nav li {
        text-align: center;
        width: 100%;
    }
    
    .main-nav a, .main-nav span {
        font-size: 0.85em;
        color: #144b63; 
        white-space: normal; 
    }

    footer {
        width: 100%;
        padding: 20px 10px;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 999;
    }

    .main-nav {
        width: 100%;
        max-width: 1200px;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column; 
        gap: 20px;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-socials {
        display: flex !important;
        flex-direction: row !important; 
        flex-wrap: wrap; 
        justify-content: center;
        align-items: center;
        gap: clamp(10px, 3vw, 20px); 
        width: 100%;
    }

    .footer-socials a {
        font-size: clamp(1.1em, 4vw, 1.4em); 
        color: #000000;
        text-decoration: none;
        display: inline-block;
    }

    .logo_footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: clamp(8px, 2vw, 15px); 
    }

    .logo_footer img {
        height: clamp(25px, 6vw, 40px) !important;
        width: auto !important;
        object-fit: contain;
    }

    .main-nav a,
    .main-nav span {
        text-decoration: none;
        color: #000000;
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        text-align: center;
    }

    .logo_footer {
        margin-top: 0;
    }

}