/* ============================================
   PASSERELLE ANIMALE ET SENS — Design system
   Palette : nature, calme, confiance
   Signature : motif "passerelle" (arc reliant deux points)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  /* Couleurs */
  --sauge-fonce: #2F4538;
  --sauge: #4A6350;
  --sable: #F3EFE4;
  --sable-fonce: #E8DFCB;
  --ocre: #C89B3C;
  --ocre-clair: #E4C179;
  --terre: #8B5E3C;
  --encre: #232920;
  --blanc: #FFFFFF;
  --gris-texte: #5B6459;

  /* Typographie */
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  /* Rayons / ombres */
  --radius: 18px;
  --shadow-soft: 0 8px 30px rgba(47, 69, 56, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--sable);
  color: var(--encre);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--sauge-fonce);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { color: var(--gris-texte); }

a { color: var(--sauge-fonce); text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  background: var(--sable);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(47,69,56,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sauge-fonce);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .bridge-mark { width: 28px; height: 28px; }

nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sauge-fonce);
  position: relative;
}

nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--ocre);
  transition: width 0.25s ease;
}

nav.main-nav a:hover::after { width: 100%; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--sauge-fonce);
  color: var(--blanc);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--sauge-fonce);
  color: var(--sauge-fonce);
}
.btn-outline:hover { background: var(--sauge-fonce); color: var(--blanc); }

.btn-ocre {
  background: var(--ocre);
  color: var(--blanc);
}
.btn-ocre:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* --- Hero --- */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocre);
  margin-bottom: 14px;
  display: block;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 480px;
}

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

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sauge) 0%, var(--sauge-fonce) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg { width: 65%; height: auto; }

/* --- Bridge divider (signature element) --- */
.bridge-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 36px;
}
.bridge-divider svg { width: 120px; height: 32px; }

/* --- Sections --- */
section { padding: 70px 0; }
.section-alt { background: var(--sable-fonce); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }

/* --- Cards grid (publics) --- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); }

.card .icon-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sable-fonce);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--sauge-fonce);
}

.card p { font-size: 0.95rem; margin-bottom: 0; }

/* --- Animal card --- */
.animal-card {
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 280px 1fr;
}
.animal-photo {
  background: var(--sable-fonce);
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
}
.animal-info { padding: 32px; }
.animal-info .tag {
  display: inline-block;
  background: var(--ocre-clair);
  color: var(--terre);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* --- Pricing table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sable-fonce);
  font-size: 0.92rem;
}
.pricing-table th {
  background: var(--sauge-fonce);
  color: var(--blanc);
  font-family: var(--font-display);
  font-weight: 600;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table td:not(:first-child) { text-align: center; }

/* --- FAQ accordion --- */
.faq-item {
  background: var(--blanc);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--sauge-fonce);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 400px;
}
.faq-question .chevron { transition: transform 0.25s ease; }
.faq-item.open .chevron { transform: rotate(180deg); }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--sauge-fonce); }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sable-fonce);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--blanc);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ocre);
}

/* --- Footer --- */
.site-footer {
  background: var(--sauge-fonce);
  color: var(--sable);
  padding: 50px 0 24px;
}
.site-footer a { color: var(--sable); opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: var(--ocre-clair); font-size: 0.95rem; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  opacity: 0.75;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  nav.main-nav { display: none; }
  .animal-card { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ocre);
  outline-offset: 2px;
}
