/* ════════════════════════════════════════════════════════════════
   VIP ANIMATIONS — THÈME « NOIR ÉDITORIAL »
   Surcharge chargée en dernier — ne modifie aucun fichier template.
   Même ADN que l'administration : encre chaude, or champagne,
   hairlines 1px, Fraunces (display) + Hanken Grotesk (texte).
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Hanken+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

/* ── Variables : on rebrande le template ───────────────────── */

:root {
    --noir:          #000000;            /* noir pur — identique à l'écran de chargement */
    --noir-2:        #0C0B09;            /* surfaces, à peine décollées du fond           */
    --ivory:         #F2EEE3;            /* titres                          */
    --ivory-2:       #B9B2A3;            /* texte courant                   */
    --gold:          #C8A75D;            /* or champagne (lisible sur noir) */
    --gold-deep:     #A07F35;
    --hairline:      rgba(242, 238, 227, 0.13);
    --hairline-soft: rgba(242, 238, 227, 0.07);

    /* Variables du template redirigées */
    --main-color:      var(--ivory-2);
    --heading-color:   var(--ivory);
    --primary-color:   var(--gold);
    --lighter-color:   var(--ivory-2);
    --subtitle-color:  var(--ivory-2);
    --border-color:    var(--hairline);
    --button-border:   var(--hairline);
    --body-background: var(--noir);
}

/* ── Typographie ───────────────────────────────────────────── */

body {
    font-family: 'Hanken Grotesk', sans-serif;
    background: var(--noir);
    color: var(--ivory-2);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 450;
    letter-spacing: -0.01em;
    color: var(--ivory);
}

::selection { background: rgba(200, 167, 93, 0.25); color: var(--ivory); }

/* Kicker éditorial au-dessus des titres de section */
.section-title p {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-title h2,
.section-title h1 {
    font-size: 44px;
    font-weight: 420;
    margin-bottom: 15px;
}

/* ── Boutons : trait or, capitales espacées ────────────────── */

.theme-btn,
.menu-btns .theme-btn,
.about-content-part .theme-btn,
.modern-contact-form .theme-btn,
.pricing-card-btn,
button[type="submit"] {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 2px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: none;
    transition: background .25s, color .25s, border-color .25s;
}

.theme-btn:hover,
.menu-btns .theme-btn:hover,
.about-content-part .theme-btn:hover,
.modern-contact-form .theme-btn:hover,
.pricing-card-btn:hover,
button[type="submit"]:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--noir);
    transform: none;
    box-shadow: none;
}

/* ── Header : minimaliste, noir pur, net (sans flou ni halo) ─ */

.main-header .header-upper {
    background: var(--noir);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--hairline-soft);
}

.header-inner { padding: 14px 0; }

.fixed-header .header-inner { padding: 10px 0; }

.main-header .header-upper { transition: border-color .3s; }

.fixed-header.main-header .header-upper { border-bottom-color: var(--hairline); }

/* Logo : sobre, sans effet de zoom */
.logo-outer img { max-height: 56px; }
.main-header.fixed-header .logo-outer img { max-height: 48px; }
.logo-outer:hover img { transform: none; opacity: .85; }

/* Liens : capitales espacées, soulignement or animé.
   On neutralise la pastille néon du template (::before dégradé,
   box-shadow violet, translateY). */
.navigation { gap: 8px; }

.navigation li a {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ivory-2);
    padding: 10px 16px;
    position: relative;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0;
    transform: none !important;
    overflow: visible;
}

.navigation li a::before { display: none; }

.navigation li a:hover { transform: none !important; }

.navigation li a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 100%;
    bottom: 4px;
    height: 1px;
    background: var(--gold);
    transition: right .3s ease;
}

.navigation li a:hover::after,
.navigation li a.current::after { right: 16px; }

.navigation li a:hover,
.navigation li a.current {
    color: var(--ivory) !important;
    background: none !important;
}

/* Bouton contact du header : trait or compact, sans reflet animé */
.menu-btns .theme-btn {
    padding: 11px 22px;
    font-size: 11px;
    box-shadow: none !important;
    transform: none !important;
}

