/* ═══════════════════════════════════════════════
   DROPS MATTER — Feuille de style globale
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&display=swap');

/* ─── Variables ─── */
:root {
  --primary:    #025670;
  --primary-lt: #037099;
  --white:      #ffffff;
  --accent:     #8EAEB8;
  --bg-soft:    #f7fbfc;
  --bg-page:    #ffffff;
  --text:       #334155;
  --text-soft:  #64748b;
  --border:     #e2e8f0;
  --shadow-sm:  0 4px 16px rgba(2,86,112,0.07);
  --shadow-md:  0 10px 32px rgba(2,86,112,0.10);
  --shadow-lg:  0 20px 60px rgba(2,86,112,0.12);
  --radius-sm:  14px;
  --radius-md:  22px;
  --radius-lg:  32px;
  --container:  1180px;
  --font-body:  "Segoe UI", Arial, sans-serif;
  --font-hand:  'Dancing Script', cursive;
  --transition: 0.28s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg-page); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── Container ─── */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ═══════════════════════════════════
   TYPOGRAPHIE
═══════════════════════════════════ */
.handwritten {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

h1, h2, h3, h4 { color: #1e293b; line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
h3 { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 10px; }
p  { line-height: 1.8; color: var(--text-soft); }

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(2,86,112,0.65);
  margin-bottom: 14px;
  display: block;
}

.text-large { font-size: 17px; line-height: 1.9; color: var(--text-soft); }

/* ═══════════════════════════════════
   BOUTONS
═══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(2,86,112,0.22);
}
.btn-primary:hover {
  background: var(--primary-lt);
  box-shadow: 0 12px 32px rgba(2,86,112,0.30);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  background: rgba(2,86,112,0.05);
}

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(2,86,112,0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

/* Logo */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo-img { height: 48px; width: auto; display: block; }

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 13.5px;
  color: var(--text);
  padding: 6px 11px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--primary);
  background: rgba(2,86,112,0.06);
}

/* CTA header */
.header-cta { font-size: 13px; padding: 10px 20px; }

/* Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(2,86,112,0.25);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.mobile-toggle:hover { background: rgba(2,86,112,0.06); }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer p { font-size: 13px; color: var(--text-soft); }
.footer-logo { height: 36px; width: auto; opacity: 0.7; margin-bottom: 14px; }

/* ═══════════════════════════════════
   SECTIONS COMMUNES
═══════════════════════════════════ */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark p  { color: rgba(255,255,255,0.82); }
.section-dark .section-kicker { color: rgba(255,255,255,0.6); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }

/* ═══════════════════════════════════
   HERO — PAGE D'ACCUEIL
═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.12;
  z-index: 0;
}

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

.hero-title-hand {
  font-family: var(--font-hand);
  font-size: clamp(38px, 6vw, 68px);
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 22px;
}

.hero-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ═══════════════════════════════════
   CARROUSEL
═══════════════════════════════════ */
.carousel-section { padding: 56px 0; background: var(--bg-soft); }
.carousel-section h2 { text-align: center; margin-bottom: 32px; }

.carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #dce8ec;
  /* Pas d'aspect-ratio ici : c'est l'image qui fixe la hauteur */
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;       /* jamais de retour à la ligne */
  will-change: transform;  /* GPU */
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

.carousel-slide {
  flex: 0 0 100%;   /* taille fixe = 100% du wrap, non réductible */
  width: 100%;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 520px;        /* hauteur fixe : une seule image visible à la fois */
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 860px) {
  .carousel-slide img { height: 380px; }
}
@media (max-width: 500px) {
  .carousel-slide img { height: 240px; }
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: background var(--transition), transform var(--transition);
  z-index: 10;
  font-size: 18px;
  color: var(--primary);
}
.carousel-btn:hover { background: white; transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(2,86,112,0.25);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ═══════════════════════════════════
   PARTENAIRES
═══════════════════════════════════ */
.partners-section { padding: 56px 0; text-align: center; }
/* Pacifico = même style que le fichier merci.PNG de la charte */
.partners-title,
.partners-merci {
  font-family: 'Pacifico', var(--font-hand), cursive;
  font-size: clamp(52px, 8vw, 80px);
  color: var(--primary);
  margin-bottom: 40px;
  display: block;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partners-logos img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity var(--transition), filter var(--transition), transform var(--transition);
}
.partners-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ═══════════════════════════════════
   CARDS DE NAVIGATION (accueil)
═══════════════════════════════════ */
.nav-cards-section { padding: 64px 0; }

.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.nav-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}
.nav-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2,86,112,0.2);
}
.nav-card:hover .nav-card-icon { transform: scale(1.15); }

