/**
 * SEEA — Société des Études Euro-Asiatiques
 * Fichier  : assets/style.css — feuille de style du site
 * Version  : 2.2.1 (03/12/2026)
 * © Karel de Gendre — 1996–2026 — creation-websites.com
 */

:root {
  --brown-dark: #2a1f1a;
  --brown-mid: #3d2b1f;
  --terracotta: #c0542a;
  --terracotta-light: #d4632f;
  --beige: #f4f1ec;
  --beige-dark: #e8e2d9;
  --text-dark: #1a1410;
  --text-mid: #4a3f38;
  --text-light: #8a7d74;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--beige);
  color: var(--text-dark);
  font-weight: 300;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-logo img {
  height: 52px;
  width: auto;
}

.navbar-logo-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brown-dark);
  line-height: 1.3;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.navbar-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-dark);
  border-bottom-color: var(--terracotta);
}

.btn-membres {
  background: var(--brown-dark);
  color: var(--white) !important;
  border: none !important;
  padding: 0.6rem 1.2rem !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  transition: background 0.2s !important;
}

.btn-membres:hover {
  background: var(--terracotta) !important;
  border-bottom-color: transparent !important;
  color: var(--white) !important;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 4rem;
  overflow: hidden;
  background: var(--brown-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,18,12,0.75) 40%, rgba(30,18,12,0.4));
  z-index: 1;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(40%) brightness(0.6);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
}

.hero-banner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-banner p {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 4rem; }
.section-sm { padding: 3rem 4rem; }

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 3rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* ===== TERRACOTTA BAND ===== */
.band-terracotta {
  background: var(--terracotta);
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.band-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.band-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.band-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.85);
  fill: none;
  stroke-width: 1.5;
}

.band-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.band-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.5;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover { background: #a8471f; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6) !important;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-mid) !important;
}
.btn-outline-dark:hover { background: var(--text-dark); color: var(--white); }

.btn-text {
  background: none;
  color: var(--terracotta);
  padding: 0;
  font-size: 0.9rem;
}
.btn-text:hover { color: #a8471f; }

/* ===== FOOTER ===== */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== FILTERS TABS ===== */
.filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--beige-dark);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
}

/* ===== CONFERENCE LIST ITEM ===== */
.conf-item {
  display: flex;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  margin-bottom: 1rem;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.conf-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.conf-date-block {
  min-width: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.conf-date-block .day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
}

.conf-date-block .month {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.conf-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.conf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
  color: var(--text-light);
  margin-top: 0.4rem;
}

.conf-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ===== EVENTS GRID ===== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  padding: 1.8rem;
  transition: box-shadow 0.2s;
}

.event-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.event-tag {
  display: inline-block;
  background: var(--beige-dark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--text-mid);
}

