/* ============================================================
   Fujitoyama — feuille de style
   Fond sombre chaud, texte creme, accent dore.
   ============================================================ */

:root {
    --fond:      #17140f;
    --surface:   #201c16;
    --bordure:   #342e25;
    --texte:     #ede7db;
    --discret:   #a29684;
    --dore:      #c2a15b;
    --rouge:     #a8443a;
}

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

body {
    margin: 0;
    background: var(--fond);
    color: var(--texte);
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

h1, h2, h3 {
    font-family: "Shippori Mincho", Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: 2.6rem; margin: 0 0 1rem; }
h2 { font-size: 1.6rem; margin: 3rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 2rem 0 .4rem; color: var(--dore); }

p  { margin: 0 0 1rem; }
a  { color: var(--dore); }
a:hover { color: var(--texte); }

:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }

/* ---------- Navigation ---------- */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--bordure);
}

.marque {
    font-family: "Shippori Mincho", Georgia, serif;
    font-size: 1.3rem;
    letter-spacing: .18em;
    color: var(--texte);
    text-decoration: none;
}

nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }

nav a {
    color: var(--texte);
    text-decoration: none;
    font-size: .95rem;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
}

nav a:hover { border-bottom-color: var(--dore); color: var(--texte); }

/* ---------- Contenu ---------- */

main, body > h1, body > form, body > table, body > p, body > ul {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

body > h1 { margin-top: 3rem; padding: 0 2rem; }
body > h2, body > h3, body > p, body > ul, body > form, body > table, body > div {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

ul { padding-left: 3.2rem; }
li { margin-bottom: .3rem; }

/* ---------- Formulaires ---------- */

label {
    display: inline-block;
    font-size: .9rem;
    color: var(--discret);
    margin-bottom: .3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select {
    width: 100%;
    max-width: 420px;
    padding: .7rem .8rem;
    background: var(--surface);
    border: 1px solid var(--bordure);
    border-radius: 3px;
    color: var(--texte);
    font: inherit;
}

input:focus, select:focus {
    border-color: var(--dore);
    outline: none;
}

/* Boutons radio du nombre de personnes */
input[type="radio"] { accent-color: var(--dore); margin-right: .3rem; }
input[type="radio"] + span,
label > input[type="radio"] { vertical-align: middle; }

button {
    background: var(--dore);
    color: var(--fond);
    border: none;
    border-radius: 3px;
    padding: .75rem 1.8rem;
    font: inherit;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
}

button:hover { background: var(--texte); }

/* ---------- Messages d'erreur ---------- */

body > ul:first-of-type li,
form + ul li { color: inherit; }

h1 + ul {
    background: rgba(168, 68, 58, .12);
    border-left: 3px solid var(--rouge);
    list-style: none;
    padding: .9rem 1.2rem;
    margin: 0 auto 1.5rem;
    border-radius: 3px;
}

h1 + ul li { margin: .2rem 0; }

/* ---------- Tableau de l'administration ---------- */

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--bordure);
    margin-bottom: 2rem;
}

th, td {
    text-align: left;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--bordure);
    font-size: .93rem;
}

th {
    color: var(--dore);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .05em;
}

/* Le formulaire de filtre de l'admin, sur une ligne */
form[method="get"] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--bordure);
    border-radius: 3px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

form[method="get"] input,
form[method="get"] select { max-width: 220px; }

/* ---------- Pied de page ---------- */

footer {
    border-top: 1px solid var(--bordure);
    margin-top: 5rem;
    padding: 2.5rem 2rem;
    color: var(--discret);
    font-size: .9rem;
    text-align: center;
}

footer p { margin: .3rem 0; }

@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    header { flex-direction: column; align-items: flex-start; }
}


/* ---------- Page d'accueil ---------- */

.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--bordure);
}

.hero-contenu { max-width: 800px; }

.hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    margin: 0 0 1.5rem;
    line-height: 1.1;
}

.hero-texte {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--discret);
    margin-bottom: 2.5rem;
}

.bouton {
    display: inline-block;
    background: var(--dore);
    color: var(--fond);
    text-decoration: none;
    padding: .9rem 2.4rem;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: .04em;
}

.bouton:hover { background: var(--texte); color: var(--fond); }

.bouton-clair {
    background: transparent;
    color: var(--dore);
    border: 1px solid var(--dore);
}

.bouton-clair:hover { background: var(--dore); color: var(--fond); }

.bloc {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.bloc-sombre {
    max-width: none;
    background: var(--surface);
    border-top: 1px solid var(--bordure);
    border-bottom: 1px solid var(--bordure);
}

.bloc-sombre > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.bloc-titre {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 3rem;
}

.colonnes-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
}

.carte { border-top: 2px solid var(--dore); padding-top: 1.2rem; }
.carte h3 { margin: 0 0 .8rem; font-size: 1.25rem; }
.carte p  { color: var(--discret); margin: 0; }

.colonnes-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.formule {
    background: var(--fond);
    border: 1px solid var(--bordure);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.formule h3 { margin: 0 0 .6rem; font-size: 1.35rem; color: var(--texte); }
.formule-jours { color: var(--discret); font-size: .92rem; margin-bottom: 1.5rem; }

.formule-prix {
    font-family: "Shippori Mincho", Georgia, serif;
    font-size: 3rem;
    color: var(--dore);
    margin: 0 0 1.5rem;
}

.formule ul {
    text-align: left;
    color: var(--discret);
    font-size: .95rem;
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

.centre  { text-align: center; font-size: 1.1rem; }
.discret { color: var(--discret); }