:root {
    /* Palette resserrée sur les vraies couleurs de la marque : jaune, bleu
       (site actuel) + violet, orange (private.givres.fr). Pas de couleur inventée. */
    --givres-sun: #FCB900;
    --givres-blue: #0693E3;
    --givres-deep: #1E2A3C;
    --givres-paper: #FAFBFC;
    --givres-purple: #70205D;
    --givres-orange: #F37021;

    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #5B6B7C;
    --border-color: #E2E8F0;
    --danger: #DC2626;
    --success: #15803D;

    --shadow-color: var(--givres-deep);
    --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Figtree', sans-serif;
    background-color: var(--givres-paper);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Carter One', cursive;
    font-weight: 400;
    color: var(--givres-deep);
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--givres-deep); color: white;
    padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.section { padding: 90px 0; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.eyebrow-accent { color: var(--givres-blue); }

.section-title { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }

.hand-note {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transform: rotate(-1deg);
    padding-left: 22px;
    border-left: 4px solid var(--givres-sun);
    max-width: 320px;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 800; font-family: 'Figtree', sans-serif;
    font-size: 0.95rem; cursor: pointer; text-decoration: none; text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    padding: 16px 22px; border-radius: var(--radius);
    background: var(--givres-deep); color: white;
}
.btn-primary:hover { box-shadow: 0 8px 0 color-mix(in srgb, var(--givres-deep) 20%, transparent); }

.btn-pill {
    padding: 11px 20px; border-radius: 999px;
    background: var(--givres-blue); color: white;
}

.btn-text {
    font-weight: 800;
    border-bottom: 2px solid var(--givres-deep);
    padding-bottom: 3px;
    border-radius: 0;
}
.btn-text:hover { transform: none; color: var(--givres-blue); border-color: var(--givres-blue); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 500;
    background: color-mix(in srgb, var(--givres-paper) 94%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    height: 78px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 28px;
}
.brand-link { display: block; min-width: 0; }
.brand-logo { height: 52px; width: auto; }

.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 0.92rem; font-weight: 700; }
.desktop-nav a { border-bottom: 2px solid transparent; padding-block: 7px; transition: border-color 0.2s ease; }
.desktop-nav a:hover { border-color: var(--givres-blue); }

.mobile-menu-toggle {
    display: none;
    border: 0; background: transparent; color: var(--givres-deep);
    padding: 8px; cursor: pointer;
    margin-left: auto;
}
.mobile-menu-toggle svg { width: 26px; height: 26px; }

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0 18px;
    border-top: 1px solid var(--border-color);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 12px 4px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav .btn { margin-top: 12px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero-section { position: relative; overflow: hidden; background: var(--givres-sun); }
.hero-grid {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: center;
    gap: 60px;
    padding-block: 56px 74px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 660px; font-size: clamp(2.6rem, 5.5vw, 4.6rem); text-wrap: balance; }
.hero-intro { margin: 26px 0 0; max-width: 500px; font-size: clamp(1.02rem, 1.7vw, 1.25rem); line-height: 1.55; font-weight: 600; color: var(--givres-deep); }
.hero-actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

.hero-visual { position: relative; padding: 18px 18px 26px 0; }
.photo-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--givres-paper);
    border: 5px solid var(--givres-paper);
    border-radius: 5px 5px 48px 5px;
    box-shadow: 12px 14px 0 var(--givres-blue);
    transform: rotate(1.4deg);
    display: flex; align-items: center; justify-content: center;
}
.photo-frame img { width: 62%; height: 88%; object-fit: contain; }
.photo-frame img.photo-cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Spectacles ---------- */
.spectacles-section { background: var(--card-bg); padding: 92px 0 100px; }

.featured-show {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 28px;
    background: var(--givres-blue);
    color: white;
    border-radius: var(--radius);
    box-shadow: 8px 9px 0 var(--givres-deep);
    margin-bottom: 20px;
}
.date-poster {
    min-height: 178px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--givres-sun);
    color: var(--givres-deep);
    border: 3px solid var(--givres-deep);
    border-radius: 4px;
    transform: rotate(-2deg);
}
.date-poster span { font-weight: 800; text-transform: uppercase; font-size: 0.8rem; }
.date-poster strong { font-family: 'Carter One', cursive; font-size: 4.6rem; line-height: 0.85; }

