/*
Theme Name: Temple Protestant Charleville-Mézières
Description: Thème personnalisé pour le Temple Protestant de Charleville-Mézières — Église Protestante Unie de France.
Version: 1.0
Text Domain: temple-protestant
*/

/* Temple Protestant de Charleville-Mézières — Shared Stylesheet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:        #C9A84C;
    --gold-light:  #E8D89A;
    --gold-dark:   #9B7A2A;
    --gold-pale:   #F5EDD0;
    --cream:       #F5F0E8;
    --sand:        #E8D5B7;
    --stone:       #8B7355;
    --stone-light: #B8A88A;
    --brown:       #4A3728;
    --brown-dark:  #2C1810;
    --white:       #FAFAF7;
    --font-head:   'Playfair Display', Georgia, serif;
    --font-body:   'Lato', system-ui, sans-serif;
    --font-quote:  'Cormorant Garamond', Georgia, serif;
    --t:           250ms ease;
    --shadow-sm:   0 2px 8px rgba(44,24,16,.08);
    --shadow-md:   0 8px 32px rgba(44,24,16,.13);
    --shadow-lg:   0 24px 64px rgba(44,24,16,.18);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--brown); background: var(--white); overflow-x: hidden; }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; }
p { line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.label {
    display: block;
    font-size: .7rem; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--gold); margin-bottom: .7rem;
}
.title    { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--brown-dark); margin-bottom: 1.1rem; }
.subtitle { font-size: 1.025rem; color: var(--stone); max-width: 52ch; line-height: 1.8; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 6rem 0; }
.section-alt { background: var(--cream); }

.section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-body); font-size: .8rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .875rem 2rem; border: 2px solid transparent;
    cursor: pointer; transition: all var(--t);
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,.12); transform: translateX(-100%);
    transition: transform 360ms ease;
}
.btn:hover::after { transform: translateX(0); }

.btn-gold         { background: var(--gold); color: var(--brown-dark); border-color: var(--gold); }
.btn-gold:hover   { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: 0 6px 24px rgba(201,168,76,.4); transform: translateY(-1px); }

.btn-outline-white       { background: transparent; color: var(--white); border-color: rgba(250,250,247,.7); }
.btn-outline-white:hover { background: rgba(250,250,247,.12); border-color: var(--white); transform: translateY(-1px); }

.btn-outline-dark       { background: transparent; color: var(--brown-dark); border-color: var(--brown-dark); }
.btn-outline-dark:hover { background: var(--brown-dark); color: var(--white); transform: translateY(-1px); }

.btn-don       { background: var(--brown-dark); color: var(--gold); border-color: var(--brown-dark); margin-top: 2rem; }
.btn-don:hover { background: var(--brown); border-color: var(--brown); box-shadow: 0 8px 28px rgba(44,24,16,.3); transform: translateY(-2px); }

/* ── Navigation ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.25rem 0;
    transition: background 400ms ease, padding 300ms ease, box-shadow 400ms ease;
}
.nav.scrolled { background: var(--white); padding: .875rem 0; box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: flex-end; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo-img { width: 160px; height: 80px; display: block; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin-bottom: 5px; }
.nav-links a {
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(250,250,247,.85); transition: color var(--t); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1.5px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform 240ms ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav.scrolled .nav-links a { color: var(--stone); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--gold-dark); }

.nav-cta { padding: .6rem 1.35rem; font-size: .75rem; margin-bottom: 5px; }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 1px; transition: all 300ms ease; }
.nav.scrolled .hamburger span { background: var(--brown-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 99; background: var(--brown-dark);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.75rem; opacity: 0; visibility: hidden;
    transition: opacity 350ms ease, visibility 350ms ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-head); font-size: 2rem; color: var(--cream); font-weight: 600; transition: color var(--t); }
.mobile-menu a:hover { color: var(--gold); }

/* ── Hero (front-page) ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.06); transition: transform 7s ease; will-change: transform;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(155deg, rgba(44,24,16,.72) 0%, rgba(44,24,16,.52) 60%, rgba(44,24,16,.38) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-eyebrow {
    display: flex; align-items: center; gap: .75rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(18px); animation: fadeUp .8s .3s forwards;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1.5px; background: var(--gold); flex-shrink: 0; }

.hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 5rem); color: var(--white); line-height: 1.05; margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(22px); animation: fadeUp .9s .5s forwards;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-desc {
    font-size: 1.1rem; color: rgba(250,250,247,.82); max-width: 460px;
    line-height: 1.78; margin-bottom: 2.5rem;
    opacity: 0; transform: translateY(18px); animation: fadeUp .9s .7s forwards;
}
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0; transform: translateY(18px); animation: fadeUp .9s .9s forwards;
}

.hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    color: rgba(250,250,247,.55); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
    animation: fadeIn 1s 1.6s both; cursor: pointer; background: none; border: none;
}
.scroll-line {
    width: 1.5px; height: 38px; background: var(--gold);
    animation: scrollPulse 2s 1.6s ease-in-out infinite;
}

/* ── Page hero (sub-pages) ── */
.page-hero {
    position: relative; height: 340px;
    display: flex; align-items: center; padding-top: 80px; overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; filter: brightness(.52);
}
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(44,24,16,.75) 0%, rgba(44,24,16,.3) 100%);
}
.page-hero-content {
    position: relative; z-index: 1;
    opacity: 0; transform: translateY(20px); animation: fadeUp .8s .2s forwards;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--white); }
