/* ============================================================
   GM.OR - Site Vitrine
   Thème sombre / doré - Élégance métaux précieux
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- Variables CSS --- */
:root {
    --bg:           hsl(220, 15%, 8%);
    --bg-card:      hsl(220, 12%, 12%);
    --bg-secondary: hsl(220, 12%, 16%);
    --text:         hsl(40, 20%, 90%);
    --text-muted:   hsl(220, 10%, 55%);
    --gold:         hsl(43, 72%, 53%);
    --gold-light:   hsl(43, 80%, 68%);
    --gold-dark:    hsl(43, 65%, 38%);
    --border:       hsl(220, 10%, 20%);
    --radius:       4px;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Raleway', 'Segoe UI', sans-serif;

    --container:    1200px;
    --gap:          2rem;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 18px; /* Accessibilité : taille augmentée pour lisibilité senior */
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-light); }

.container {
    width: min(var(--container), 100% - 3rem);
    margin-inline: auto;
}

/* --- Utilities --- */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* Decorative diamond separator */
.diamond-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
}
.diamond-sep::before,
.diamond-sep::after {
    content: '';
    width: 4rem;
    height: 1px;
    background: linear-gradient(to var(--dir, right), transparent, hsla(43,72%,53%,.5));
}
.diamond-sep::after { --dir: left; }
.diamond-sep span {
    width: .5rem; height: .5rem;
    border: 1px solid hsla(43,72%,53%,.5);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 5rem;
    display: flex;
    align-items: center;
    transition: background .4s, border-color .4s, backdrop-filter .4s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: hsla(220, 15%, 8%, .95);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
}
.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.logo-text {
    line-height: 1;
    white-space: nowrap;
}

.nav-desktop {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-desktop a {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .3s;
    position: relative;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s;
}
.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--gold);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

/* Mobile toggle */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 2rem; height: 2rem;
    position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
    display: block;
    width: 100%; height: 2px;
    background: var(--text);
    transition: transform .3s, opacity .3s;
    position: absolute;
    left: 0;
}
.burger span { top: 50%; transform: translateY(-50%); }
.burger span::before { content: ''; top: -8px; }
.burger span::after  { content: ''; top: 8px; }

.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(8px) rotate(45deg); }
.burger.open span::after  { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
    display: none;
    position: fixed;
    top: 5rem; left: 0; right: 0; bottom: 0;
    background: hsla(220, 15%, 8%, .98);
    backdrop-filter: blur(16px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .3s;
}
.nav-mobile a:hover { color: var(--gold); }

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .burger { display: block; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--bg), hsla(220,15%,8%,.5) 50%, hsla(220,15%,8%,.3)),
        linear-gradient(to right, hsla(220,15%,8%,.6), transparent, hsla(220,15%,8%,.6));
}

/* Corner decorations */
.hero-corner-tl,
.hero-corner-br {
    position: absolute;
    width: 6rem; height: 6rem;
    pointer-events: none;
}
.hero-corner-tl {
    top: 6rem; left: 2rem;
    border-left: 2px solid hsla(43,72%,53%,.2);
    border-top: 2px solid hsla(43,72%,53%,.2);
}
.hero-corner-br {
    bottom: 5rem; right: 2rem;
    border-right: 2px solid hsla(43,72%,53%,.2);
    border-bottom: 2px solid hsla(43,72%,53%,.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-line {
    width: 8rem; height: 1px;
    margin: 0 auto 2rem;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    animation: expandLine 1.2s ease .3s both;
}
@keyframes expandLine {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: .7rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: hsla(43,72%,53%,.8);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: hsla(40,20%,90%,.8);
    margin-bottom: .75rem;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}
/* --- STYLE PAIEMENT IMMEDIAT (FINAL - ÉLÉGANT) --- */
.hero-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold-light);
    
    margin: 0 auto 2.5rem auto; /* Centrage parfait */
    max-width: fit-content;
    
    letter-spacing: 0.2em; /* Espacement chic */
    text-transform: uppercase;
    
    /* Effet de lueur dorée très subtile */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Les barres dorées qui s'effacent (Fade out) */
.hero-payment::before,
.hero-payment::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}