.show-label {
    display: inline-block; margin-bottom: 8px;
    text-transform: uppercase; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.12em;
    color: var(--givres-sun);
}
.show-copy h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; color: white; }
.show-copy > p { max-width: 620px; margin: 14px 0 18px; line-height: 1.55; color: rgba(255,255,255,0.85); }
.show-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.86rem; font-weight: 700; }
.show-meta span { display: inline-flex; align-items: center; gap: 6px; }
.show-meta svg { width: 16px; height: 16px; flex-shrink: 0; }

.reserve-button {
    align-self: stretch; min-width: 130px; padding: 18px;
    background: var(--givres-paper); color: var(--givres-deep);
    border-radius: 5px; flex-direction: column;
}
.reserve-button:hover { box-shadow: 4px 5px 0 var(--givres-deep); }

.show-list {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.show-card {
    min-height: 122px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.show-card:hover { transform: translateY(-4px) rotate(-0.25deg); box-shadow: 5px 6px 0 var(--border-color); }

.mini-date {
    width: 58px; height: 64px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 5px; color: var(--givres-deep);
}
.mini-date-yellow { background: var(--givres-sun); }
.mini-date-orange { background: var(--givres-orange); color: white; }
.mini-date-purple { background: var(--givres-purple); color: white; }
.mini-date strong { font-family: 'Carter One', cursive; font-size: 1.55rem; line-height: 1; }
.mini-date span { font-size: 0.62rem; font-weight: 800; }

.show-card h3 { font-family: 'Figtree', sans-serif; font-weight: 800; margin: 0 0 4px; font-size: 1rem; color: var(--text-main); }
.show-card p { margin: 0; color: var(--text-muted); font-size: 0.82rem; line-height: 1.4; }
.card-arrow { width: 20px; height: 20px; color: var(--givres-blue); flex-shrink: 0; }

.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    padding: 40px 20px;
    background: var(--givres-paper);
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
}

/* ---------- Troupe ---------- */
.troupe-hero-section {
    position: relative;
    background: var(--givres-purple);
    padding: 96px 0;
}
.troupe-hero-section .eyebrow { color: var(--givres-sun); }
.troupe-hero-section h2 { color: white; }
.troupe-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 80px;
}
.troupe-lead {
    max-width: 460px;
    margin: 0;
    font-family: 'Carter One', cursive;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.2;
    color: white;
}
.troupe-story { padding-top: 6px; }
.troupe-story > p { max-width: 660px; font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,0.82); }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.stats-row div {
    background: white;
    padding: 18px; border-radius: 5px;
    box-shadow: 4px 4px 0 var(--givres-sun);
}
.stats-row div:nth-child(2) { box-shadow: 4px 4px 0 var(--givres-orange); }
.stats-row div:nth-child(3) { box-shadow: 4px 4px 0 var(--givres-blue); }
.stats-row strong { display: block; font-family: 'Carter One', cursive; font-size: 1.9rem; color: var(--givres-purple); }
.stats-row span { display: block; margin-top: 2px; font-size: 0.76rem; font-weight: 700; color: var(--text-muted); }

.troupe-more-section { background: var(--card-bg); padding: 96px 0; }

.troupe-block {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 76px;
}
.troupe-block:last-of-type { margin-bottom: 0; }
.troupe-block.reverse .troupe-block-media { order: 2; }
.troupe-block.reverse .troupe-block-content { order: 1; }

.troupe-block-media .photo-frame {
    aspect-ratio: 4 / 3;
    box-shadow: 10px 11px 0 var(--givres-sun);
    transform: rotate(-1.2deg);
}
.troupe-block.reverse .photo-frame { transform: rotate(1.2deg); box-shadow: 10px 11px 0 var(--givres-purple); }
.troupe-block-media .photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.troupe-block-content h3 { font-size: 1.9rem; margin-bottom: 14px; }
.troupe-block-content p { color: var(--text-muted); margin: 0 0 12px; font-size: 1rem; }
.troupe-block-content p:last-child { margin-bottom: 0; }
.troupe-block-content strong { color: var(--text-main); }

