/*!
Theme Name: m2-photographie
Description: Thème sur-mesure Photographe & Borne Selfie
Version: 2.0.0
*/

/* =========================================
   1. RESET UNIVERSEL (INDISPENSABLE)
   ========================================= */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.front-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 300;
	text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 70px 0px;
}
.front-subtitle {
    display: block;
	text-align: center;
	font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* =========================================
   BLOG
   ========================================= */

.container {
    width: 100%;
    max-width: 1200px; /* Ajuste cette valeur selon la largeur souhaitée */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Centre l'image de mise en avant */
.featured-image-container {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.featured-image-container img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* =========================================
   2. TOP-BAR (CONTACT & INSTA)
   ========================================= */
.top-bar {
    background-color: #ffffff;
    color: #000000;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.top-bar .header-inner {
    flex-direction: row; 
    justify-content: flex-start;
    gap: 15px;
}

.top-bar a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
}

.top-bar a:hover { color: #828282; }

.top-bar svg {
    stroke: currentColor;
    transition: transform 0.5s ease;
}

.top-bar a:hover svg { transform: rotate(10deg) scale(1.1); }

/* =========================================
   3. HEADER & NAVIGATION (DESKTOP)
   ========================================= */

.site-header {
    background-color: #ffffff;
    color: #000000;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- LOGO --- */
.site-branding {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.custom-logo-link img {
    display: block;
    max-height: 100px;
    width: auto;
    margin: 0 auto;
}

/* --- MENU PRINCIPAL (Niveau 1) --- */
.main-navigation {
    width: 100%;
    text-align: center;
}

/* Le selecteur > assure qu'on ne touche pas aux sous-menus ici */
.main-navigation > div > ul, 
.main-navigation > ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #000000;
    position: relative;
    padding: 5px 0;
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

/* Animation trait souligné "L" */
.main-navigation > div > ul > li > a::before,
.main-navigation > ul > li > a::before {
    content: "";
    position: absolute;
    left: -8px;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation a:hover { color: #828282; }

.main-navigation > div > ul > li > a:hover::before,
.main-navigation > ul > li > a:hover::before {
    width: 100%;
    height: 10px;
    border-bottom-color: #828282;
    border-left-color: #828282;
}

/* =========================================
   4. SOUS-MENUS (NIVEAUX 2 ET 3)
   ========================================= */

@media screen and (min-width: 901px) {

    /* Tous les <li> (Niveau 1 et 2) doivent être des repères */
    .main-navigation li {
        position: relative;
    }

    /* --- NIVEAU 2 : Le premier sous-menu (En dessous et centré) --- */
    .main-navigation ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px); /* Centré en bas + décalé */
        
        background-color: #ffffff;
        min-width: 220px;
        padding: 15px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 4px;
        z-index: 9999;
        text-align: left;
        
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    /* --- NIVEAU 3 : Le sous-sous-menu (À DROITE !) --- */
    .main-navigation ul.sub-menu ul.sub-menu {
        top: 0; /* Aligné en haut de la ligne survolée */
        left: 100%; /* Poussé 100% à droite de la boîte parent ! */
        transform: translateX(15px) translateY(0); /* Décalé un peu à droite pour l'animation */
    }

    /* --- ANIMATIONS AU SURVOL --- */
    
    /* Apparition de base */
    .main-navigation li:hover > ul.sub-menu,
    .main-navigation li:focus-within > ul.sub-menu {
        opacity: 1;
        visibility: visible;
    }

    /* Animation Niveau 2 (Remonte au centre) */
    .main-navigation > div > ul > li:hover > ul.sub-menu,
    .main-navigation > ul > li:hover > ul.sub-menu {
        transform: translateX(-50%) translateY(0);
    }

    /* Animation Niveau 3 (Vient de la droite et se colle) */
    .main-navigation ul.sub-menu li:hover > ul.sub-menu {
        transform: translateX(0) translateY(0);
    }

    /* --- STYLE DES LIENS --- */
    .main-navigation ul.sub-menu li {
        display: block;
        margin: 0;
        width: 100%;
    }

    .main-navigation ul.sub-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 0.85rem;
        color: #555;
        white-space: nowrap;
        border: none;
        letter-spacing: 1px;
        text-transform: none; /* Respecte les majuscules/minuscules */
        position: relative; /* Pour placer les flèches */
    }

    .main-navigation ul.sub-menu a::before { display: none; } /* Enlève le trait "L" */

    .main-navigation ul.sub-menu a:hover {
        background-color: #f9f9f9;
        color: #1a1a1a;
    }

    /* --- LES FLÈCHES D'INDICATION --- */
    
    /* Flèche bas (▾) sur le Niveau 1 */
    .main-navigation > div > ul > .menu-item-has-children > a::after,
    .main-navigation > ul > .menu-item-has-children > a::after {
        content: " ▾";
        font-size: 0.8em;
        position: relative;
        top: -1px;
        margin-left: 5px;
    }

    /* Flèche droite (▸) sur le Niveau 2 */
    .main-navigation ul.sub-menu .menu-item-has-children > a {
        padding-right: 35px; /* Laisse de la place pour la flèche */
    }
    
    .main-navigation ul.sub-menu .menu-item-has-children > a::after {
        content: " ▸";
        position: absolute;
        right: 15px; /* Colle la flèche tout à droite du carré blanc */
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }

} /* --- FIN DU MEDIA QUERY DESKTOP --- */

    /* =========================================
       FIX UX : SOUS-SOUS-MENUS (NIVEAU 3)
       ========================================= */

    /* 1. On cible les listes de niveau 3 (ul dans un ul dans un ul) */
    .main-navigation ul ul ul {
        top: 0;          /* Aligné avec le haut du lien que tu survoles */
        left: 100%;      /* Poussé à 100% sur la droite de la boîte blanche parent */
        
        /* On modifie l'animation pour qu'il arrive de la droite, pas d'en bas */
        transform: translateX(15px) translateY(0); 
    }

    /* 2. Au survol, il se colle parfaitement à droite (Animation spécifique Niveau 3) */
    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li:focus-within > ul {
        transform: translateX(0) translateY(0);
    }

    .main-navigation ul ul .menu-item-has-children > a::after {
        content: " ▸";       /* Petite flèche vers la droite */
        position: absolute;  
        right: 15px;         
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;      /* Annule la marge du Niveau 1 */
    }
    
    /* On donne un peu de padding à droite pour que le texte ne touche pas la flèche */
    .main-navigation ul ul .menu-item-has-children > a {
        padding-right: 35px; 
    }

 /* Fin du @media screen Desktop */

/* =========================================
   5. MENU MOBILE - VERSION ACCORDÉON
   ========================================= */

.menu-toggle { display: none; }

@media screen and (max-width: 900px) {

    /* --- BOUTON BURGER --- */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
        background: transparent;
        border: none;
        z-index: 2100;
        cursor: pointer;
    }
    .menu-toggle .bar {
        display: block;
        width: 22px;
        height: 1px; /* Ligne fine élégante */
        background-color: #000;
        margin: 6px 0;
        transition: 0.3s;
    }

    /* --- PANNEAU DE NAVIGATION --- */
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 2000;
        padding: 100px 0 100px 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
        overflow-y: auto;
    }

    .menu-open .main-navigation {
        opacity: 1;
        visibility: visible;
    }

    /* --- LISTES & LIENS --- */
    .main-navigation ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .main-navigation li {
        position: relative;
        border-bottom: 1px solid #f9f9f9;
    }

    .main-navigation a {
        display: block;
        padding: 18px 30px;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #1a1a1a;
        font-weight: 500;
    }

    /* --- SOUS-MENUS (CACHÉS PAR DÉFAUT) --- */
    .main-navigation ul.sub-menu {
        display: none; /* C'est le JS qui va l'ouvrir */
        background: #fafafa;
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        transform: none;
    }

    .main-navigation ul.sub-menu a {
        padding-left: 45px;
        font-size: 0.85rem;
        text-transform: none;
        letter-spacing: 1px;
        color: #666;
    }

    .main-navigation ul.sub-menu ul.sub-menu a {
        padding-left: 65px;
        font-size: 0.8rem;
        color: #999;
    }

    /* --- LE BOUTON TOGGLE [+] --- */
    /* On ajoute un bouton à droite pour déplier sans forcément cliquer sur le lien */
    .dropdown-toggle {
        position: absolute;
        right: 10px;
        top: 0;
        width: 55px;
        height: 55px; /* Zone de clic large pour les doigts */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
    }

    .dropdown-toggle::after {
        content: '+';
        font-size: 1.5rem;
        font-weight: 300;
        transition: transform 0.3s;
    }

    .dropdown-toggle.toggled::after {
        content: '−'; /* Signe moins quand ouvert */
        transform: rotate(180deg);
    }

    /* Animation Burger vers Croix */
    .menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .menu-open { overflow: hidden; }
}

/* =========================================
   7. BOUTON CONTACT (CTA)
   ========================================= */
.btn-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
	padding: 25px 0px;
    margin-bottom: 50px;
}

.btn-cta {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    height: 70px;
    padding: 0 25px;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta:hover {
    transform: scale(1.05);
    color: #828282;
    border-color: #828282;
}

/* =========================================
   DOUBLE CTA (BOUTONS)
   ========================================= */

.cta-wrapper {
    display: flex;           /* Active l'alignement côte à côte */
    justify-content: center; /* Centre le groupe */
    align-items: center;
    gap: 20px;               /* Espace entre les deux boutons */
    flex-wrap: wrap;         /* Permet de passer à la ligne si écran trop petit */
}

/* Base commune des boutons (Taille, Police...) */
.btn-cta {
    height: 60px;            /* Un peu plus fin pour l'élégance */
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* STYLE 1 : PRINCIPAL (Noir plein) */
/* Si tu n'as pas mis de classe spécifique avant, .btn-cta garde ce style par défaut */
.btn-cta.btn-primary, 
.btn-cta:not(.btn-secondary) { 
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.btn-cta.btn-primary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* STYLE 2 : SECONDAIRE (Fond blanc / Bordure noire) */
.btn-cta.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.btn-cta.btn-secondary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* RESPONSIVE MOBILE */
@media screen and (max-width: 600px) {
    .cta-wrapper {
        flex-direction: column; /* On empile les boutons sur mobile */
        gap: 15px;
    }
    
    .btn-cta {
        width: 100%; /* Boutons pleine largeur sur mobile */
        max-width: 300px; /* Pas trop larges non plus */
    }
}

/* =========================================
   8. GALERIE 3 CARRÉS
   ========================================= */
.square-gallery-section {
    padding: 50px 20px;
    background-color: #ffffff;
}

.gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.square-item {
    width: 100%;
    max-width: 250px;
}

.square-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.square-item img:hover { transform: scale(1.03); }

/* Responsive Galerie */
@media screen and (max-width: 900px) {
    .gallery-inner { flex-direction: column; align-items: center; }
}

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 100px 20px 60px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin: 0 0 10px 0;
}

.footer-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    margin: 0;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-navigation a {
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.footer-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #000;
    transition: all 0.3s ease;
}
.footer-navigation a:hover::after { width: 100%; left: 0; }

.footer-socials-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 10px;
}

.footer-socials-icons a {
    color: #000000;
    transition: all 0.3s ease;
}
.footer-socials-icons a:hover {
    color: #525252;
    transform: translateY(-3px);
}
.footer-socials-icons svg { stroke-width: 1.2px; }

.site-info {
    font-size: 0.7rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
}

@media screen and (max-width: 900px) {
    .site-footer { padding: 60px 20px; }
    .footer-logo { font-size: 1.5rem; letter-spacing: 4px; }
    .footer-navigation ul { flex-direction: column; gap: 15px; }
    
    /* Top bar centré mobile */
    .top-bar .header-inner { justify-content: center; flex-wrap: wrap; }
    .site-header { padding: 15px 0; }
    .custom-logo-link img { max-height: 60px; }
}

/* Style du bloc SEO dans le footer */
.footer-seo-links {
    text-align: center;
    margin: 30px 0;
}

.footer-seo-links .seo-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.footer-seo-links .seo-cities {
    font-size: 13px;
    color: #b3b3b3;
}

.footer-seo-links .seo-cities a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-seo-links .seo-cities a:hover {
    color: #000;
}

/* =========================================
   10. PAGE À PROPOS
   ========================================= */

.apropos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background-color: #fff;
}

.apropos-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.apropos-image-col {
    flex: 1;
    width: 50%;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.apropos-content-col {
    flex: 1;
    padding-left: 20px;
}

.apropos-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.2;
}

.apropos-separator {
    width: 60px;
    height: 4px;
    background-color: #a6a6a6;
    margin-bottom: 30px;
}

.apropos-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.apropos-body {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.apropos-content-col .btn-simple {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.apropos-content-col .btn-simple:hover {
    background-color: #000;
    color: #fff;
}

.apropos-stats {
    background-color: #f9f9f9;
    padding: 60px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #a6a6a6;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    font-weight: 600;
}

/* RESPONSIVE PAGE À PROPOS */
@media screen and (max-width: 900px) {
    .apropos-hero {
        flex-direction: column;
        gap: 40px;
    }
    .apropos-image-col, 
    .apropos-content-col {
        width: 100%;
        flex: none;
        padding: 0;
    }
    .image-wrapper img {
        box-shadow: 10px 10px 0px rgba(255, 202, 40, 0.2);
    }
    .apropos-title { font-size: 2rem; }
    .stats-grid { flex-direction: column; gap: 40px; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================
   PAGE CONTACT
   ========================================= */

.contact-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* EN-TÊTE */
.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.contact-subtitle { color: #666; font-size: 0.95rem; }
.contact-subtitle a { border-bottom: 1px solid #ffca28; }

/* --- GRILLE DU FORMULAIRE --- */
.cf7-form-wrapper {
    width: 100%;
}

.cf7-row {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* Espace entre colonnes */
    margin-bottom: 30px;
}

.cf7-col {
    flex: 1; /* 50% chacun */
    position: relative;
}

.cf7-col.full-width {
    flex: 100%;
}

/* --- LABELS (TEXTE AU DESSUS) --- */
.cf7-form-wrapper label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

/* --- CHAMPS (INPUTS STYLE LIGNE) --- */
/* On cible tous les types de champs générés par CF7 */
.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc; /* La ligne grise */
    border-radius: 0;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #000;
    outline: none;
    transition: border 0.3s ease;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-bottom: 1px solid #ffca28;
}

/* --- BOUTON ENVOYER --- */
.cf7-submit-row {
    text-align: center;
    margin-top: 50px;
}

button.wpcf7-submit {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #1a1a1a;
    padding: 15px 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none; /* Fix pour iPhone */
}

button.wpcf7-submit:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* --- MESSAGES D'ERREUR/SUCCÈS --- */
.wpcf7-not-valid-tip {
    font-size: 0.7rem;
    color: #e74c3c;
    margin-top: 5px;
}
.wpcf7-response-output {
    border: none !important;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 30px;
}

/* RESPONSIVE MOBILE */
@media screen and (max-width: 768px) {
    .cf7-row {
        flex-direction: column; /* On empile tout */
        gap: 30px;
    }
    
    .contact-title { font-size: 1.8rem; }
    
    .contact-page-container {
        padding: 60px 20px;
    }
}

/* =========================================
   PAGE HEADER BANNER (CONTACT)
   ========================================= */

.page-header-banner {
    position: relative;
    width: 100%;
    height: 50vh; /* Prend 50% de la hauteur de l'écran */
    min-height: 400px; /* Pas trop petit sur mobile */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px; /* Espace avant le formulaire */
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Noir à 40% */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2; /* Au dessus du voile */
    color: #ffffff;
    padding: 0 20px;
    max-width: 800px;
}

/* Titre blanc sur l'image */
.page-header-banner .entry-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 300; /* Fin et élégant */
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Sous-titre blanc */
.page-header-banner .entry-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #f0f0f0;
}

.page-header-banner .entry-subtitle a {
    color: #ffffff;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
}

.page-header-banner .entry-subtitle a:hover {
    color: #fff;
    border-bottom-color: transparent;
}

/* RESPONSIVE MOBILE */
@media screen and (max-width: 768px) {
    .page-header-banner {
        height: 40vh; /* Un peu moins haut sur mobile */
    }
    
    .page-header-banner .entry-title {
        font-size: 2rem; /* Titre plus petit */
        letter-spacing: 3px;
    }
    
    /* On remonte un peu le formulaire sur mobile */
    .contact-page-container {
        padding-top: 40px; 
    }
}

/* =========================================
   TEMPLATE PRESTATION
   ========================================= */

/* HERO */
.service-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.service-overlay {
    position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3);
}
.service-hero-content {
    position: relative; z-index: 2;
    padding: 0 20px;
}
.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
}

.service-title-front {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
	text-align:center;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
}

.service-subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #fff;
}

/* INTRO */
.container-narrow {
    max-width: 1000px;
	padding: 20px 0;
    margin: 0 auto;
}
.service-intro {
    display: flex;
    align-items: center;
    gap: 60px;
}
.service-intro-text { flex: 1; }
.service-intro-img { flex: 1; }
.service-intro-img img {
    width: 100%;
}
.separator-gold {
    width: 60px; height: 3px; background: #929292; margin: 20px 0 30px;
}

/* ATOUTS (3 Colonnes) */
.service-atouts {
    background-color: #f9f9f9;
    padding: 20px 20px;
}
.atouts-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.atout-item {
    flex: 1;
    text-align: center;
    background: #fff;
    padding: 40px;
    border: 1px solid #eee; /* Cadre fin élégant */
}
.atout-item h3 {
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.atout-item p {
    font-size: 0.9rem;
    color: #666;
}

/* GALERIE */
.service-gallery {
    padding: 20px;
}
.gallery-header {
    text-align: center;
    margin-bottom: 10px;
}
.gallery-header h2 {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
    font-size: 2rem;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item {
    /* Calcul pour 3 images par ligne : 33% moins les marges */
    width: calc(33.333% - 20px); 
    height: 400px; /* Hauteur fixe pour régularité */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item img:hover { 
    transform: scale(1.02); 
    filter: grayscale(0%);
}

/* PRICING */
.service-pricing {
    text-align: center;
	margin-bottom: 10px;
	margin-top: 30px
}
.cta-wrapper {display:flex; justify-content:center; margin-bottom: 20px;}

/* RESPONSIVE */
@media screen and (max-width: 900px) {
    .service-hero { height: 50vh; }
    .service-title { font-size: 2rem; }
    .service-intro { flex-direction: column; }
    .atouts-grid { flex-direction: column; }
    
    .gallery-item {
        width: 100%; /* 1 par ligne sur mobile */
        height: auto;
        aspect-ratio: 1/1;
    }
}

/* =========================================
   PAGE MENTIONS LÉGALES
   ========================================= */

.legal-page-container {
    padding: 100px 20px;
    background-color: #fff;
}

.legal-content-wrapper {
    max-width: 800px; /* Largeur lecture confortable */
    margin: 0 auto;
}

.legal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.legal-separator {
    width: 50px;
    height: 2px;
    background-color: #ffca28;
    margin: 0 auto 60px auto;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: #000;
}

.legal-section p, 
.legal-section li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-list {
    list-style: none;
    padding: 0;
}

.legal-list li strong {
    color: #000;
    font-weight: 600;
}

.legal-section a {
    color: #000;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #aaaaaa;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .legal-title { font-size: 1.8rem; }
    .legal-page-container { padding: 60px 20px; }
}

/* =========================================
   FIL D'ARIANE (BREADCRUMBS)
   ========================================= */

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 20px 20px; /* Un peu d'espace en haut */
}

#breadcrumbs {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; /* Petit texte */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999; /* Gris clair discret */
    margin: 0;
}

#breadcrumbs a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

#breadcrumbs a:hover {
    color: #000; /* Devient noir au survol */
}

/* La petite flèche séparatrice (gérée par Yoast, mais on peut la styliser) */
.breadcrumb_last {
    color: #000; /* La page actuelle en noir */
    font-weight: 600;
}

/* Mobile */
@media screen and (max-width: 900px) {
    .breadcrumb-container {
        display: none;
    }
}

/* =========================================
   PLUGIN : M2 PRICING CARDS (TARIFS)
   ========================================= */

.m2-pricing-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.m2-pricing-grid {
    display: flex;
    justify-content: center;
    align-items: center; /* Permet à la carte centrale de dépasser */
    gap: 30px;
    margin-bottom: 60px;
}

/* --- LA CARTE DE BASE --- */
.m2-pricing-card {
    flex: 1 1 300px; /* Croît, rétrécit, et a une largeur de base de 300px */
    max-width: 400px; /* Ne dépassera jamais 400px */
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m2-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* --- LA CARTE MISE EN AVANT (Centre) --- */
.m2-pricing-card.highlighted {
    border-color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 50px 30px; /* Un peu plus grande */
    z-index: 2;
}

/* Le petit Badge en haut */
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffca28;
    color: #1a1a1a;
    padding: 5px 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    white-space: nowrap;
}

/* --- TEXTES DE LA CARTE --- */
.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.pricing-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 0.85rem;
    color: #888;
    min-height: 40px; /* Aligne les cartes même si le texte diffère */
}

.pricing-price {
    font-size: 3rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-top: 20px;
}

/* --- LISTE DES CARACTÉRISTIQUES (WYSIWYG) --- */
.pricing-features {
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* On force la liste à puces à être propre et sans puces moches */
.pricing-features ul {
    list-style: none;
    padding: 0;
}
.pricing-features ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #f5f5f5;
}
.pricing-features ul li:last-child {
    border-bottom: none;
}

/* --- BOUTONS --- */
.btn-pricing {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: #1a1a1a;
    color: #ffffff;
}

/* Bouton spécial pour la carte centrale */
.btn-pricing.btn-gold {
    background: #1a1a1a;
    color: #ffffff;
}
.btn-pricing.btn-gold:hover {
    background: #ffca28;
    border-color: #ffca28;
    color: #1a1a1a;
}

/* --- SECTION OPTIONS (Add-ons en bas) --- */
.m2-pricing-options {
    background: #f9f9f9;
    padding: 15px;
    text-align: center;
    border: 1px solid #eaeaea;
}

.options-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.options-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

/* RESPONSIVE MOBILE */
@media screen and (max-width: 900px) {
    .m2-pricing-grid {
        flex-direction: column;
        gap: 40px;
    }
    .m2-pricing-card.highlighted {
        padding: 40px 30px; /* On réduit la carte centrale sur mobile */
    }
}

/* Inversion du bloc intro */
.service-reverse {
    flex-direction: row-reverse !important;
}

@media screen and (max-width: 900px) {
    .service-reverse {
        flex-direction: column !important; /* L'image repasse au dessus ou en dessous selon ton choix */
    }
}

/* =========================================
   SECTION TEXTE SIMPLE (GRIS)
   ========================================= */

.bg-grey {
    background-color: #f9f9f9;
}

.service-simple-text {
    padding: 10px 20px;
}

.simple-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

.simple-text-content h2, 
.simple-text-content h3 {
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-center {
    text-align: center;
}

/* Mobile */
@media screen and (max-width: 900px) {
    .service-simple-text {
        padding: 50px 20px;
    }
    .simple-text-content {
        font-size: 0.8rem;
		padding: 0 10px;
    }
}

/* =========================================
   CARTES D'ACCUEIL
   ========================================= */

.m2-static-section {
    width: 100%;
    background-color: transparent;
}

.m2-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding: 0 20px;
}

.m2-static-card {
    flex: 1;
    min-width: 300px;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.m2-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.m2-static-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: background 0.5s ease;
}

.m2-static-content {
    position: relative;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 40px 20px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    color: #ffffff;
    transition: all 0.5s ease;
}

.m2-static-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 20px 0;
    font-weight: 300;
    line-height: 1.4;
}

.m2-static-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
    transition: all 0.3s;
    color: #ffffff;
}