.hero-payment::after {
    --dir: left;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
    .hero-payment {
        font-size: 0.7rem;
        gap: 1rem;
        letter-spacing: 0.1em;
        margin-bottom: 2rem;
    }
    .hero-payment::before,
    .hero-payment::after {
        width: 20px;
    }
}
.hero-desc {
    font-size: .9rem;
    color: var(--text-muted);
    max-width: 28rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    background: rgba(0, 0, 0, .70);
    padding: 1.25rem 1.5rem;
    border-radius: .75rem;
}

.hero-line-2 {
    width: 8rem; height: 1px;
    margin: 0 auto 2.5rem;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    animation: expandLine 1.2s ease .5s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

/* Buttons */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .9rem 2.5rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: box-shadow .3s, transform .2s;
    text-decoration: none;
}
.btn-gold:hover {
    box-shadow: 0 4px 30px -5px hsla(43,72%,53%,.4);
    transform: translateY(-1px);
    color: var(--bg);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .9rem 2.5rem;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid hsla(43,72%,53%,.3);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .3s, border-color .3s;
    text-decoration: none;
}
.btn-outline:hover {
    background: hsla(43,72%,53%,.1);
    border-color: hsla(43,72%,53%,.5);
    color: var(--gold);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    z-index: 2;
}
.scroll-indicator span {
    font-size: .6rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.scroll-indicator .scroll-line {
    width: 1px; height: 3rem;
    background: linear-gradient(to bottom, hsla(43,72%,53%,.6), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: .6; }
    50%      { transform: translateY(8px); opacity: 1; }
}

/* ============================================================
   SECTION STYLING
   ============================================================ */
.section {
    padding: 7rem 0;
    position: relative;
}
.section-alt {
    background: hsla(220, 12%, 16%, .2);
}
.section-alt::before,
.section-alt::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, hsla(43,72%,53%,.2), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after  { bottom: 0; }

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}
.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: .7rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: hsla(43,72%,53%,.8);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .4s, box-shadow .4s;
}
.service-card:hover {
    border-color: hsla(43,72%,53%,.4);
    box-shadow: 0 4px 30px -5px hsla(43,72%,53%,.2);
}
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s;
}
.service-card:hover .service-card-img img {
    transform: scale(1.08);
}
.service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card), hsla(220,12%,12%,.2) 60%, transparent);
}
.service-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 1;
    padding: .35rem .9rem;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    background: hsla(43,72%,53%,.9);
    color: var(--bg);
    border-radius: var(--radius);
}

.service-card-body {
    padding: 2rem;
}
.service-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: .75rem;
    transition: color .3s;
}
.service-card:hover .service-card-body h3 {
    color: var(--gold-light);
}
.service-card-body p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: hsla(43,72%,53%,.7);
    transition: color .3s;
}
.service-link:hover { color: var(--gold); }
.service-link svg {
    width: 1rem; height: 1rem;
    transition: transform .3s;
}
.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; /* ← était center */
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 2rem;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-warning {
    position: relative;
    padding: 1.5rem;
    border: 1px solid hsla(43,72%,53%,.2);
    border-radius: var(--radius);
    background: hsla(43,72%,53%,.05);
    margin-top: 2rem;
}
.about-warning-label {
    position: absolute;
    top: -.65rem;
    left: 1.5rem;
    padding: 0 .75rem;
    background: var(--bg);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}
.about-warning p {
    color: hsla(43,72%,53%,.9);
    font-size: .875rem;
    margin: 0;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 500px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}

.feature-card:hover {
  border-color: hsla(43, 72%, 53%, .3);
  box-shadow: 0 4px 30px -5px hsla(43, 72%, 53%, .15);
}

/* 🆕 Icône + Titre sur la même ligne */
.feature-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(43, 72%, 53%, .1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0; /* ← était 1rem avant */
  transition: background .3s;
}

.feature-card:hover .feature-icon {
  background: hsla(43, 72%, 53%, .2);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  stroke: var(--gold);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0; /* géré par .feature-header */
}

/* 🆕 Police agrandie */
.feature-card p {
  font-size: .9rem; /* était .75rem */
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 500px) {
    .contact-cards { grid-template-columns: 1fr; }
}

