/* ──────────────────────────────────────────────
   Atelier Doublage — Isulacciu di Fium'Orbu 2026
   Web Design v2 — Luxury Editorial
   ────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --or:          #b8962e;
  --or-clair:    #d4af5a;
  --or-pale:     #f0e4bb;
  --or-glow:     rgba(184,150,46,0.18);
  --noir:        #0f0f0f;
  --noir-soft:   #1c1c1c;
  --gris:        #555;
  --gris-clair:  #888;
  --gris-ultra:  #bbb;
  --creme:       #faf6ef;
  --creme-warm:  #f5efe3;
  --blanc:       #ffffff;
  --rouge:       #b03025;
  --vert:        #2a7332;
  --border:      #e6dfd0;
  --border-gold: rgba(184,150,46,0.35);
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.07), 0 1px 6px rgba(0,0,0,0.04);
  --shadow-form: 0 8px 48px rgba(0,0,0,0.10), 0 2px 12px rgba(184,150,46,0.08);
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Header ─── */
header.site-header {
  border-top: 4px solid var(--or);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--blanc);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.97);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.brand .title {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--noir);
}
.brand .subtitle {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--or);
  margin-top: 2px;
}
.brand .meta {
  font-size: 12.5px;
  color: var(--gris);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.brand .meta strong { font-weight: 600; color: var(--noir); }

.header-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}
.header-hours {
  text-align: right;
}
.header-hours .h {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--noir);
}
.header-hours .a {
  display: inline-block;
  background: var(--or);
  color: var(--blanc);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 2px;
  margin-top: 5px;
}

/* ─── Hero ─── */
.hero {
  background: var(--noir);
  color: var(--blanc);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(184,150,46,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(184,150,46,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--or) 30%, var(--or-clair) 50%, var(--or) 70%, transparent 100%);
}
.hero .container { position: relative; }
.hero h1 {
  font-family: var(--ff-display);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 em {
  font-style: italic;
  color: var(--or-clair);
}
.hero .lead {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-top: 22px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.hero .cta-btn {
  display: inline-block;
  margin-top: 34px;
  background: var(--or);
  color: var(--noir);
  padding: 14px 36px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(184,150,46,0.35);
}
.hero .cta-btn:hover {
  background: var(--or-clair);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,150,46,0.45);
}

/* ─── Sections ─── */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }

/* Label section – style élégant avec trait décoratif */
.label-section {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--or);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.label-section::before,
.label-section::after {
  content: '';
  display: block;
  height: 1px;
  width: 28px;
  background: var(--or);
  opacity: 0.6;
}

h2.section-title {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 22px;
}
p { margin-bottom: 14px; }

/* ─── Info grid ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.info-card {
  background: var(--creme);
  padding: 20px 22px;
  border-radius: 3px;
  border-left: 3px solid var(--or);
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.info-card .l {
  color: var(--or);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.info-card .v {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--noir);
}

/* ─── Intervenants ─── */
.intervenants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.intervenant-card {
  background: var(--creme);
  padding: 28px 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.2s;
  border: 1px solid transparent;
}
.intervenant-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--border-gold);
  transform: translateY(-3px);
}
.intervenant-card .photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #e8e2d2;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
  border: 3px solid var(--blanc);
  box-shadow: 0 0 0 2px var(--border-gold), 0 4px 14px rgba(0,0,0,0.1);
}
.intervenant-card .icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--or);
  margin-bottom: 18px;
  background: var(--blanc);
  border-radius: 50%;
  border: 1px solid var(--border-gold);
}
.intervenant-card .num {
  color: var(--or);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.intervenant-card .name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--noir);
  line-height: 1.1;
}
.intervenant-card .role {
  color: var(--or);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 12px;
}
.intervenant-card .bio {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.6;
}
.intervenant-card .voix {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 10px;
  line-height: 1.5;
  font-style: italic;
}

/* ─── FORMULAIRE — Encadré Premium ─── */
section#reservation {
  background: linear-gradient(160deg, var(--creme-warm) 0%, var(--creme) 60%, #f9f5ed 100%);
  position: relative;
}
section#reservation::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
}

/* Label centré pour la section réservation */
section#reservation .label-section {
  display: flex;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 18px;
}

.form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--blanc);
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-form);
  overflow: hidden;
  position: relative;
}

/* Bandeau doré en tête du formulaire */
.form-wrap::before {
  content: '✦  Formulaire d\'inscription  ✦';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--noir);
  color: var(--or);
  font-family: var(--ff-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  text-align: center;
}
/* Trait doré sous le bandeau */
.form-wrap::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or), var(--or-clair), var(--or), transparent);
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
}