.nav-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  transition: transform var(--transition);
}
.nav-card-icon svg { width: 100%; height: 100%; }

.nav-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}
.nav-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ═══════════════════════════════════
   HERO PAGES INTÉRIEURES
═══════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, rgba(2,86,112,0.06) 0%, rgba(142,174,184,0.12) 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-kicker { margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { font-size: 18px; max-width: 680px; }

/* ═══════════════════════════════════
   MON HISTOIRE — storytelling
═══════════════════════════════════ */
.story-section { padding: 64px 0; }

.story-block {
  max-width: 740px;
  margin: 0 auto 52px;
}
.story-block:last-child { margin-bottom: 0; }

.story-intro {
  font-family: var(--font-hand);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary);
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
  line-height: 1.5;
}

.story-block h3 {
  font-family: var(--font-hand);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}

.story-block p {
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 14px;
}
.story-block p:last-child { margin-bottom: 0; }

.story-emphasis {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  line-height: 2;
  padding: 20px 28px;
  border-left: 3px solid var(--primary);
  background: rgba(2,86,112,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.story-quote {
  font-family: var(--font-hand);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--primary);
  text-align: center;
  line-height: 1.5;
  padding: 40px 30px;
  position: relative;
}
.story-quote::before, .story-quote::after {
  content: '';
  display: block;
  height: 2px;
  width: 60px;
  background: var(--accent);
  margin: 16px auto;
  border-radius: 2px;
}

.story-signature {
  text-align: right;
  margin-top: 32px;
}
.story-signature .handwritten { font-size: clamp(22px, 3vw, 30px); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════
   ASSOCIATION / ENGAGEMENT
═══════════════════════════════════ */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.content-card-soft {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.quote-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
}
.quote-box blockquote {
  font-family: var(--font-hand);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 10px;
}
.quote-box cite {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
}

.badges-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}
.badge-item img { height: 40px; width: auto; }
.badge-text { font-size: 13px; font-weight: 600; color: var(--primary); }

/* ─── Engagements ─── */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.engagement-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.engagement-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  background: rgba(2,86,112,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

/* ═══════════════════════════════════
   ATELIERS
═══════════════════════════════════ */
.ateliers-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0;
}

.atelier-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.atelier-item {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 3px solid var(--primary);
  transition: transform var(--transition);
}
.atelier-item:hover { transform: translateX(4px); }
.atelier-item .num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.atelier-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.atelier-item p  { font-size: 13px; line-height: 1.65; }

/* Presse */
.press-box {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  margin-top: 48px;
}
.press-box .press-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin: 16px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--accent);
  background: white;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ═══════════════════════════════════
   CRÉATIONS — galerie
═══════════════════════════════════ */
.creation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tab-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.creation-panel { display: none; }
.creation-panel.active { display: block; }

.creation-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}
.creation-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.creation-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.gallery-placeholder {
  background: var(--bg-soft);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 14px;
  text-align: center;
  padding: 30px;
  margin-top: 16px;
}

/* Badge construction */
.badge-construction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,86,112,0.07);
  border: 1px solid rgba(2,86,112,0.2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 16px;
}

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info { padding: 10px 0; }
.contact-info h2 { margin-bottom: 16px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 7px;
}
input, textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2,86,112,0.10);
  background: white;
}
textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; margin-top: 8px; padding: 14px; font-size: 15px; }

/* ═══════════════════════════════════
   ICÔNE GOUTTE SVG (inline)
═══════════════════════════════════ */
.drop-icon-svg {
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════
   CARTE JARDIN (ateliers)
═══════════════════════════════════ */
.info-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.info-card .info-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1020px) {
  .nav-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .ateliers-intro { grid-template-columns: 1fr; gap: 28px; }
  .contact-wrap { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 860px) {
  .nav { display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 16px; right: 16px;
    background: rgba(255,255,255,0.98); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 16px;
    box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 10px 14px; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .atelier-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .section { padding: 48px 0; }
  .nav-cards-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 60px 0 48px; }
  .hero-title-hand { font-size: 38px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .partners-logos img { height: 48px; }
  .partners-logos { gap: 28px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 15px; }
  .content-card, .content-card-soft { padding: 24px; }
  .form-card { padding: 24px; }
  .story-block { margin-bottom: 36px; }
  .footer { margin-top: 48px; }
}