.contact-card {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .3s;
}
.contact-card:hover {
    border-color: hsla(43,72%,53%,.3);
}
.contact-card-icon {
    width: 2.5rem; height: 2.5rem;
    background: hsla(43,72%,53%,.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
    transition: background .3s;
}
.contact-card:hover .contact-card-icon {
    background: hsla(43,72%,53%,.2);
}
.contact-card-icon svg {
    width: 1rem; height: 1rem;
    stroke: var(--gold);
}
.contact-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: .35rem;
}
.contact-card p,
.contact-card a {
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.contact-card a:hover {
    color: var(--gold);
}

.contact-map {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 30px -5px hsla(43,72%,53%,.15);
}
.contact-map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    border: 0;
    border-radius: var(--radius);
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    text-align: center;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, hsla(43,72%,53%,.2), transparent);
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.footer-tagline {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .3s;
}
.footer-links a:hover {
    color: var(--gold);
}
.footer-copy {
    font-size: .7rem;
    color: var(--text-muted);
    letter-spacing: .05em;
}

.footer-credit {
    font-size: .65rem;
    color: var(--text-muted);
    margin-top: .35rem;
    opacity: .6;
}
.footer-credit a {
    color: var(--gold);
    text-decoration: none;
}
.footer-credit a:hover {
    text-decoration: underline;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrapper {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.form-header {
    margin-bottom: 2rem;
}
.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: .5rem;
}
.form-header p {
    font-size: .875rem;
    color: var(--text-muted);
}

.contact-form {
    position: relative;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 0; }
}

.form-group {
    flex: 1;
    margin-bottom: 1.25rem;
}
.form-group-small {
    flex: 0 0 7rem;
}

.form-group label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: .5rem;
}

.required {
    color: var(--gold);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .875rem;
    transition: border-color .3s, box-shadow .3s;
    outline: none;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: .6;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px hsla(43, 72%, 53%, .15);
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: hsl(0, 65%, 50%);
    box-shadow: 0 0 0 3px hsla(0, 65%, 50%, .15);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237F8C8D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 6rem;
}

/* Checkbox RGPD */
.form-group-checkbox {
    margin-bottom: 1.5rem;
}
.checkbox-label {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    cursor: pointer;
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--gold);
    cursor: pointer;
    position: relative;
    top: 1px;
}
.checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Actions */
.form-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.form-actions .btn-gold {
    display: inline-flex;
    align-items: center;
}
.form-note {
    font-size: .7rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Success / Error messages */
.form-success,
.form-error {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .875rem;
}
.form-success {
    background: hsla(145, 50%, 30%, .15);
    border: 1px solid hsla(145, 50%, 40%, .3);
    color: hsl(145, 50%, 65%);
}
.form-success svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(145, 50%, 55%);
    flex-shrink: 0;
}
.form-error {
    background: hsla(0, 50%, 30%, .15);
    border: 1px solid hsla(0, 50%, 40%, .3);
    color: hsl(0, 50%, 65%);
}

/* Loading state on submit */
.contact-form.loading .btn-gold {
    pointer-events: none;
    opacity: .6;
}

/* ============================================================
   MENTIONS LÉGALES PAGE
   ============================================================ */
.legal-page {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
}
.legal-page .container {
    max-width: 48rem;
}
.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.legal-page .legal-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.legal-page h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}
.legal-page p,
.legal-page li {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: .75rem;
}
.legal-page ul {
    list-style: none;
    padding-left: 1rem;
}
.legal-page ul li::before {
    content: '—';
    color: var(--gold);
    margin-right: .5rem;
}
.legal-page a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================================
   SERVICE PAGES (rachat-or, rachat-argent, etc.)
   ============================================================ */

/* Hero banner */
.service-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.service-hero-bg {
    position: absolute;
    inset: 0;
}
.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 0%, rgba(20,23,31,.7) 50%, rgba(20,23,31,.4) 100%);
}
.service-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
}
.service-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: .25rem;
}
.service-hero-tagline {
    font-size: .85rem;
    color: var(--text-muted);
    letter-spacing: .05em;
}