/* Animations au survol */
.m2-static-card:hover .m2-static-bg {
    transform: scale(1.08);
}

.m2-static-card:hover .m2-static-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.m2-static-card:hover .m2-static-content {
    background-color: rgba(0, 0, 0, 0.15);
}

.m2-static-card:hover .m2-static-btn {
    border-bottom-color: #ffffff;
}

/* Responsive (Mobile/Tablette) */
@media screen and (max-width: 900px) {
    .m2-static-grid {
        flex-direction: column;
        gap: 40px;
    }
    .m2-static-card {
        flex: 0 1 100%;
        width: 100%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0 auto;
    }
    .m2-static-content {
        width: 85%;
        padding: 30px 20px;
    }
    .m2-static-content h2 {
        font-size: 1.2rem;
    }
}

    /* MENU MOBILE JS */
@media screen and (max-width: 900px) {

    /* On cache les sous-menus par défaut */
    .main-navigation ul.sub-menu {
        display: none; 
        background: #fcfcfc !important;
        padding-left: 0 !important;
    }

    /* On ajoute une petite flèche discrète à droite des parents */
    .main-navigation .menu-item-has-children > a {
        position: relative;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .main-navigation .menu-item-has-children > a::after {
        content: '›'; /* Petite flèche élégante */
        font-size: 1.4rem;
        transition: transform 0.3s ease;
        margin-left: 10px;
        color: #999;
    }

    /* Quand le menu est ouvert, la flèche tourne vers le bas */
    .main-navigation .menu-item-has-children.is-open > a::after {
        transform: rotate(90deg);
        color: #000;
    }

    /* Indentation propre pour les niveaux */
    .main-navigation ul.sub-menu a {
        padding-left: 45px !important;
        font-size: 0.9rem !important;
        text-transform: none !important;
        border-bottom: 1px solid #f5f5f5;
    }

    .main-navigation ul.sub-menu ul.sub-menu a {
        padding-left: 65px !important;
        font-size: 0.85rem !important;
        color: #777 !important;
    }
}

/* --- HERO SLIDER --- */
.hero-slider-section {
    width: 100%;
    position: relative;
    background-color: #fff; 
}

/* Le conteneur des images */
.heroSwiper {
    width: 100%;
    height: 65vh; /* Hauteur des photos */
}

.heroSwiper .swiper-slide {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Les images à l'intérieur du slider */
.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre sans déformer */
    object-position: center;
    display: block;
}

/* --- BANDEAU DES FLÈCHES EN DESSOUS --- */
.slider-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px; /* Espace autour des flèches */
}

/* Style des boutons au survol */
.swiper-button-prev-custom,
.swiper-button-next-custom {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-button-prev-custom:hover {
    opacity: 1;
    transform: translateX(-5px); /* Petit effet qui bouge la flèche à gauche */
}

.swiper-button-next-custom:hover {
    opacity: 1;
    transform: translateX(5px); /* Petit effet qui bouge la flèche à droite */
}

/* Ajustements Mobile pour les flèches */
@media (max-width: 768px) {
    .heroSwiper {
        height: 50vh; /* Photos un peu moins hautes sur mobile */
    }
    .slider-nav-container {
        padding: 15px 20px;
    }
}