:root {
    --gb-cream: #f3efe6;
    --gb-paper: #faf8f3;
    --gb-black: #121214;
    --gb-red: #a61924;
    --gb-red-dark: #651017;
    --gb-gold: #c9974e;
    --gb-ink: #1c1a18;
    --gb-muted: #746e66;
    --gb-line: #dcd5ca;
    --gb-serif: "Cormorant Garamond", Georgia, serif;
    --gb-sans: "Poppins", sans-serif;
}

.gb-page { background: var(--gb-cream); color: var(--gb-ink); }
.gb-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.gb-hero { position: relative; overflow: hidden; padding: 150px 0 92px; color: #fff; background: linear-gradient(112deg, #0e0e10 0%, #141215 56%, #4a0d16 100%); }
.gb-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 320px at 82% 30%, rgba(173,30,42,.28), transparent 68%); pointer-events:none; }
.gb-hero-inner { position: relative; z-index: 1; }
.gb-hero h1, .gb-heading h2, .gb-form-card h2 { margin: 0; font-family: var(--gb-serif); font-weight: 600; letter-spacing: -.035em; line-height: .92; }
.gb-hero h1 { max-width: 760px; font-size: clamp(64px, 8vw, 110px); }
.gb-hero h1 em, .gb-heading h2 em, .gb-form-card h2 em { display:block; color: var(--gb-gold); font-weight: 600; }
.gb-hero > .gb-wrap > p:last-child { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.8; }
.gb-kicker { display:flex; align-items:center; gap:12px; margin: 0 0 22px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.gb-kicker span { width: 34px; height: 1px; background: var(--gb-red); }
.gb-kicker-dark { color: var(--gb-ink); }

.gb-content { padding: 78px 0 110px; }
.gb-flash { margin-bottom: 28px; padding: 18px 22px; border-left: 4px solid #238251; background:#fff; box-shadow: 0 14px 35px rgba(36,30,24,.06); font-size: 13px; }
.gb-summary { display:grid; grid-template-columns: 190px 190px 1fr; gap:0; margin-bottom: 72px; border:1px solid var(--gb-line); background: var(--gb-paper); }
.gb-summary > div { padding:24px 28px; border-right:1px solid var(--gb-line); }
.gb-summary-label { display:block; margin-bottom:8px; color:var(--gb-muted); font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.gb-summary strong { font-family:var(--gb-serif); font-size:42px; font-weight:600; line-height:1; }
.gb-summary strong small { margin-left:3px; color:var(--gb-muted); font-family:var(--gb-sans); font-size:13px; }
.gb-summary > p { align-self:center; max-width:570px; margin:0; padding:24px 30px; color:var(--gb-muted); font-size:12px; line-height:1.7; }

.gb-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(330px,.55fr); gap:70px; align-items:start; }
.gb-heading { display:grid; grid-template-columns:1fr .8fr; gap:40px; align-items:end; margin-bottom:38px; }
.gb-heading h2 { font-size:clamp(52px,6vw,76px); }
.gb-heading > p { margin:0 0 7px; color:var(--gb-muted); font-size:13px; line-height:1.75; }
.gb-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.gb-review { min-height:275px; padding:28px; display:flex; flex-direction:column; border:1px solid var(--gb-line); background:#fff; }
.gb-stars { display:flex; gap:3px; margin-bottom:22px; color:#d8d1c6; font-size:15px; }
.gb-stars .is-on { color:var(--gb-gold); }
.gb-review blockquote { margin:0 0 30px; color:#3e3934; font-family:var(--gb-serif); font-size:24px; font-weight:600; line-height:1.25; }
.gb-review footer { margin-top:auto; padding-top:18px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid #eee9e1; }
.gb-review footer strong { font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.gb-review footer span { color:var(--gb-muted); font-size:10px; }
.gb-empty { grid-column:1/-1; padding:38px; display:grid; grid-template-columns:50px 1fr; gap:20px; border:1px dashed #cfc7ba; background:rgba(255,255,255,.45); }
.gb-empty > span { color:var(--gb-red); font-family:var(--gb-serif); font-size:34px; }
.gb-empty strong { display:block; margin-bottom:5px; font-size:14px; }
.gb-empty p { margin:0; color:var(--gb-muted); font-size:12px; }

.gb-form-card { position:sticky; top:100px; padding:38px; color:#fff; background:linear-gradient(145deg,#151517 0%,#211013 62%,#5a0d18 100%); box-shadow:0 30px 70px rgba(36,20,22,.16); }
.gb-form-card h2 { margin-bottom:22px; font-size:clamp(54px,5.4vw,74px); }
.gb-form-intro { margin:0 0 28px; color:rgba(255,255,255,.65); font-size:12px; line-height:1.7; }
.gb-form label, .gb-rating-field legend { display:block; margin-bottom:8px; color:rgba(255,255,255,.78); font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.gb-form input[type="text"], .gb-form textarea { width:100%; border:1px solid rgba(255,255,255,.18); border-radius:0; background:rgba(255,255,255,.06); color:#fff; outline:none; }
.gb-form input[type="text"] { min-height:48px; padding:0 14px; }
.gb-form textarea { min-height:150px; padding:14px; resize:vertical; }
.gb-form input:focus, .gb-form textarea:focus { border-color:var(--gb-gold); box-shadow:0 0 0 3px rgba(201,151,78,.1); }
.gb-form input::placeholder, .gb-form textarea::placeholder { color:rgba(255,255,255,.34); }
.gb-field { margin-bottom:22px; }
.gb-field ul, .gb-form > ul, .gb-rating-field ul { margin:6px 0 0; padding:0; list-style:none; color:#ffc5c9; font-size:10px; }
.gb-rating-field { margin:0 0 22px; padding:0; border:0; }
.gb-rating-options { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; }
.gb-rating-options label { margin:0; min-height:55px; display:grid; place-content:center; gap:0; text-align:center; border:1px solid rgba(255,255,255,.14); cursor:pointer; transition:.18s ease; }
.gb-rating-options input { position:absolute; opacity:0; pointer-events:none; }
.gb-rating-options span { color:rgba(255,255,255,.35); font-size:18px; line-height:1; }
.gb-rating-options small { margin-top:4px; color:rgba(255,255,255,.42); font-size:8px; }
.gb-rating-options label:has(input:checked) { border-color:var(--gb-gold); background:rgba(201,151,78,.12); }
.gb-rating-options label:has(input:checked) span { color:var(--gb-gold); }
.gb-consent { margin:0 0 22px; }
.gb-consent > div { display:grid; grid-template-columns:20px 1fr; gap:9px; align-items:start; }
.gb-consent input { width:17px; height:17px; margin-top:2px; accent-color:var(--gb-red); }
.gb-consent label { margin:0; color:rgba(255,255,255,.58); font-size:9px; font-weight:500; letter-spacing:0; line-height:1.55; text-transform:none; }
.gb-submit { width:100%; min-height:50px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; border:0; background:var(--gb-red); color:#fff; cursor:pointer; font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; transition:.18s ease; }
.gb-submit:hover { background:#c01e2c; transform:translateY(-1px); }
.gb-hp { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }

@media (max-width: 940px) {
    .gb-layout { grid-template-columns:1fr; }
    .gb-form-card { position:static; max-width:650px; }
    .gb-summary { grid-template-columns:1fr 1fr; }
    .gb-summary > p { grid-column:1/-1; border-top:1px solid var(--gb-line); }
}
@media (max-width: 680px) {
    .gb-wrap { width:min(100% - 28px,560px); }
    .gb-hero { padding:130px 0 72px; }
    .gb-content { padding:58px 0 78px; }
    .gb-summary { grid-template-columns:1fr 1fr; margin-bottom:52px; }
    .gb-summary > div { padding:20px; }
    .gb-summary strong { font-size:35px; }
    .gb-heading { grid-template-columns:1fr; gap:18px; }
    .gb-grid { grid-template-columns:1fr; }
    .gb-form-card { padding:30px 22px; }
}

/* ==============================================================
   Correctif rendu Livre d'or — 2026-08-13
   Formulaire plus large, consentement fiable, état vide équilibré
   ============================================================== */

@media (min-width: 941px) {
    .gb-layout {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 52px;
    }
}

.gb-heading {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
    gap: 46px;
}

.gb-empty {
    position: relative;
    min-height: 360px;
    padding: 48px 52px;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    overflow: hidden;
    border: 1px solid var(--gb-line);
    background:
        radial-gradient(circle at 92% 16%, rgba(166, 25, 36, .055), transparent 31%),
        linear-gradient(135deg, rgba(255,255,255,.84), rgba(250,248,243,.72));
}

.gb-empty::after {
    content: "";
    position: absolute;
    right: -68px;
    bottom: -104px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(166,25,36,.09);
    border-radius: 50%;
    pointer-events: none;
}

.gb-empty-number {
    align-self: start;
    padding-top: 6px;
    color: var(--gb-red);
    font-family: var(--gb-serif);
    font-size: 36px;
    line-height: 1;
}

.gb-empty-copy {
    position: relative;
    max-width: 560px;
    padding: 14px 0 8px;
}

.gb-empty-quote {
    position: absolute;
    top: -40px;
    left: -4px;
    color: rgba(201,151,78,.20);
    font-family: var(--gb-serif);
    font-size: 118px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}

.gb-empty-copy strong {
    position: relative;
    display: block;
    margin-bottom: 12px;
    font-family: var(--gb-serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1;
}

.gb-empty-copy p {
    position: relative;
    max-width: 500px;
    margin: 0 0 26px;
    color: var(--gb-muted);
    font-size: 13px;
    line-height: 1.75;
}

.gb-empty-copy a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gb-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .10em;
    text-decoration: none;
    text-transform: uppercase;
}

.gb-empty-copy a span {
    transition: transform .18s ease;
}

.gb-empty-copy a:hover span {
    transform: translateX(4px);
}

.gb-form-card {
    padding: 42px 40px 40px;
    background:
        radial-gradient(340px 270px at 102% 90%, rgba(166,25,36,.24), transparent 70%),
        linear-gradient(145deg, #151517 0%, #201013 61%, #4b0b14 100%);
}

.gb-form-card h2 {
    font-size: clamp(54px, 4.8vw, 70px);
}

.gb-form-intro {
    max-width: 320px;
    margin-bottom: 32px;
    font-size: 12px;
    line-height: 1.75;
}

.gb-field {
    margin-bottom: 24px;
}

.gb-form label,
.gb-rating-field legend {
    margin-bottom: 9px;
    font-size: 9px;
    line-height: 1.3;
}

.gb-form input[type="text"] {
    min-height: 52px;
    padding: 0 16px;
    font-size: 13px;
}

.gb-form textarea {
    min-height: 168px;
    padding: 16px;
    font-size: 13px;
    line-height: 1.65;
}

.gb-rating-options {
    gap: 8px;
}

.gb-rating-options label {
    min-height: 60px;
}

.gb-rating-options span {
    font-size: 20px;
}

/* Le thème Symfony place souvent le label avant l'input d'une checkbox.
   On rend donc explicitement la ligne et on ne dépend plus de cet ordre. */
.gb-consent {
    margin: 2px 0 26px;
}

.gb-consent-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.gb-consent-line input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--gb-red);
    cursor: pointer;
}

.gb-consent-line label {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    color: rgba(255,255,255,.67);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.65;
    text-transform: none;
    cursor: pointer;
}

.gb-consent > ul {
    margin: 7px 0 0 30px;
    padding: 0;
    list-style: none;
    color: #ffc5c9;
    font-size: 10px;
}

.gb-submit {
    min-height: 54px;
    padding: 0 20px;
}

@media (max-width: 1080px) and (min-width: 941px) {
    .gb-layout {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 38px;
    }
    .gb-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gb-heading > p {
        max-width: 560px;
    }
}

@media (max-width: 940px) {
    .gb-layout {
        gap: 48px;
    }
    .gb-form-card {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }
    .gb-empty {
        min-height: 300px;
    }
}

@media (max-width: 680px) {
    .gb-empty {
        min-height: 0;
        padding: 34px 26px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gb-empty-number {
        padding: 0;
        font-size: 28px;
    }
    .gb-empty-copy {
        padding-top: 8px;
    }
    .gb-empty-quote {
        display: none;
    }
    .gb-form-card {
        padding: 32px 24px;
    }
    .gb-form-card h2 {
        font-size: 52px;
    }
    .gb-rating-options {
        gap: 5px;
    }
    .gb-rating-options label {
        min-height: 56px;
    }
}

/* Information RGPD sous le consentement du livre d'or */
.gb-privacy-note { margin: 10px 0 0; color: #766f68; font-size: 12px; line-height: 1.5; }
.gb-privacy-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