/* Breadcrumb */
.breadcrumb {
    font-size: .7rem;
    letter-spacing: .05em;
    margin-bottom: .75rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover {
    color: var(--gold);
}
.breadcrumb-sep {
    margin: 0 .4rem;
    opacity: .5;
}

/* Page body */
.service-page {
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.service-page .container {
    max-width: 52rem;
}

/* Introduction */
.service-intro {
    margin-bottom: 2.5rem;
}
.service-lead {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.service-page p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: .75rem;
}

/* Section headings */
.service-page h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.section-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    stroke: var(--gold);
}

/* Cards grid (ce que nous rachetons / conseils) */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color .3s, transform .2s;
}
.service-detail-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
}
.service-detail-icon {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}
.service-detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .5rem;
}
.service-detail-card p {
    font-size: .8rem;
    margin-bottom: 0;
}

/* Note box */
.service-note {
    background: var(--bg-card);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.service-note a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Gold table */
.gold-table-wrapper {
    overflow-x: auto;
    margin: 1.25rem 0 1.5rem;
}
.gold-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
}
.gold-table th {
    background: hsla(43, 72%, 53%, .12);
    color: var(--gold);
    font-weight: 600;
    text-align: left;
    padding: .75rem 1rem;
    border-bottom: 2px solid var(--gold);
    letter-spacing: .02em;
    white-space: nowrap;
}
.gold-table td {
    padding: .65rem 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.gold-table tbody tr:hover {
    background: hsla(43, 72%, 53%, .05);
}

/* Steps timeline */
.steps-timeline {
    margin: 1.5rem 0 2rem;
    padding-left: .5rem;
}
.step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    position: relative;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 2.75rem;
    bottom: -.75rem;
    width: 2px;
    background: var(--border);
}
.step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .35rem;
    margin-top: .25rem;
}
.step-content p {
    font-size: .85rem;
    margin-bottom: 0;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.25rem 0;
}
.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.tip-icon {
    font-size: 1.3rem;
    margin-bottom: .35rem;
}
.tip-card h4 {
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .35rem;
}
.tip-card p {
    font-size: .8rem;
    margin-bottom: 0;
}

/* Trust list */
.trust-list {
    margin: 1.25rem 0;
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .75rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.trust-item svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    stroke: var(--gold);
    margin-top: .1rem;
}
.trust-item p {
    font-size: .85rem;
    margin-bottom: 0;
}

/* Security box */
.service-security-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: hsla(0, 0%, 100%, .04);
    border: 1px solid hsla(43, 72%, 53%, .25);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 2.5rem 0;
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.service-security-box > svg {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    stroke: var(--gold);
}

/* CTA block */
.service-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, hsla(43, 72%, 53%, .08), hsla(43, 72%, 53%, .03));
    border: 1px solid hsla(43, 72%, 53%, .2);
    border-radius: var(--radius);
}
.service-cta h2 {
    border: none;
    justify-content: center;
    margin-top: 0;
    padding-bottom: 0;
    font-size: 1.5rem;
    color: var(--text);
}
.service-cta > p {
    font-size: .9rem;
    margin-bottom: 1.5rem;
}
.service-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.service-cta-infos {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .service-hero { height: 220px; }
    .service-cards-grid,
    .tips-grid { grid-template-columns: 1fr; }
    .step { gap: 1rem; }
    .service-security-box { flex-direction: column; text-align: center; }
}

/* ============================================================
   PRICE BANNER (compact, accueil)
   ============================================================ */
#price-banner {
    background: linear-gradient(135deg, hsl(220, 15%, 10%) 0%, hsl(220, 12%, 14%) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    min-height: 0;
    transition: min-height .4s ease, opacity .4s ease;
    opacity: 0;
}
#price-banner.price-banner-loaded {
    opacity: 1;
}
.price-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: .65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: .85rem;
}
.price-banner-item {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.price-banner-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .08em;
}
.price-banner-value {
    color: var(--gold-light);
    font-weight: 700;
    font-size: .95rem;
}
.price-banner-sep {
    color: var(--border);
    font-size: .8rem;
}
.price-banner-time {
    color: var(--text-muted);
    font-size: .7rem;
    font-style: italic;
}
.price-banner-loading {
    display: block;
    padding: .65rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .8rem;
}

