/* ==========================================================================
   BASES & VARIABLES
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #c5a059;
    --dark: #1a1a1a;
    --light: #fcfcfc;
    --white: #ffffff;
    --text: #333333;
    --transition: all 0.3s ease;
}

/* PROTECTION GLOBALE */
body { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
    color: var(--text); 
    background: var(--white);
    scroll-behavior: smooth;
    /* Empêche la sélection du texte sur tout le site */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* HEADER & NAVIGATION */
/* HEADER & NAVIGATION */
.main-header { 
    background: var(--white); 
    height: 80px; 
    display: flex; 
    align-items: center; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.main-header nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

/* TON LOGO (INCHANGÉ) */
.logo { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); text-decoration: none; }
.logo span { color: var(--primary); }

/* NAVIGATION - LES RECTANGLES */
.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center;
}

.nav-links li {
    margin-left: 5px; 
}

.nav-links li a { 
    text-decoration: none; 
    color: var(--dark); 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    padding: 12px 20px; /* Définit la taille du rectangle */
    border-radius: 4px; 
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

/* EFFET AU SURVOL (RECTANGLE DISCRET) */
.nav-links li a:hover { 
    background-color: rgba(197, 160, 89, 0.08); /* Rectangle doré très pâle */
    color: var(--primary); 
}

/* BOUTON MOBILE */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* RESPONSIVE MOBILE */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%; /* Le menu ne prend pas tout l'écran pour un effet plus moderne */
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active { right: 0; }

    .nav-links li { margin: 10px 0; width: 80%; text-align: center; }
    
    .nav-links li a { width: 100%; font-size: 1rem; padding: 15px; }

    /* Animation Croix */
    .menu-toggle.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

#toTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: var(--primary, #c5a059);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

#toTop:hover {
    background-color: #333;
}


/* RENDRE LES LIENS NEUTRES DANS LE CONTENU */
a {
    color: inherit;            /* Prend la couleur du texte parent */
    text-decoration: none;     /* Supprime le soulignement par défaut */
    cursor: pointer;           /* Garde la main pour indiquer que c'est cliquable */
}

a:hover, 
a:focus, 
a:active {
    color: inherit;            /* Pas de changement de couleur au survol */
    text-decoration: none;     /* Pas de soulignement au survol */
    outline: none;             /* Supprime l'encadré de sélection */
}

/* Exception pour le menu si tu veux garder tes rectangles dorés */
/* (Ce code cible uniquement les liens dans les paragraphes et textes de pages) */
.service-section p a, 
.hero p a {
    font-weight: inherit;      /* Ne pas mettre en gras sauf si le texte l'est */
}

/* HERO SECTION */
/* HERO - Version Étendue */
.hero {
    height: 80vh; /* Plus haut pour un impact maximal */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://photographe-professionnel-nice.com/photos/header/photographe-professionnel-Nice_1080-bastien-JANNOT-JEROME_copyright_HD-1980.avif') center/cover no-repeat;
    background-attachment: fixed; /* Effet parallaxe moderne */
    background-position: 50% 50%; /* Identique à center center */
}

/* SECTION APPROCHE - Une seule photo */
.about-single-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* FORMULAIRE MODERNE & ÉLÉGANT */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e0e0e0; /* Ligne fine au lieu de boites */
    padding-bottom: 10px;
    transition: var(--transition);
}

.contact-form .form-field:focus-within {
    border-bottom: 1px solid var(--primary);
}

.contact-form label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    border: none !important;
    padding: 5px 0 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: transparent;
    outline: none;
}

.contact-form textarea {
    border-bottom: 1px solid #e0e0e0 !important;
    min-height: 100px;
}

.contact-form .btn-submit-container {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form .form-row { grid-template-columns: 1fr; gap: 20px; }
    .contact-container { padding: 30px 20px; }
    .hero { height: 60vh; }
}


.hero h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 10px; }

/* STRUCTURE DES PRESTATIONS (GRILLE) */
.service-section { padding: 80px 0; border-bottom: 1px solid #eee; }
.bg-light { background: var(--light); }
.service-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }

/* PROTECTION IMAGES CSS */
.photo-display { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.photo-display img {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    /* Désactive les interactions souris sur l'image */
    pointer-events: none; 
    -webkit-user-drag: none;
    user-drag: none;
    transition: var(--transition);
}

/* TYPOGRAPHIE */
.tag { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.service-title { font-family: 'Playfair Display', serif; font-size: 2.4rem; margin-bottom: 20px; line-height: 1.2; color: var(--dark); }
.quote { font-style: italic; border-left: 3px solid var(--primary); padding-left: 25px; margin: 30px 0; color: #666; font-size: 0.95rem; }
.btn { display: inline-block; background: var(--primary); color: var(--white) !important; padding: 14px 30px; text-decoration: none; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; transition: var(--transition); }

footer { background: var(--dark); color: var(--white); text-align: center; padding: 60px 0; font-size: 0.85rem; }

@media (max-width: 992px) {
    .service-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .reverse .service-content { order: 1; }
    .reverse .photo-display { order: 2; }
}
@media (max-width: 580px) { .photo-display { grid-template-columns: 1fr; } }



/* Alignement des boutons côte à côte */
.btn-group {
    display: flex;
    gap: 15px; /* Espace entre les deux boutons */
    flex-wrap: wrap; /* Permet de les empiler sur petit mobile si besoin */
}

/* Style pour le bouton secondaire (fond transparent ou autre couleur) */
.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.btn-secondary:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Centrage des boutons sur mobile (car ta grille passe en colonne) */
@media (max-width: 992px) {
    .btn-group {
        justify-content: center;
    }
}



/* Style du texte cliquable modalpopup*/
.inline-modal-trigger {
    background-color: #f4f4f4; /* Gris très clair */
    padding: 2px 6px;
    border-radius: 4px;
    cursor: help;
    border-bottom: 1px dashed #c5a059;
    transition: background 0.3s;
}

.inline-modal-trigger:hover {
    background-color: #ebe6db; /* Beige clair au survol */
}

/* Style de la fenêtre modale (cachée par défaut) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    font-family: 'Montserrat', sans-serif;
}

.modal-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}