.event-dates {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.event-card .location {
  font-size: 0.83rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.event-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ===== PUBLICATIONS ===== */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pub-card { background: var(--white); border: 1px solid var(--beige-dark); }

.pub-cover {
  height: 220px;
  overflow: hidden;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-cover img { width: 100%; height: 100%; object-fit: cover; }

.pub-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.pub-cover-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 1;
}

.pub-body { padding: 1.5rem; }

.pub-year {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pub-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.pub-body .author {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.pub-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-icon svg {
  width: 16px; height: 16px;
  stroke: var(--terracotta);
  fill: none;
  stroke-width: 1.8;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-detail-text span {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== FORM ===== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.form-group label span { color: var(--terracotta); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--beige-dark);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group input:focus,
.form-group textarea:focus { border-color: var(--terracotta); }

.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== ABOUT PAGE ===== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 4rem;
}

.about-section.reverse { direction: rtl; }
.about-section.reverse > * { direction: ltr; }

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.about-img {
  height: 380px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem;
  background: var(--beige-dark);
}

.value-item {
  padding: 2rem;
  background: var(--white);
}

.value-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--terracotta);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.value-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.value-item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ===== HOME HERO ===== */
.home-hero {
  min-height: 520px;
  background: var(--brown-dark);
  position: relative;
  display: flex;
  align-items: center;
  padding: 4rem;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(30%) brightness(0.45);
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,12,8,0.75) 50%, rgba(20,12,8,0.2));
  z-index: 1;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.home-hero-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.home-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.home-hero p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.home-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== ABOUT PREVIEW (home) ===== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}

.about-preview-text {
  padding: 5rem 4rem;
  background: var(--beige);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-preview-text p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.about-preview-img {
  overflow: hidden;
}

.about-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONF CARDS (home) ===== */
.conf-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.conf-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  padding: 1.8rem;
  transition: box-shadow 0.2s;
}

.conf-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.conf-card .date-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}

.conf-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.conf-card .speaker {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== MEMBERS ===== */
.members-hero-note {
  background: var(--brown-dark);
  padding: 4rem;
  text-align: center;
  color: var(--white);
}

.members-hero-note h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.members-hero-note p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .section, .section-sm { padding: 3rem 1.5rem; }
  .hero-banner { padding: 2rem 1.5rem; }
  .hero-banner h1 { font-size: 2rem; }
  .band-terracotta { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-preview, .about-section, .contact-grid { grid-template-columns: 1fr; }
  .conf-cards-grid, .pub-grid, .values-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .home-hero { padding: 2rem 1.5rem; }
  footer { padding: 3rem 1.5rem 1.5rem; }
}

/* ===== MENU HAMBURGER MOBILE ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 150;
  flex-direction: column;
  padding: 100px 2rem 2rem;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--beige-dark);
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--terracotta); }
.mobile-menu .btn-membres-mob {
  margin-top: 1.5rem;
  background: var(--brown-dark);
  color: var(--white) !important;
  text-align: center;
  padding: 1rem !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none !important;
}

@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
}

/* ===== CHROME PERFORMANCE ===== */
.navbar { contain: layout style; }
.hero-banner, /* home section */
.home-sand { contain: layout; }
.pub-card, .conf-item, .event-card, .ev-card {
  contain: layout style;
  transform: translateZ(0); /* force GPU layer */
}
.modal-backdrop { contain: layout style paint; }
img { content-visibility: auto; }

/* ===== PHP SITE SPECIFIQUE ===== */
.home-sand {
  background:#e8e0d0;
  padding:4rem 4rem 3rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  min-height:520px;
  justify-content:center;
}
.home-sand-deco { position:absolute;inset:0;width:100%;height:100%;opacity:.06;pointer-events:none; }
.home-sand-inner { position:relative;z-index:1;max-width:700px; }
.home-sand h1 { font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3.6rem);font-weight:300;color:var(--text-dark);line-height:1.1;margin-bottom:1.2rem; }
.home-sand p.sub { font-size:1rem;font-weight:300;color:var(--text-mid);line-height:1.7;margin-bottom:2rem;max-width:520px;margin-left:auto;margin-right:auto; }
.home-sand-btns { display:flex;gap:1rem;justify-content:center;flex-wrap:wrap; }
.home-hero {
  min-height:520px;
  background:var(--brown-dark);
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
  padding:4rem;
  overflow:hidden;
}
.home-hero::before {
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(to right,rgba(20,12,8,.72) 50%,rgba(20,12,8,.25));
  z-index:1;
}
.home-hero-content { position:relative;z-index:2;max-width:700px; }
.home-hero-label { font-size:.72rem;font-weight:400;letter-spacing:.25em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:1.5rem; }
.home-hero h1 { font-family:'Cormorant Garamond',serif;font-size:clamp(2.6rem,5vw,5rem);font-weight:300;color:#fff;line-height:1.05;margin-bottom:1.4rem; }
.home-hero p { font-size:1rem;font-weight:300;color:rgba(255,255,255,.75);line-height:1.7;margin-bottom:2.5rem;max-width:520px; }
.home-hero-btns { display:flex;gap:1rem;flex-wrap:wrap; }
.ev-card { background:#fff;border:1px solid var(--beige-dark);overflow:hidden;transition:box-shadow .2s; }
.ev-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.09); }
.ev-card-img { height:200px;overflow:hidden;background:var(--beige-dark); }
.ev-card-body { padding:1.5rem; }
.ev-card-img-placeholder { display:flex;align-items:center;justify-content:center;height:100%; }
.hero-banner {
  position:relative;
  height:300px;
  display:flex;
  align-items:flex-end;
  padding:2.5rem 4rem;
  overflow:hidden;
  background:var(--brown-dark);
  background-size:cover;
  background-position:center;
}
.hero-banner::before {
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(to right,rgba(30,18,12,.75) 40%,rgba(30,18,12,.4));
  z-index:1;
}
.hero-banner-content { position:relative;z-index:2; }
.hero-banner-content h1 { font-family:'Cormorant Garamond',serif;font-size:3rem;font-weight:400;color:#fff;line-height:1.1;margin-bottom:.5rem; }
.hero-banner-content p { font-family:'Jost',sans-serif;font-size:.95rem;font-weight:300;color:rgba(255,255,255,.75); }
@media(max-width:900px){
  .home-sand,.home-hero { padding:2rem 1.5rem;min-height:400px; }
  .hero-banner { padding:2rem 1.5rem;height:220px; }
  .hero-banner-content h1 { font-size:2rem; }
}


/* ===== v2.0.0 — MENU « LA SEEA », RUBRIQUES, ACTUALITÉS, BUREAU ===== */
.navbar-nav { gap: 1.6rem; }
.nav-drop { position: relative; }
.nav-caret { font-size: .65rem; opacity: .6; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: -1rem; min-width: 230px;
  background: #fff; border: 1px solid var(--beige-dark); box-shadow: 0 10px 30px rgba(40,25,15,.10);
  list-style: none; padding: .5rem 0; margin-top: .6rem; z-index: 300;
}
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: block; }
.nav-sub li a { display: block; padding: .55rem 1.2rem; border-bottom: none !important; font-size: .87rem; }
.nav-sub li a:hover, .nav-sub li a.active { background: var(--beige); color: var(--terracotta); }
.mobile-menu { overflow-y: auto; }
.mobile-menu .mob-group { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); padding: 1rem 0 .2rem; }
.mobile-menu a.mob-sub { font-size: 1.35rem; padding-left: 1rem; }
@media (max-width: 1150px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
}