/* Change indicator */
.price-chg {
    font-size: .7rem;
    font-weight: 600;
    padding: .15rem .4rem;
    border-radius: 3px;
}
.price-up {
    color: hsl(140, 60%, 50%);
    background: hsla(140, 60%, 50%, .1);
}
.price-down {
    color: hsl(0, 65%, 55%);
    background: hsla(0, 65%, 55%, .1);
}

@media (max-width: 600px) {
    .price-banner-inner { gap: .5rem; padding: .5rem 1rem; }
    .price-banner-value { font-size: .85rem; }
    .hide-mobile { display: none; }
}

/* ============================================================
   PRICE WIDGET (détaillé, pages service)
   ============================================================ */
#price-widget {
    margin: 2rem 0;
}
.price-widget-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.5rem;
}
.price-widget-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    text-align: center;
}
.price-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.price-widget-card {
    background: var(--bg-secondary);
    border-radius: .5rem;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--border);
}
.price-widget-gold { border-top: 3px solid var(--gold); }
.price-widget-silver { border-top: 3px solid hsl(210, 15%, 65%); }
.price-widget-metal {
    font-family: var(--font-body);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: .5rem;
}
.price-widget-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .25rem;
}
.price-widget-main small {
    font-size: .9rem;
    color: var(--text-muted);
    font-weight: 400;
}
.price-widget-details {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .5rem;
}
.price-widget-by-title {
    display: none; /* Cours par titre masqués à la demande du client */
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
    font-size: .8rem;
    color: var(--text-muted);
    text-align: left;
}
.price-widget-by-title div {
    padding: .2rem 0;
    display: flex;
    justify-content: space-between;
}
.price-widget-by-title strong {
    color: var(--text);
    font-weight: 600;
}
.price-widget-footer {
    margin-top: 1rem;
    text-align: center;
    font-size: .7rem;
    color: var(--text-muted);
    font-style: italic;
}
.price-widget-loading {
    text-align: center;
    color: var(--text-muted);
    padding: 1rem;
    font-size: .85rem;
}

@media (max-width: 500px) {
    .price-widget-main { font-size: 1.4rem; }
    .price-widget-inner { padding: 1rem; }
}

/* ============================================================
   SECTION POINÇONS — rachat-or.php
   ============================================================ */
.poincon-group-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2.25rem;
    margin-bottom: .5rem;
    padding-left: .75rem;
    border-left: 2px solid var(--gold);
}

.poincon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1rem 0 1.75rem;
}
.poincon-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.poincon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .3s, transform .2s;
}
.poincon-card:hover {
    border-color: hsla(43, 72%, 53%, .4);
    transform: translateY(-2px);
}

/* Zone visuelle SVG */
.poincon-visual {
    background: hsla(220, 12%, 10%, 1);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}
.poincon-visual svg {
    width: 100%;
    max-width: 110px;
    height: auto;
    color: var(--gold);
    filter: drop-shadow(0 0 8px hsla(43, 72%, 53%, .25));
}

/* Contenu textuel */
.poincon-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}
.poincon-body h4 {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.poincon-body p {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Badge titre */
.poincon-titre-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .2rem .55rem;
    border-radius: 2px;
    background: hsla(43, 72%, 53%, .15);
    color: var(--gold);
    margin-bottom: .1rem;
}
.poincon-badge-low {
    background: hsla(220, 10%, 30%, .4);
    color: var(--text-muted);
}
.poincon-badge-neutral {
    background: hsla(220, 10%, 25%, .5);
    color: var(--text-muted);
}

/* Carte conseil "pas de poinçon" */
.poincon-card-tip {
    background: hsla(43, 72%, 53%, .04);
    border-color: hsla(43, 72%, 53%, .18);
    padding: 1.25rem 1.25rem;
    flex-direction: column;
    justify-content: center;
}
.poincon-card-tip:hover {
    border-color: hsla(43, 72%, 53%, .35);
    transform: none;
}
.poincon-tip-icon {
    font-size: 1.4rem;
    margin-bottom: .5rem;
}
.poincon-card-tip h4 {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: .4rem;
}
.poincon-card-tip p {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: .5rem;
}
.poincon-card-tip p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .poincon-grid,
    .poincon-grid-2 {
        grid-template-columns: 1fr;
    }
    .poincon-visual {
        padding: .85rem 1rem;
    }
    .poincon-visual svg {
        max-width: 90px;
    }
}

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .section-header { margin-bottom: 3rem; }
    .about-grid { gap: 2rem; }
    .hero-corner-tl, .hero-corner-br { display: none; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-gold, .btn-outline { width: 100%; max-width: 18rem; }
}