/* Contenu intérieur du formulaire */
.form-wrap > *:not(.alert) {
  position: relative;
}
form {
  padding: 36px 44px 40px;
}

.form-row {
  margin-bottom: 20px;
}
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 7px;
  color: var(--noir);
  letter-spacing: 0.01em;
}
label .req { color: var(--rouge); }

input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  background: var(--blanc);
  color: var(--noir);
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--or);
  box-shadow: 0 0 0 3px var(--or-glow);
}
input:hover:not(:focus), select:hover:not(:focus), textarea:hover:not(:focus) {
  border-color: #c8bfa8;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
select option:disabled { color: #aaa; }

/* Séparateur visuel avant le checkbox */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 26px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.checkbox-row input[type=checkbox] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--or);
  width: 15px;
  height: 15px;
}

button.btn-submit {
  background: var(--noir);
  color: var(--blanc);
  border: none;
  padding: 15px 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  width: 100%;
  position: relative;
  overflow: hidden;
}
button.btn-submit::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--or);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}
button.btn-submit:hover {
  background: var(--noir-soft);
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
button.btn-submit:hover::after { transform: scaleX(1); }
button.btn-submit:disabled { background: #999; cursor: not-allowed; transform: none; box-shadow: none; }

.alert {
  padding: 14px 20px;
  border-radius: 0;
  margin-bottom: 0;
  font-size: 13.5px;
}
.alert-error {
  background: #fdf2f0;
  color: var(--rouge);
  border-left: 4px solid var(--rouge);
}
.alert-success {
  background: #edf7ee;
  color: var(--vert);
  border-left: 4px solid var(--vert);
}

/* Note champs obligatoires */
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--gris-clair);
  margin-top: 14px;
}

/* ─── Partenaires ─── */
.partenaire {
  background: var(--creme);
  padding: 22px 24px;
  border-radius: 4px;
  border-left: 3px solid var(--or);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  margin-top: 16px;
  transition: box-shadow 0.2s;
}
.partenaire:hover { box-shadow: var(--shadow-soft); }
.partenaire .who { font-weight: 700; font-size: 15px; }
.partenaire .what { color: var(--gris); font-size: 14px; }

/* ─── CTA bottom ─── */
.cta-bottom {
  background: var(--noir);
  color: var(--blanc);
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.cta-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(184,150,46,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bottom::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
  border-top: 2px solid var(--or);
  border-bottom: 2px solid var(--or);
  pointer-events: none;
}
.cta-bottom .container { position: relative; }
.cta-bottom h3 {
  font-family: var(--ff-display);
  font-size: 34px;
  font-weight: 600;
  font-style: italic;
  color: var(--blanc);
}
.cta-bottom .resto {
  color: var(--or-clair);
  font-weight: 600;
  margin-top: 8px;
  font-size: 15px;
}
.cta-bottom .when {
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

/* ─── Footer ─── */
footer.site-footer {
  background: var(--blanc);
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: var(--gris-clair);
  font-size: 12.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ─── Merci page ─── */
.merci-page {
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.merci-page .check {
  font-size: 80px;
  color: var(--or);
  margin-bottom: 20px;
}
.merci-page h1 {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 16px;
}
.merci-page .resume {
  background: var(--creme);
  padding: 24px;
  border-radius: 4px;
  margin: 30px 0;
  text-align: left;
  border-left: 3px solid var(--or);
}
.merci-page .resume dt {
  font-weight: 700;
  font-size: 11px;
  color: var(--or);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
}
.merci-page .resume dt:first-child { margin-top: 0; }
.merci-page .resume dd {
  font-family: var(--ff-display);
  font-size: 17px;
  margin: 2px 0 0;
}
.merci-page a.retour {
  display: inline-block;
  margin-top: 20px;
  color: var(--or);
  font-weight: 600;
  text-decoration: none;
}
.merci-page a.retour:hover { text-decoration: underline; }

/* ─── Admin ─── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
  background: var(--blanc);
}
.admin-table th, .admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  background: var(--creme);
  color: var(--or);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-table tr.annule { opacity: 0.5; text-decoration: line-through; }

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; text-align: center; }
  .header-hours { text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero { padding: 52px 0; }
  section { padding: 48px 0; }
  h2.section-title { font-size: 30px; }
  .form-wrap::before { font-size: 13px; padding: 12px 16px; }
  form { padding: 24px 22px 28px; }
  .form-row.two { grid-template-columns: 1fr; }
  .partenaire { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