.rub-section { padding-top: 2.5rem; }
.rub-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2.5rem; }
.rub-nav a { padding: .45rem 1rem; font-size: .8rem; letter-spacing: .03em; border: 1px solid var(--beige-dark); background: #fff; color: var(--text-mid); }
.rub-nav a:hover, .rub-nav a.active { background: var(--brown-dark); border-color: var(--brown-dark); color: #fff; }
.rub-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; }
.rub-layout.rub-single { grid-template-columns: 1fr; max-width: 860px; }
.rub-img img { width: 100%; max-height: 520px; object-fit: cover; border: 1px solid var(--beige-dark); }
.rub-text { font-size: .98rem; line-height: 1.85; color: var(--text-mid); }
.rub-text p { margin-bottom: 1.1rem; }
.rub-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; font-weight: 400; color: var(--text-dark); margin: 2rem 0 .8rem; padding-left: .9rem; border-left: 3px solid var(--terracotta); line-height: 1.25; }
.rub-text h3:first-child { margin-top: 0; }
.rub-text ul { list-style: none; margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem 1.5rem; }
.rub-text li { position: relative; padding: .55rem .8rem .55rem 1.6rem; background: #fff; border: 1px solid var(--beige-dark); font-size: .92rem; line-height: 1.5; }
.rub-text li::before { content: ''; position: absolute; left: .7rem; top: 1.05rem; width: 5px; height: 5px; background: var(--terracotta); border-radius: 50%; }
.rub-text strong { font-weight: 500; color: var(--text-dark); }
.rub-intro { max-width: 860px; margin-bottom: 2.5rem; }
.rub-h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; margin: 2rem 0 1.2rem; color: var(--text-dark); }
.rub-empty { color: var(--text-light); font-style: italic; margin-bottom: 1.5rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.team-card { background: #fff; border: 1px solid var(--beige-dark); padding: 1.5rem 1.2rem; text-align: center; }
.team-card img, .team-initial { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; }
.team-initial { background: var(--terracotta); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; line-height: 96px; }
.team-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; margin-bottom: .3rem; }
.team-fn { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .2rem; }
.team-inst { font-size: .85rem; color: var(--text-light); }
.back-link { font-size: .83rem; color: var(--text-light); display: inline-flex; gap: .3rem; margin-bottom: 1.5rem; }
.article-body { max-width: 820px; }
.article-chapo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; line-height: 1.5; color: var(--text-dark); margin-bottom: 1.8rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .rub-layout { grid-template-columns: 1fr; gap: 2rem; }
  .rub-text ul { grid-template-columns: 1fr; }
}

/* ===== Œil afficher / masquer le mot de passe (v2.2.1) ===== */
.pwd-wrap { position: relative; display: block; width: 100%; }
.pwd-wrap input { padding-right: 3rem !important; }
.pwd-eye {
  position: absolute; top: 50%; right: .6rem; transform: translateY(-50%);
  background: none; border: 0; padding: .35rem; margin: 0;
  cursor: pointer; color: var(--text-light, #888); line-height: 0;
  opacity: .75; transition: opacity .2s, color .2s;
}
.pwd-eye:hover, .pwd-eye:focus-visible { opacity: 1; color: var(--terracotta); outline: none; }
.login-box .pwd-eye { color: rgba(255,255,255,.6); }