/* =============================================
   WIDGET COURS DES MÉTAUX PRÉCIEUX
   ============================================= */

/* --- COMPACT (Accueil) --- */
.cours-widget-bar {
    background: linear-gradient(135deg, #1a1d26 0%, #14171f 100%);
    border: 1px solid rgba(212, 175, 55, .20);
    border-radius: .75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.cours-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cours-compact-item {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cours-metal-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    background: rgba(212, 175, 55, .12);
    padding: .2rem .55rem;
    border-radius: .25rem;
}

.cours-metal-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.cours-metal-change {
    font-size: .78rem;
    font-weight: 600;
    padding: .15rem .4rem;
    border-radius: .2rem;
    font-variant-numeric: tabular-nums;
}
.cours-metal-change.up {
    color: #22c55e;
    background: rgba(34, 197, 94, .10);
}
.cours-metal-change.down {
    color: #ef4444;
    background: rgba(239, 68, 68, .10);
}

.cours-compact-sep {
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 255, 255, .12);
}

.cours-compact-time {
    width: 100%;
    text-align: center;
    font-size: .7rem;
    color: rgba(255, 255, 255, .35);
    margin-top: .25rem;
}

/* --- DÉTAILLÉ (Pages service) --- */
.cours-widget-detail {
    background: linear-gradient(135deg, #1a1d26 0%, #14171f 100%);
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: .75rem;
    padding: 1.5rem;
    margin: 2rem 0 2.5rem;
}

.cours-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    flex-wrap: wrap;
    gap: .5rem;
}

.cours-detail-main {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.cours-detail-label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
}

.cours-detail-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.cours-detail-price small {
    font-size: .7em;
    font-weight: 400;
    opacity: .6;
}

.cours-detail-oz {
    font-size: .85rem;
    color: rgba(255, 255, 255, .40);
    font-variant-numeric: tabular-nums;
}

.cours-detail-table {
    display: none; /* Cours par titre masqués à la demande du client */
    width: 100%;
    border-collapse: collapse;
    margin-bottom: .75rem;
}
.cours-detail-table thead th {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .45);
    text-align: left;
    padding: .4rem .5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cours-detail-table thead th:last-child {
    text-align: right;
}
.cours-detail-table tbody td {
    padding: .55rem .5rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.cours-detail-table tbody tr:last-child td {
    border-bottom: none;
}
.cours-price-cell {
    text-align: right;
    font-weight: 700;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
}

.cours-detail-footer {
    font-size: .68rem;
    color: rgba(255, 255, 255, .30);
    text-align: center;
    padding-top: .5rem;
}

/* --- LOADING --- */
.cours-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}

.cours-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(212, 175, 55, .25);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: cours-spin .8s linear infinite;
}

@keyframes cours-spin {
    to { transform: rotate(360deg); }
}

/* --- ERREUR --- */
.cours-error {
    text-align: center;
    padding: .75rem 1rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .50);
}
.cours-error a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* --- RESPONSIVE WIDGET --- */
@media (max-width: 600px) {
    .cours-compact {
        gap: .75rem;
    }
    .cours-compact-sep {
        display: none;
    }
    .cours-compact-item {
        width: 100%;
        justify-content: center;
    }
    .cours-detail-price {
        font-size: 1.3rem;
    }
    .cours-widget-detail {
        padding: 1rem;
    }
    .cours-detail-table tbody td,
    .cours-detail-table thead th {
        padding: .4rem .3rem;
        font-size: .82rem;
    }
}

/* GALERIE PHOTOS — Pages de service */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.25rem 0 2rem;
}

.galerie-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, transform .2s, box-shadow .3s;
}