.troupe-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 20px;
}
.troupe-card {
    background: var(--card-bg);
    border: 2px solid var(--givres-deep);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 5px 6px 0 var(--givres-deep);
    transition: transform 0.2s ease;
}
.troupe-card:nth-child(2) { box-shadow: 5px 6px 0 var(--givres-blue); }
.troupe-card:nth-child(3) { box-shadow: 5px 6px 0 var(--givres-purple); }
.troupe-card:hover { transform: translateY(-4px); }
.troupe-card h4 { font-family: 'Carter One', cursive; font-size: 1.4rem; color: var(--givres-deep); margin: 0 0 10px; }
.troupe-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-section { background: var(--givres-paper); padding: 96px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 { font-size: 1.7rem; margin-bottom: 18px; }

.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-main); font-weight: 600; }
.contact-list svg { flex-shrink: 0; color: var(--givres-blue); margin-top: 2px; width: 18px; height: 18px; }
.contact-list a:hover { color: var(--givres-blue); }

.bureau-card {
    background: var(--card-bg);
    border: 2px solid var(--givres-deep);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 5px 6px 0 var(--givres-sun);
}
.bureau-card h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 0 0 14px; font-weight: 800; }
.bureau-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bureau-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.bureau-list .role { color: var(--text-muted); }
.bureau-list .name { font-weight: 800; color: var(--text-main); text-align: right; }

.contact-form {
    background: var(--card-bg);
    border: 2px solid var(--givres-deep);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: 8px 9px 0 var(--givres-purple);
}

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.88rem; }
.form-row input[type=text],
.form-row input[type=email],
.form-row textarea {
    width: 100%; padding: 12px 14px; border: 2px solid var(--border-color); border-radius: 6px;
    font-family: 'Figtree', sans-serif; font-size: 0.95rem; color: var(--text-main);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--givres-blue); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-honeypot { position: absolute; left: -9999px; }

.form-flash {
    padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; font-weight: 700;
}
.form-flash-success { background: #F0FDF4; border: 1px solid #86EFAC; color: var(--success); }
.form-flash-error { background: #FEF2F2; border: 1px solid #FCA5A5; color: #B91C1C; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--givres-deep); color: rgba(255,255,255,0.85); padding: 64px 0 0; overflow: hidden; }

.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding-bottom: 50px; }

.footer-brand-logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-top p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 240px; margin: 0; }

.footer-kicker { margin: 0 0 8px; font-weight: 700; color: rgba(255,255,255,0.7); }
.footer-email { font-family: 'Carter One', cursive; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--givres-sun); display: inline-block; }
.footer-email:hover { color: white; }

.footer-col h3 { font-family: 'Figtree', sans-serif; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: white; margin-bottom: 12px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 8px; }
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    padding: 18px 0 34px;
}
.footer-yellow { position: absolute; bottom: 0; left: 0; width: 38%; height: 12px; background: var(--givres-sun); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .desktop-nav, .header-inner .btn-pill { display: none; }
    .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; }

    .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 44px; padding-block: 40px 64px; }
    .hero-visual { width: min(100%, 560px); justify-self: center; padding: 18px; }

    .featured-show { grid-template-columns: 130px minmax(0, 1fr); }
    .reserve-button { grid-column: 1 / -1; min-height: 56px; flex-direction: row; }
    .show-list { grid-template-columns: 1fr; }

    .troupe-grid { grid-template-columns: 1fr; gap: 36px; }
    .troupe-block, .troupe-block.reverse { grid-template-columns: 1fr; }
    .troupe-block-media, .troupe-block.reverse .troupe-block-media { order: 1; }
    .troupe-block-content, .troupe-block.reverse .troupe-block-content { order: 2; }
    .troupe-block { margin-bottom: 56px; gap: 28px; }

    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 28px, 1180px); }
    .header-inner { height: 68px; }
    .brand-logo { height: 42px; }

    .section { padding: 60px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }

    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .btn-primary { width: 100%; }
    .hero-actions .btn-text { align-self: flex-start; }
    .scribble-note { width: 100px; left: -4px; bottom: -18px; }

    .featured-show { grid-template-columns: 1fr; padding: 20px; gap: 22px; }
    .date-poster { min-height: 130px; }
    .date-poster strong { font-size: 3.6rem; }

    .stats-row { grid-template-columns: 1fr; }

    .contact-form { padding: 22px; }
    .footer-top { grid-template-columns: 1fr; padding-bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
