/* ══════════════════════════════════════
   STYLE PARTAGÉ — Portfolio Francis
   Nuits-Saint-Georges
══════════════════════════════════════ */

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

:root {
  --burgundy: #7b1e2e;
  --burgundy-dk: #581525;
  --burgundy-lt: #9e2a3e;
  --gold: #c9a458;
  --gold-lt: #e2c07a;
  --cream: #faf8f5;
  --cream-dk: #f0ebe3;
  --text: #1c1917;
  --text-mid: #5c4f46;
  --text-light: #9c8880;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.1);
  --shadow-lg: 0 8px 48px rgba(28, 25, 23, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 30, 46, 0.08);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: var(--shadow);
}

.nav-brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--burgundy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--burgundy);
}
.nav-links a.active {
  font-weight: 700;
}

.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--burgundy-lt) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--burgundy);
  padding: 0.25rem;
}

/* ── PAGE HEADER (pages intérieures) ── */
.page-header {
  padding: 8rem 5vw 3.5rem;
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--cream-dk);
}
.page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-header .section-tag {
  margin-bottom: 0.6rem;
}

/* ── SECTION COMMUNE ── */
section {
  padding: 2rem 5vw;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.75;
}
.section-header {
  margin-bottom: 3rem;
}

/* ── BOUTONS ── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(123, 30, 46, 0.3);
}
.btn-primary:hover {
  background: var(--burgundy-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 30, 46, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 7rem 5vw 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 164, 88, 0.15);
  border: 1px solid rgba(201, 164, 88, 0.4);
  color: var(--burgundy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  width: fit-content;
}
.hero-badge::before {
  content: "📍";
  font-size: 0.85rem;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1 em {
  color: var(--burgundy);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dk);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--burgundy);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-illustration svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(123, 30, 46, 0.12));
}

/* ── À PROPOS ── */
#apropos {
  background: var(--cream);
}
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.apropos-illo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.photo-card {
  position: relative;
  width: 320px;
  flex-shrink: 0;
}
.photo-ring {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.photo-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid var(--burgundy);
  opacity: 0.3;
}
.photo-ring::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.25;
}
.photo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.photo-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 2px solid var(--cream-dk);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.photo-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ae60;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}
.photo-deco {
  position: absolute;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow);
}
.photo-deco-1 {
  top: 10px;
  right: -10px;
  background: var(--burgundy);
  color: var(--white);
}
.photo-deco-2 {
  bottom: 30px;
  left: -10px;
  background: var(--gold);
  color: var(--text);
}

.apropos-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.competences {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.competence-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.competence-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.competence-bar {
  height: 6px;
  background: var(--cream-dk);
  border-radius: 3px;
  overflow: hidden;
}
.competence-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  border-radius: 3px;
  animation: fillBar 0.8s ease forwards;
  transform-origin: left;
}
@keyframes fillBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ── PROJETS ── */
.projects-section {
  background: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}
.project-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.project-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.project-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}
.tag {
  background: rgba(123, 30, 46, 0.08);
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

/* Browser mockup */
.browser-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.browser-bar {
  height: 32px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.75rem;
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.browser-dots span:nth-child(1) {
  background: #ff5f57;
}
.browser-dots span:nth-child(2) {
  background: #febc2e;
}
.browser-dots span:nth-child(3) {
  background: #28c840;
}
.browser-url {
  flex: 1;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: monospace;
}
.project-gif {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: top;
  display: block;
  min-height: 0;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}
.project-thumb:hover .project-gif {
  transform: scale(1.04);
}

/* ── SERVICES ── */
.services-section {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(123, 30, 46, 0.06);
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--burgundy);
  box-shadow: 0 4px 20px rgba(123, 30, 46, 0.1);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.service-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── PROCESSUS ── */
.processus-section {
  background: var(--cream-dk);
}
.processus-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}
.processus-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(123, 30, 46, 0.15);
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}
.step:hover .step-num {
  background: var(--burgundy);
  transform: scale(1.08);
}
.step-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}
.step-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── LOCALE ── */
.locale-section {
  background: var(--burgundy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.locale-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
}
.locale-section .section-inner {
  position: relative;
}
.locale-section .section-tag {
  color: var(--gold);
}
.locale-section h2 {
  color: var(--white);
}
.locale-section .section-intro {
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
}
.locale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.locale-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background 0.3s;
}
.locale-card:hover {
  background: rgba(255, 255, 255, 0.14);
}
.locale-card .lc-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.locale-card .lc-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--gold-lt);
}
.locale-card .lc-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.locale-cta {
  margin-top: 3rem;
  text-align: center;
}
.locale-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info p {
  color: var(--text-mid);
  line-height: 1.75;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(123, 30, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-dk);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 30, 46, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  background: var(--burgundy);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(123, 30, 46, 0.25);
  align-self: flex-start;
}
.form-submit:hover {
  background: var(--burgundy-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 30, 46, 0.3);
}
.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  min-height: 1rem;
  display: block;
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.form-group input.valid,
.form-group textarea.valid {
  border-color: #27ae60;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
  animation: lbIn 0.2s ease;
}
#lightbox.open {
  display: flex;
}
@keyframes lbIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: lbScale 0.25s ease;
  cursor: default;
}
@keyframes lbScale {
  from {
    transform: scale(0.88);
  }
  to {
    transform: scale(1);
  }
}
#lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
#lightbox-caption {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── CTA INTER-PAGES ── */
.cta-band {
  background: var(--white);
  padding: 4rem 5vw;
  text-align: center;
  border-top: 1px solid var(--cream-dk);
}
.cta-band h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.cta-band p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}
.cta-band .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.875rem;
}
footer strong {
  color: rgba(255, 255, 255, 0.9);
}
footer a {
  color: var(--gold-lt);
  text-decoration: none;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--gold-lt);
}

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── BANNIÈRE COOKIE ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.1rem 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(28, 25, 23, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
#cookie-banner.visible {
  transform: translateY(0);
}
#cookie-banner p {
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
  margin: 0;
}
#cookie-banner a {
  color: var(--gold-lt);
  text-decoration: underline;
}
.cookie-btn-accept {
  background: var(--burgundy);
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cookie-btn-accept:hover {
  background: var(--burgundy-lt);
}
.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.cookie-btn-decline:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    width: 100%;
    text-align: center;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #hero .hero-actions {
    justify-content: center;
  }
  #hero .hero-stats {
    justify-content: center;
  }
  #hero .hero-sub {
    margin: 0 auto;
  }
  .hero-illustration {
    display: none;
  }
  .apropos-grid {
    grid-template-columns: 1fr;
  }
  .photo-card {
    width: 220px;
  }
  .photo-ring {
    width: 200px;
    height: 200px;
  }
  .photo-deco-1,
  .photo-deco-2 {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  nav {
    padding: 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.97);
    border-bottom: 1px solid rgba(123, 30, 46, 0.1);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
  }
  .nav-toggle {
    display: block;
  }
  .processus-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .processus-steps::before {
    display: none;
  }
}
@media (max-width: 600px) {
  section {
    padding: 3.5rem 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .processus-steps {
    grid-template-columns: 1fr;
  }
  .page-header {
    padding: 6rem 1.5rem 2.5rem;
  }
}