.galerie-item:hover {
  border-color: hsla(43, 72%, 53%, .4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px -8px hsla(43, 72%, 53%, .2);
}

.galerie-img-wrapper {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.galerie-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.galerie-item:hover .galerie-img-wrapper img {
  transform: scale(1.06);
}

.galerie-caption {
  padding: .65rem 1rem;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin: 0;
}

@media (max-width: 600px) {
  .galerie-grid { grid-template-columns: 1fr; }
}

/* À PROPOS — Logo au-dessus des valeurs */
.about-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ← nouveau */
  gap: 2rem;
  align-items: center;
  height: 100%; /* ← nouveau */
}


.about-logo-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1; /* ← prend tout l'espace vide disponible entre le haut et les cartes */
}


.about-logo-img {
  width: 320px;  /* max recommandé */
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid hsla(43, 72%, 53%, .3);
  box-shadow:
    0 0 40px -10px hsla(43, 72%, 53%, .35),
    0 0 0 6px hsla(43, 72%, 53%, .06);
  transition: box-shadow .4s, transform .3s;
}

@media (max-width: 900px) {
  .about-logo-img { width: 220px; height: 220px; }
}



.about-logo-img:hover {
  box-shadow:
    0 0 60px -10px hsla(43, 72%, 53%, .55),
    0 0 0 8px hsla(43, 72%, 53%, .1);
  transform: scale(1.04) rotate(1deg);
}

.about-right .features-grid {
  width: 100%;
}
.nav-desktop a:hover,
.nav-desktop a:focus,
.nav-desktop a:active {
    color: var(--gold);
}

/* ============================================================
   GALERIE PHOTOS — Corrections images géantes
   ============================================================ */

/* Conteneur principal de la galerie */
.photos-galerie {
    margin: 2rem 0;
}

/* Forcer les images à respecter les dimensions du conteneur */
.photos-galerie img,
.galerie-item img {
    max-width: 100% !important;
    height: auto !important;
}

/* S'assurer que le wrapper contraint l'image */
.galerie-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* ============================================================
   WHATSAPP — Styles bouton et lien
   ============================================================ */

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 2.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: box-shadow .3s, transform .2s;
    text-decoration: none;
}
.btn-whatsapp:hover {
    box-shadow: 0 4px 30px -5px hsla(145, 80%, 40%, .4);
    transform: translateY(-1px);
    color: #fff;
}
.btn-whatsapp svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #25D366;
    font-size: .75rem;
    font-weight: 500;
    transition: color .3s;
}
.whatsapp-link:hover {
    color: #128C7E;
}
.whatsapp-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   CORRECTIONS RESPONSIVE GALERIE
   ============================================================ */

/* S'assurer que les images ne débordent jamais */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Forcer les SVG à avoir une taille maximale */
svg {
    max-width: 100%;
    height: auto;
}

/* Section icon dans les titres h2 */
.section-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}


/* ============================================================================
   STICKY CTA MOBILE (≤ 768px)
   Ajouté le 19/05/2026 — Conformément à la note Christophe § 2.5
   ============================================================================ */

.sticky-cta-mobile {
    display: none; /* masqué par défaut, activé en mobile uniquement */
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: flex;
        gap: 0.5rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: hsla(220, 15%, 8%, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid hsla(43, 72%, 53%, 0.25);
        box-shadow: 0 -4px 24px hsla(0, 0%, 0%, 0.4);
        animation: sticky-cta-slide-up 0.4s ease-out 0.3s both;
    }

    .sticky-cta-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 48px;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: transform 0.15s ease, background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .sticky-cta-btn svg {
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }

    .sticky-cta-btn:active {
        transform: scale(0.97);
    }

    /* Bouton principal : Appeler (or solide) */
    .sticky-cta-call {
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        color: hsl(220, 15%, 8%);
    }

    .sticky-cta-call:hover {
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        color: hsl(220, 15%, 8%);
    }

    /* Bouton secondaire : WhatsApp (contour) */
    .sticky-cta-whatsapp {
        background: transparent;
        color: var(--gold-light);
        border: 1.5px solid var(--gold);
    }

    .sticky-cta-whatsapp:hover {
        background: hsla(43, 72%, 53%, 0.12);
        color: var(--gold-light);
    }

    /* Réserver l'espace en bas pour ne pas masquer le contenu sous le sticky */
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}