.menu-btns .theme-btn::before { display: none; }

.menu-btns .theme-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Burger mobile assorti */
.mobile-nav-toggler span { background: var(--ivory) !important; }
.mobile-nav-toggler:hover span { background: var(--gold) !important; }

/* ── Préloader : noir pur, comme à l'origine ───────────────── */

.preloader { background: var(--noir); }

#preloaderSvg { fill: var(--noir); }

.preloader .preloader-heading .load-text {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 10px;
    color: var(--gold);
}

/* ── Home : hero retravaillé ───────────────────────────────── */

.hero-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.about-content-part h1 {
    font-size: 46px;
    line-height: 1.12;
    margin-bottom: 18px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.region-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory-2);
    margin: 18px 0 12px;
}

.region-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.region-list li {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ivory-2);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 6px 16px;
    transition: border-color .2s, color .2s;
}

.region-list li:hover { border-color: var(--gold); color: var(--gold); }

/* Titres des cartes services (h3 sémantique) */
.service-item .service-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 19px;
    font-weight: 480;
    margin: 14px 0 10px;
}

/* ── Cartes « À propos » / réseaux sociaux ─────────────────── */

.about-image-part,
.about-content-part {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

.about-social ul li a {
    border: 1px solid var(--hairline);
    border-radius: 2px;
    color: var(--ivory-2);
}

.about-social ul li a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--noir);
}

/* ── Pricing / packs ───────────────────────────────────────── */

.pricing-card {
    background: var(--noir-2);
    backdrop-filter: none;
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

.pricing-card-main {
    border-color: rgba(200, 167, 93, 0.35);
    background: var(--noir-2);
}

/* Filet or en tête de carte */
.pricing-card::before {
    background: var(--gold);
    height: 2px;
    opacity: 1;
}

.pricing-card-badge { background: var(--gold); color: var(--noir); }

.pricing-card-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 480;
}

.pricing-card-price {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 450;
    color: var(--gold);
    background: none;
    -webkit-text-fill-color: var(--gold);
}

.pricing-card-icon i,
.pricing-card:hover .pricing-card-icon {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.pricing-card-features h4 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.pricing-card-features h4 i,
.pricing-card-features p::before,
.pricing-card-note i { color: var(--gold); }

.pricing-card-divider { background: var(--hairline); }

/* ── Services / arguments ──────────────────────────────────── */

.service-item {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

.service-item i { color: var(--gold); }

.service-item h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 480;
}

/* ── Galerie (pictures.php) ────────────────────────────────── */

/* Filtres : on masque les emojis, place au texte */
.filter-icon { display: none; }

.filter-btn {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    background: transparent;
    color: var(--ivory-2);
}

.filter-btn::before { display: none; }

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
    transform: none !important;
    box-shadow: none !important;
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--noir);
    box-shadow: none !important;
}

.modern-project-card {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

.modern-project-card::before { background: var(--gold); height: 2px; }

.modern-project-card .card-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 480;
}

.modern-project-card:hover .card-title {
    background: none;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
}

.card-link-btn {
    color: var(--noir);
    background: var(--gold);
    border-radius: 2px;
}

.card-overlay { background: rgba(15, 14, 11, 0.55); }

/* ── Contact ───────────────────────────────────────────────── */

.modern-contact-card {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

.modern-contact-card::before { background: var(--gold); width: 2px; }

.contact-card-icon {
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 2px;
    color: var(--gold);
}

.modern-contact-card:hover .contact-card-icon {
    background: var(--gold);
    color: var(--noir);
    transform: none;                 /* fini la rotation/zoom */
    box-shadow: none !important;     /* fini le halo néon bleu */
}

.modern-contact-card:hover .contact-card-content h3 {
    background: none;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
}

.contact-card-content p a:hover { color: var(--gold); }

.modern-contact-form {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

/* Champs de formulaire */
.form-control,
.modern-contact-form .form-control,
.modal-content input,
.modal-content textarea {
    background: var(--noir);
    border: 1px solid var(--hairline);
    border-radius: 2px;
    color: var(--ivory);
    font-family: 'Hanken Grotesk', sans-serif;
}

.form-control:focus,
.modal-content input:focus,
.modal-content textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 167, 93, 0.12);
    background: var(--noir);
    color: var(--ivory);
}