.page-hero .label { color: var(--gold-light); margin-bottom: .5rem; }

.breadcrumb {
    display: flex; align-items: center; gap: .5rem; margin-bottom: .875rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(250,250,247,.45);
}
.breadcrumb a { color: rgba(250,250,247,.55); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }

/* ── Info bar ── */
.info-bar { background: var(--brown-dark); }
.info-bar-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.info-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.6rem 2rem; border-right: 1px solid rgba(255,255,255,.08);
}
.info-item:last-child { border-right: none; }
.info-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(201,168,76,.14); display: flex; align-items: center;
    justify-content: center; color: var(--gold); flex-shrink: 0;
}
.info-icon svg { width: 17px; height: 17px; }
.info-lbl { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .2rem; }
.info-val { font-size: .9rem; color: var(--white); }

/* ── Discover section ── */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1.25rem;
}
.discover-card {
    display: flex; flex-direction: column; gap: .875rem;
    padding: 1.75rem 1.5rem; border: 1px solid var(--sand);
    background: var(--white); transition: all 300ms ease;
}
.discover-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.discover-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gold-pale); display: flex; align-items: center;
    justify-content: center; color: var(--gold-dark); flex-shrink: 0;
}
.discover-icon svg { width: 18px; height: 18px; }
.discover-card h3 { font-size: 1.05rem; color: var(--brown-dark); line-height: 1.25; }
.discover-card p { font-size: .845rem; color: var(--stone); flex: 1; line-height: 1.6; }
.discover-arrow {
    font-size: .7rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gold-dark);
    display: flex; align-items: center; gap: .3rem;
    transition: gap var(--t);
}
.discover-card:hover .discover-arrow { gap: .6rem; }
.discover-arrow::after { content: '→'; }

/* ── Verse banner ── */
.verse-banner { background: var(--brown-dark); padding: 5rem 0; text-align: center; }
.verse-text {
    font-family: var(--font-quote); font-size: clamp(1.4rem, 3vw, 2.25rem);
    font-style: italic; color: var(--cream); line-height: 1.55;
    max-width: 760px; margin: 0 auto 1rem;
}
.verse-ref { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ── Horaire cards ── */
.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.horaire-card {
    background: var(--white); border: 1px solid var(--sand);
    padding: 2rem 1.75rem; position: relative; overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease; cursor: default;
}
.horaire-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0; background: var(--gold); transition: height 350ms ease;
}
.horaire-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.horaire-card:hover::before { height: 100%; }
.horaire-day  { font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.horaire-name { font-size: 1.35rem; color: var(--brown-dark); margin-bottom: .4rem; }
.horaire-time { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); font-weight: 400; margin-bottom: .75rem; }
.horaire-desc { font-size: .875rem; color: var(--stone); line-height: 1.65; }