@keyframes sticky-cta-slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Accessibilité : respecter prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .sticky-cta-mobile {
        animation: none;
    }
    .sticky-cta-btn {
        transition: none;
    }
}

/* ============================================================================
   SECTION #cours — Grille or/argent (§ 2.8)
   Ajouté le 19/05/2026 — Note Christophe
   ============================================================================ */

.cours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.cours-grid-card {
    background: var(--bg-card);
    border: 1px solid hsla(43, 72%, 53%, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.cours-grid-card:hover {
    border-color: hsla(43, 72%, 53%, 0.5);
    transform: translateY(-2px);
}

.cours-disclaimer {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.25rem 1.5rem;
    background: hsla(43, 72%, 53%, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    font-size: 0.95rem;
    color: hsla(220, 5%, 75%, 1);
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .cours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .cours-grid-card {
        padding: 1rem;
    }
    .cours-disclaimer {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

/* ============================================================================
   PAGE /merci.php — Page de remerciement post-formulaire (§ 2.8 + Ads)
   Ajoutée le 19/05/2026
   ============================================================================ */

.merci-page {
    min-height: calc(100vh - 200px);
}

.merci-hero {
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.merci-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px hsla(43, 72%, 53%, 0.3);
    animation: merci-icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.merci-icon svg {
    width: 48px;
    height: 48px;
    color: hsl(220, 15%, 8%);
    stroke-width: 2.5;
}

@keyframes merci-icon-pop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.merci-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.merci-subtitle {
    font-size: 1.15rem;
    color: hsla(220, 5%, 80%, 1);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Bloc canaux alternatifs */
.merci-callouts {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid hsla(43, 72%, 53%, 0.2);
    border-radius: 12px;
}

.merci-callouts-intro {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--gold-light);
    font-weight: 600;
}

.merci-callouts-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.merci-callouts-buttons .btn-gold,
.merci-callouts-buttons .btn-outline {
    display: inline-flex;
    align-items: center;
}

/* Réassurance */
.merci-reassurance {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: hsla(220, 5%, 70%, 1);
}

.merci-reassurance p {
    margin-bottom: 0.75rem;
}

.merci-confidentialite {
    font-size: 0.85rem;
    color: hsla(220, 5%, 60%, 1);
    font-style: italic;
}

/* Section services cross-sell */
.merci-services {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.merci-services h2 {
    margin-bottom: 0.5rem;
}

.merci-services-intro {
    color: hsla(220, 5%, 70%, 1);
    margin-bottom: 2.5rem;
}

.merci-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.merci-service-card {
    display: block;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid hsla(43, 72%, 53%, 0.15);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.3s ease;
}

.merci-service-card:hover {
    transform: translateY(-4px);
    border-color: hsla(43, 72%, 53%, 0.5);
    color: inherit;
}

.merci-service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.merci-service-card h3 {
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.merci-service-card p {
    font-size: 0.9rem;
    color: hsla(220, 5%, 70%, 1);
    margin: 0;
}

.merci-back {
    margin-top: 1.5rem;
}

.merci-back-link {
    color: var(--gold);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.merci-back-link:hover {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    .merci-hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .merci-icon {
        width: 70px;
        height: 70px;
    }
    .merci-icon svg {
        width: 36px;
        height: 36px;
    }
    .merci-callouts {
        padding: 1.5rem 1rem;
    }
    .merci-callouts-buttons {
        flex-direction: column;
    }
    .merci-callouts-buttons .btn-gold,
    .merci-callouts-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .merci-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================================================
   LIEN ITINÉRAIRE — Sous l'iframe Google Maps (§ 2.3 directions_click)
   Ajouté le 19/05/2026
   ============================================================================ */

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: hsl(220, 15%, 8%);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.directions-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px hsla(43, 72%, 53%, 0.3);
    color: hsl(220, 15%, 8%);
}

.directions-link:active {
    transform: translateY(0);
}

.directions-link svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .directions-link {
        width: 100%;
        justify-content: center;
    }
}