/* ============================================================
   PHOTOLIVE • CSS GLOBAL
   ============================================================
   LE seul fichier CSS du site • Tout est centralisé ici
   Pour changer la charte du site, modifie les variables en haut

   @author  VALIA Agency
   @version 1.0
   ============================================================ */


/* ============================================================
   1 • VARIABLES (modifiables pour changer toute la charte)
   ============================================================ */
:root {
  /* ========== COULEURS ========== */
  --ivory:        #FAF7F2;
  --ivory-deep:   #F2EDE3;
  --gold:         #C9A961;
  --gold-soft:    #D4B978;
  --gold-deep:    #A88845;
  --ink:          #1A1A1A;
  --ink-soft:     #3D3D3D;
  --pearl:        #8B8680;
  --pearl-light:  #B8B3AD;
  --line:         #E8E2D5;
  --white:        #FFFFFF;
  --grey-bg:      #F5F1EA;

  /* États */
  --success:       #5C9577;
  --success-soft:  #C8DDD3;
  --warning:       #D4A057;
  --error:         #B8755C;
  --error-soft:    #E8C9BE;
  --danger:        #A0432D;
  --danger-soft:   #F5DAD0;

  /* Couleur d'accent événement (peut être surchargée par événement) */
  --accent:       #C9A961;
  --accent-soft:  #D4B978;
  --accent-deep:  #A88845;

  /* ========== TYPOGRAPHIES ========== */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo:   'Italiana', serif;

  /* ========== ESPACEMENTS ========== */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* ========== BORDER RADIUS ========== */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 20px;
  --radius-full: 50%;

  /* ========== OMBRES ========== */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);

  /* ========== ANIMATIONS ========== */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --transition:  all 0.3s var(--ease);
}


/* ============================================================
   2 • RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-size: 14px;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ============================================================
   3 • TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: 44px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  color: var(--gold-deep);
}

p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

.text-italic { font-style: italic; }
.text-serif  { font-family: var(--font-serif); }
.text-center { text-align: center; }
.text-gold   { color: var(--gold-deep); }
.text-pearl  { color: var(--pearl); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--pearl);
}


/* ============================================================
   4 • LOGO & MARQUE
   ============================================================ */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.brand-name-accent { color: var(--gold-deep); }
.brand-tagline {
  font-family: var(--font-sans);
  font-size: 7px;
  color: var(--gold-deep);
  letter-spacing: 2.5px;
  font-weight: 500;
  line-height: 1;
}


/* ============================================================
   5 • BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168, 136, 69, 0.25);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger-soft);
}
.btn-danger:hover {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.btn-lg { padding: 15px 32px; font-size: 12px; letter-spacing: 2px; }
.btn-sm { padding: 8px 16px; font-size: 10px; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   6 • FORMULAIRES
   ============================================================ */
.form-field { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.textarea { min-height: 100px; resize: vertical; }

.select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%238B8680' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-help {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--pearl);
  margin-top: 6px;
  line-height: 1.4;
}


/* ============================================================
   7 • CARTES
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
}

.card-head {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}


/* ============================================================
   8 • BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold-deep);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.badge-success { background: rgba(92, 149, 119, 0.1); color: var(--success); }
.badge-error   { background: rgba(184, 117, 92, 0.1); color: var(--error); }


/* ============================================================
   9 • FLASH MESSAGES (notifications)
   ============================================================ */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.flash-success {
  background: rgba(92, 149, 119, 0.08);
  border-left: 3px solid var(--success);
  color: var(--success);
}
.flash-error {
  background: rgba(184, 117, 92, 0.08);
  border-left: 3px solid var(--error);
  color: var(--error);
}
.flash-info {
  background: rgba(201, 169, 97, 0.08);
  border-left: 3px solid var(--gold);
  color: var(--gold-deep);
}
.flash-warning {
  background: rgba(212, 160, 87, 0.08);
  border-left: 3px solid var(--warning);
  color: var(--warning);
}


/* ============================================================
   10 • HEADER PUBLIC (pages publiques)
   ============================================================ */
.public-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.public-header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.public-header-link {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.public-header-link:hover { color: var(--gold-deep); }


/* ============================================================
   11 • FOOTER PUBLIC
   ============================================================ */
.public-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 40px;
  text-align: center;
}
.public-footer-baseline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--pearl);
  margin-bottom: 18px;
}
.public-footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.public-footer-link {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
}
.public-footer-link:hover { color: var(--gold-deep); }
.public-footer-copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--pearl);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================================
   12 • PAGE D'ACCUEIL (sections spécifiques)
   ============================================================ */

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(201, 169, 97, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 75% 65%, rgba(212, 185, 120, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--ivory) 0%, var(--ivory-deep) 100%);
}
.hero-content {
  text-align: center;
  max-width: 880px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--pearl);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 30px auto;
  opacity: 0.7;
  position: relative;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: var(--radius-full);
  transform: translateY(-50%);
  opacity: 0.7;
}
.hero-divider::before { left: -8px; }
.hero-divider::after  { right: -8px; }

/* SECTION */
.section {
  padding: 100px 40px;
}
.section-bg-ivory  { background: var(--ivory); }
.section-bg-white  { background: var(--white); }
.section-bg-grey   { background: var(--grey-bg); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold-deep); }
.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--pearl);
  line-height: 1.5;
}

/* FEATURES GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature {
  text-align: center;
  padding: 36px 24px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: var(--radius-full);
  background: rgba(201, 169, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-deep);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.feature-title em { font-style: italic; color: var(--gold-deep); }
.feature-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--pearl);
  line-height: 1.6;
}


/* ============================================================
   13 • UTILITAIRES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-sm { max-width: 720px; }
.container-md { max-width: 960px; }
.container-lg { max-width: 1200px; }
.container-xl { max-width: 1400px; }

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }

.hidden { display: none !important; }


/* ============================================================
   14 • ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.8s var(--ease);
}


/* ============================================================
   15 • RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .public-header { padding: 16px 20px; flex-wrap: wrap; gap: 14px; }
  .public-header-nav { gap: 18px; }
  .hero { padding: 60px 20px; min-height: 80vh; }
  .section { padding: 60px 20px; }
  .public-footer { padding: 30px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
}


/* ============================================================
   FIN DU CSS GLOBAL PHOTOLIVE
   Toutes les pages du site utilisent ce fichier
   ============================================================ */