.sacraments-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.sacrament-card {
    padding: 2rem; background: var(--white); border: 1px solid var(--sand);
    transition: box-shadow var(--t); cursor: default;
}
.sacrament-card:hover { box-shadow: var(--shadow-sm); }
.sacrament-icon {
    width: 48px; height: 48px; background: var(--gold-pale); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-dark); margin-bottom: 1rem;
}
.sacrament-icon svg { width: 20px; height: 20px; }
.sacrament-title { font-size: 1.25rem; color: var(--brown-dark); margin-bottom: .5rem; }
.sacrament-desc  { font-size: .875rem; color: var(--stone); line-height: 1.65; }

/* ── Events ── */
.events-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(310px,1fr)); gap: 1.5rem;
}
.event-card {
    background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden;
    transition: box-shadow 300ms ease, transform 300ms ease; cursor: pointer;
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.event-img-wrap { position: relative; }
.event-img { width: 100%; height: 200px; object-fit: cover; }
.event-badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--gold); color: var(--brown-dark);
    font-weight: 700; font-size: .75rem; text-align: center;
    padding: .45rem .75rem; line-height: 1.3; letter-spacing: .04em;
}
.event-body   { padding: 1.6rem; }
.event-cat    { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .5rem; }
.event-title  { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: .5rem; transition: color var(--t); }
.event-card:hover .event-title { color: var(--gold-dark); }
.event-desc   { font-size: .875rem; color: var(--stone); line-height: 1.65; }

/* ── Groups ── */
.groups-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(215px,1fr));
    gap: 1rem; margin-top: 1rem;
}
.group-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.5rem; border: 1px solid var(--sand);
    background: var(--white); transition: border-color var(--t), box-shadow var(--t); cursor: pointer;
}
.group-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.group-icon {
    width: 40px; height: 40px; border-radius: 50%; background: var(--gold-pale);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-dark); flex-shrink: 0;
}
.group-icon svg { width: 17px; height: 17px; }
.group-name { font-size: .9rem; font-weight: 700; color: var(--brown-dark); }
.group-freq { font-size: .78rem; color: var(--stone); margin-top: .1rem; }

/* ── Histoire ── */
.histoire-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.histoire-img-wrap { position: relative; }
.histoire-img      { width: 100%; height: 520px; object-fit: cover; }
.histoire-badge {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    width: 96px; height: 96px; background: var(--gold);
    color: var(--brown-dark); display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; line-height: 1;
}
.histoire-badge small { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.histoire-quote {
    font-family: var(--font-quote); font-size: 1.45rem; font-style: italic;
    color: var(--stone); border-left: 3px solid var(--gold);
    padding-left: 1.4rem; margin: 1.75rem 0; line-height: 1.55;
}
.histoire-p { font-size: .925rem; color: var(--stone); line-height: 1.8; margin-bottom: 2rem; }

.timeline { display: flex; flex-direction: column; }
.tl-item {
    display: grid; grid-template-columns: 72px 1px 1fr;
    gap: 0 1.25rem; padding-bottom: 1.75rem;
}
.tl-year  { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--gold); text-align: right; padding-top: .15rem; }
.tl-spine { display: flex; flex-direction: column; align-items: center; }
.tl-dot   { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: .4rem; }
.tl-line  { width: 1.5px; background: var(--sand); flex: 1; margin-top: 4px; }
.tl-item:last-child .tl-line { display: none; }
.tl-text  { font-size: .9rem; color: var(--stone); line-height: 1.65; }
.tl-text strong { display: block; color: var(--brown-dark); font-weight: 700; margin-bottom: .2rem; }

/* ── Sermons ── */
.sermons-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(295px,1fr));
    gap: 1.25rem; margin-top: 3rem;
}
.sermon-card {
    display: flex; align-items: flex-start; gap: 1.15rem;
    padding: 1.6rem; border: 1px solid var(--sand); background: var(--white);
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease; cursor: pointer;
}
.sermon-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sermon-play {
    width: 46px; height: 46px; border-radius: 50%; background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--brown-dark); flex-shrink: 0;
    transition: background 200ms ease, transform 200ms ease;
}
.sermon-card:hover .sermon-play { background: var(--gold-dark); transform: scale(1.06); }
.sermon-play svg { width: 14px; height: 14px; margin-left: 2px; }
.sermon-meta  { font-size: .7rem; color: var(--stone-light); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; }
.sermon-title { font-family: var(--font-head); font-size: 1rem; color: var(--brown-dark); line-height: 1.35; margin-bottom: .3rem; }
.sermon-ref   { font-size: .8rem; font-style: italic; color: var(--gold-dark); }

