/* alcazar-de-seville.fr — style.css?v=1 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --terracotta: #8B3A2A;
  --terracotta-dark: #6B2A1C;
  --gold: #C4973A;
  --gold-light: #E8C97A;
  --cream: #FAF6EF;
  --white: #FFFFFF;
  --text-main: #1E1410;
  --text-mid: #4A3728;
  --text-soft: #7A6558;
  --border: #E2D5C4;
  --shadow: rgba(139,58,42,0.12);
  --max-w: 920px;
}

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

img { max-width: 100%; height: auto; display: block; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--cream);
}

/* ===== HEADER ===== */
.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--terracotta);
  box-shadow: 0 2px 12px var(--shadow);
}
.entete-interieur {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.logo-alcazar {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-alcazar .hl-terra { color: var(--terracotta); }

.nav-principale {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-principale a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  transition: color .2s;
}
.nav-principale a:hover { color: var(--terracotta); }

.btn-achat {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white) !important;
  padding: .55rem 1.3rem;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.btn-achat:hover { background: var(--terracotta-dark) !important; color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--terracotta); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.bloc-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  background: #1a0f09;
}
.hero-img-fond {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .65;
  display: block !important;
  height: 100% !important;
}
.hero-contenu {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}
.hero-fil { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; letter-spacing: .04em; }
.hero-fil a { color: rgba(255,255,255,.7); text-decoration: none; }
.hero-fil a:hover { color: var(--gold-light); }
.hero-fil .sep { margin: 0 .5rem; }
.hero-contenu h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-contenu .sous-titre {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  max-width: 580px;
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.btn-hero {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-hero:hover { background: #a87e2c; transform: translateY(-1px); }

/* ===== MAIN CONTENT ===== */
.contenu-principal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.bloc-article { padding-top: 2.5rem; }

.bloc-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.bloc-article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--terracotta);
  margin: 1.4rem 0 .7rem;
}

.bloc-article p { margin-bottom: 1rem; color: var(--text-mid); }
.bloc-article p:last-child { margin-bottom: 0; }

.bloc-article strong { color: var(--text-main); font-weight: 600; }

.bloc-article ul, .bloc-article ol {
  margin: .8rem 0 1rem 1.4rem;
  color: var(--text-mid);
}
.bloc-article li { margin-bottom: .4rem; }

/* Section photo */
.photo-section {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  margin: 1.4rem 0 1.6rem;
}

/* ===== WIDGET ZONE ===== */
.zone-widget {
  margin: 2rem 0;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ===== PARTNER CARD (billets page) ===== */
.carte-partenaire {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 1.6rem 1.8rem;
  margin: 1.8rem 0;
}
.carte-partenaire h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.avantages-liste {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.avantages-liste li {
  padding: .35rem 0 .35rem 1.6rem;
  position: relative;
  color: var(--text-mid);
  font-size: .95rem;
}
.avantages-liste li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== TABLES ===== */
.tbl-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border-radius: 4px; }
.tbl-prix, .tbl-plateformes {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 320px;
}
.tbl-prix th, .tbl-plateformes th {
  background: var(--terracotta);
  color: var(--white);
  padding: .7rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tbl-prix td, .tbl-plateformes td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.tbl-prix tr:last-child td, .tbl-plateformes tr:last-child td { border-bottom: none; }
.tbl-prix tr:nth-child(even) td, .tbl-plateformes tr:nth-child(even) td { background: #fdf9f4; }

.prix-cell { font-weight: 600; color: var(--terracotta); white-space: nowrap; }

/* Mobile tables */
@media (max-width: 600px) {
  .tbl-prix thead, .tbl-plateformes thead { display: none; }
  .tbl-prix tr, .tbl-plateformes tr { display: block; margin-bottom: .8rem; border: 1px solid var(--border); border-radius: 4px; }
  .tbl-prix td, .tbl-plateformes td {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border); padding: .55rem .9rem;
  }
  .tbl-prix td::before { content: attr(data-label); font-weight: 600; color: var(--text-main); margin-right: .5rem; }
  .tbl-plateformes td::before { content: attr(data-label); font-weight: 600; color: var(--text-main); margin-right: .5rem; }
}

/* ===== FAQ ACCORDION ===== */
.faq-corps { margin-top: 1.5rem; }

.faq-entree {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: .8rem;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-entree.ouverte {
  box-shadow: 0 3px 16px var(--shadow);
  border-color: var(--gold);
}
.faq-declencheur {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  gap: 1rem;
  user-select: none;
}
h2.faq-question {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
  border: none;
  padding: 0;
  display: inline;
}
.faq-icone {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold);
  transition: transform .25s, background .2s, border-color .2s;
  line-height: 1;
}
.faq-entree.ouverte .faq-icone {
  transform: rotate(45deg);
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}
.faq-reponse {
  display: none;
  padding: 0 1.4rem 1.3rem;
  border-top: 1px solid var(--border);
}
.faq-entree.ouverte .faq-reponse { display: block; }
.faq-reponse p { margin-top: .9rem; color: var(--text-mid); font-size: .97rem; }

/* ===== FOOTER ===== */
.pied-page {
  background: var(--text-main);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 1.5rem 1.5rem;
}
.pied-grille {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.pied-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .9rem;
}
.pied-logo .hl-or { color: var(--gold); }
.pied-page p { font-size: .875rem; margin-bottom: .5rem; line-height: 1.6; }
.pied-page a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.pied-page a:hover { color: var(--gold); }
.pied-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: .03em;
}
.pied-nav { list-style: none; }
.pied-nav li { margin-bottom: .45rem; }
.pied-nav a { font-size: .875rem; }
.pied-fond {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* ===== BREADCRUMB ===== */
.fil-ariane {
  font-size: .82rem;
  color: var(--text-soft);
  padding: .8rem 0 0;
}
.fil-ariane a { color: var(--text-soft); text-decoration: none; }
.fil-ariane a:hover { color: var(--terracotta); }
.fil-ariane .sep { margin: 0 .45rem; }

/* ===== UTILITY ===== */
.section-entete { padding: 2rem 0 1rem; }
.section-entete h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: .5rem;
}
.section-entete p { color: var(--text-mid); max-width: 640px; }

.texte-ancre { color: var(--terracotta); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.texte-ancre:hover { border-color: var(--terracotta); }

.badge-unesco {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 2px;
  margin-bottom: .8rem;
}

.adresse-bloc {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: .92rem;
  color: var(--text-mid);
}
.adresse-bloc strong { display: block; color: var(--text-main); margin-bottom: .3rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-principale { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem 1.5rem; border-bottom: 2px solid var(--terracotta); box-shadow: 0 4px 12px var(--shadow); gap: .8rem; }
  .nav-principale.ouverte { display: flex; }
  .nav-toggle { display: block; }
  .pied-grille { grid-template-columns: 1fr; gap: 1.8rem; }
  .bloc-hero { min-height: 360px; }
  .hero-contenu { padding: 3.5rem 1.2rem 3rem; }
}

@media (max-width: 480px) {
  .entete-interieur { padding: 0 1rem; }
  .contenu-principal { padding: 0 1rem 3rem; }
  .hero-contenu h1 { font-size: 1.75rem; }
}