.form-control::placeholder { color: rgba(185, 178, 163, 0.55); }

.modern-contact-form label,
.modal-content label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ivory-2);
}

/* ── Modal devis (index.php) ───────────────────────────────── */

.modal-content {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-top: 2px solid var(--gold);
    border-radius: 3px;
    color: var(--ivory-2);
}

.modal-content .close {
    color: var(--ivory-2);
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    width: 36px;
    height: 36px;
    padding: 0;
    /* On masque le caractère × (métriques de police imprévisibles)
       et on dessine la croix en CSS : centrage parfait garanti */
    font-size: 0;
    line-height: 0;
}

.modal-content .close::before,
.modal-content .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background: currentColor;
}

.modal-content .close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal-content .close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.modal-content .close:hover {
    color: var(--gold);
    background: transparent;
    border-color: var(--gold);
    transform: none; /* fini la rotation */
}

.step h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 450;
    color: var(--ivory);
}

.step h2::after { background: var(--gold); }

.checkbox-group input[type="checkbox"] { accent-color: var(--gold); }

.checkbox-group label { color: var(--ivory-2); }

/* Boutons des étapes : le template (.form-actions button) force
   border:none + reflet ::before — on reprend la main au même niveau */
.form-actions { border-top-color: var(--hairline); }

.form-actions button {
    background: transparent;
    border: 1px solid var(--hairline-strong, var(--hairline));
    border-radius: 2px;
    color: var(--ivory-2);
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 13px 32px;
    box-shadow: none !important;
    transition: border-color .25s, color .25s, background .25s;
}

.form-actions button::before { display: none; }

.form-actions button:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
    transform: none !important;
    box-shadow: none !important;
}

/* Bouton final « Soumettre » : or plein, c'est l'action principale */
.form-actions button[type="submit"] {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--noir);
}

.form-actions button[type="submit"]:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: var(--paper, #F2EEE3);
}

.success-message { color: var(--gold); }

/* ── Call to action / footer ───────────────────────────────── */