/* ── Contact ── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.form-group  { margin-bottom: 1.25rem; }
.form-label  {
    display: block; font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--brown); margin-bottom: .375rem;
}
.form-input, .form-textarea {
    width: 100%; padding: .875rem 1rem;
    border: 1.5px solid var(--sand); background: var(--white);
    font-family: var(--font-body); font-size: .9375rem; color: var(--brown);
    outline: none; transition: border-color 200ms ease; appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 140px; }

.map-wrap { width: 100%; height: 260px; background: var(--sand); overflow: hidden; margin-bottom: 2rem; border: 1px solid var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.cinfo { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.25rem; }
.cinfo-icon {
    width: 34px; height: 34px; border-radius: 50%; background: var(--gold-pale);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-dark); flex-shrink: 0;
}
.cinfo-icon svg { width: 15px; height: 15px; }
.cinfo-lbl { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--stone); }
.cinfo-val { font-size: .9rem; color: var(--brown-dark); line-height: 1.5; }

/* ── Don section ── */
.don-section { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%); padding: 5.5rem 0; text-align: center; }
.don-section .label { color: var(--brown); }
.don-section .title { color: var(--brown-dark); max-width: 480px; margin: 0 auto 1rem; }
.don-section p { color: rgba(44,24,16,.72); max-width: 48ch; margin: 0 auto; }

/* ── Footer ── */
.footer { background: var(--brown-dark); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo-text { font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--cream); line-height: 1.2; }
.footer-tagline { font-size: .875rem; color: rgba(250,250,247,.6); line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; }
.social-link {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(250,250,247,.65); transition: background var(--t), color var(--t); cursor: pointer;
}
.social-link:hover { background: var(--gold); color: var(--brown-dark); }
.social-link svg { width: 15px; height: 15px; }
.footer-col h4 { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .875rem; color: rgba(250,250,247,.55); transition: color 200ms ease; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .78rem; color: rgba(250,250,247,.35); }

/* ── Back to top ── */
.btt {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px; background: var(--gold); color: var(--brown-dark);
    border: none; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; cursor: pointer; z-index: 50;
    opacity: 0; transform: translateY(8px);
    transition: opacity 300ms ease, transform 300ms ease, background 200ms ease;
    box-shadow: var(--shadow-md);
}
.btt.show { opacity: 1; transform: none; }
.btt:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btt svg { width: 16px; height: 16px; }

/* ── Reveal animations ── */
.reveal, .reveal-l, .reveal-r { transition: opacity .72s ease, transform .72s ease; }
.reveal   { opacity: 0; transform: translateY(28px); }
.reveal-l { opacity: 0; transform: translateX(-36px); }
.reveal-r { opacity: 0; transform: translateX(36px); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ── Keyframes ── */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
    0%,100% { transform: scaleY(0); transform-origin: top; }
    50%      { transform: scaleY(1); transform-origin: top; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal, .reveal-l, .reveal-r { opacity: 1 !important; transform: none !important; }
    .hero-bg { transform: scale(1) !important; }
    .page-hero-content { opacity: 1 !important; transform: none !important; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .histoire-layout  { grid-template-columns: 1fr; gap: 3rem; }
    .histoire-img     { height: 360px; }
    .histoire-badge   { bottom: -1rem; right: 1rem; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .discover-grid    { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta  { display: none; }
    .hamburger             { display: flex; }
    .section               { padding: 4rem 0; }
    .info-bar-grid         { grid-template-columns: 1fr; }
    .info-item             { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .info-item:last-child  { border-bottom: none; }
    .section-header        { flex-direction: column; align-items: flex-start; }
    .contact-grid          { grid-template-columns: 1fr; }
    .page-hero             { height: 260px; }
    .discover-grid         { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
    .container      { padding: 0 1rem; }
    .btn            { width: 100%; justify-content: center; }
    .footer-grid    { grid-template-columns: 1fr; }
    .discover-grid  { grid-template-columns: 1fr; }
    .hero-actions   { flex-direction: column; }
}