.call-to-action-part {
    background: var(--noir-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
}

.main-footer { border-top: 1px solid var(--hairline); }

.main-footer .copyright-text p { color: var(--ivory-2); }

.main-footer a { color: var(--gold); }

/* ── Bouton remonter (cercle de progression) ───────────────── */

.progress-wrap { box-shadow: inset 0 0 0 1px var(--hairline); }

.progress-wrap i { color: var(--gold); }

.progress-wrap svg.progress-circle path { stroke: var(--gold); }

/* ── Détails ───────────────────────────────────────────────── */

/* Scrollbar discrète assortie */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb {
    background: #2A2620;
    border-radius: 5px;
    border: 2px solid var(--noir);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* Liens d'adresse / listes de la home */
.adress-field ul li { color: var(--ivory-2); }
.adress-field b { color: var(--ivory); }

/* États vides galerie */
.empty-state-pictures h3 { font-family: 'Fraunces', Georgia, serif; }

/* Alertes (captcha contact) */
.alert-danger {
    background: rgba(169, 63, 34, 0.15);
    border: 1px solid rgba(169, 63, 34, 0.4);
    border-radius: 2px;
    color: #E08A6D;
}

/* ── Purge anti-néon / anti-flou (tout le site) ────────────── */

/* Halos violets et levitations au survol : supprimés partout */
.about-social ul li a:hover,
.about-content-part .theme-btn,
.about-content-part .theme-btn:hover,
.pricing-card,
.pricing-card:hover,
.pricing-card-main:hover,
.pricing-card-badge,
.pricing-card-btn,
.pricing-card-btn:hover,
.modern-project-card,
.modern-project-card:hover,
.modern-contact-card,
.modern-contact-card:hover,
.modern-contact-form,
.service-item,
.service-item:hover,
.call-to-action-part,
.theme-btn,
.theme-btn:hover,
button[type="submit"],
button[type="submit"]:hover {
    box-shadow: none !important;
}

/* Plus de cartes qui « décollent » : survol net, juste la bordure */
.pricing-card:hover,
.modern-project-card:hover,
.modern-contact-card:hover,
.modern-contact-form:hover,
.service-item:hover,
.about-content-part .theme-btn:hover {
    transform: none !important;
    border-color: rgba(200, 167, 93, 0.45);
}

/* Plus aucun flou de verre dépoli */
.pricing-card,
.modern-filter-btns,
.modern-contact-card,
.modern-project-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Barre de filtres galerie : à plat, sans capsule vitrée */
.modern-filter-btns {
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
}

/* Auras radiales bleues en fond de section : supprimées */
.about-area::before,
.about-area::after,
.pricing-area::before,
.pricing-area::after,
.projects-area::before,
.contact-area::before,
.contact-area::after,
.pictures-hero-section::before,
.pictures-hero-section::after,
.about-image-part::before,
.modern-contact-form::before,
.modal-content::before { display: none !important; }

/* Carte photo (Thierry) : halo bleu au repos et au survol */
.about-image-part,
.about-image-part:hover,
.about-content-part,
.about-content-part:hover {
    box-shadow: none !important;
    border-color: var(--hairline);
}

.about-image-part:hover,
.about-content-part:hover { border-color: rgba(200, 167, 93, 0.4); }

/* Pastille de prix : bleu → or */
.pricing-card-price {
    background: rgba(200, 167, 93, 0.07);
    border: 1px solid rgba(200, 167, 93, 0.4);
}

/* Icônes et lignes internes des cartes packs */
.pricing-card-icon {
    background: transparent;
    border: 1px solid var(--gold);
}

.pricing-card:hover {
    box-shadow: none !important;
    border-color: rgba(200, 167, 93, 0.45) !important;
}

.pricing-card-features p:hover {
    background: var(--hairline-soft);
    border-color: var(--hairline);
}

.pricing-card-options-list p {
    background: rgba(242, 238, 227, 0.03);
    border-color: var(--hairline-soft);
}

.pricing-card-note { background: rgba(200, 167, 93, 0.07); }

/* Modal devis : cadre et ombre sans teinte bleue */
.modal-content {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65) !important;
}

.checkbox-group label:hover {
    background: rgba(200, 167, 93, 0.06);
    border-color: rgba(200, 167, 93, 0.3);
}

/* Burger et tiroir du menu mobile : teintes or/hairline */
.mobile-nav-toggler {
    background: transparent !important;
    border: 1px solid var(--hairline) !important;
}

.mobile-nav-toggler:hover {
    background: rgba(200, 167, 93, 0.08) !important;
    border-color: var(--gold) !important;
}

@media (max-width: 991px) {
    .main-menu {
        background: var(--noir) !important;
        border-left: 1px solid var(--hairline) !important;
    }

    .navigation li a { border-bottom-color: var(--hairline-soft) !important; }
}

.hero-logo { filter: none; }

/* ── Surcharges haute spécificité (le template force) ──────── */

/* Kicker de la section tarifs : index-custom le passe en bleu */
.pricing-area .section-title p {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.pricing-area .section-title h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 420;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: var(--ivory);
    color: var(--ivory);
}

/* Focus des champs du formulaire de contact : le template force
   du bleu avec un sélecteur plus spécifique + !important */
.modern-contact-form .form-control:focus {
    background: var(--noir) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(200, 167, 93, 0.12) !important;
}

/* Champs du modal devis : le template force avec !important */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    background: var(--noir) !important;
    border: 1px solid var(--hairline) !important;
    border-radius: 2px;
    color: var(--ivory) !important;
    font-family: 'Hanken Grotesk', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(200, 167, 93, 0.12) !important;
}

/* ── Responsive : tailles display ──────────────────────────── */

@media (max-width: 768px) {
    .section-title h2 { font-size: 32px; }
    .section-title p { padding: 0; }
}
