/* ============================================================
   A-PROPOS.CSS — Page "À propos" Atryvia
   ============================================================ */

/* ===== HERO ===== */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(26, 42, 58, 0.25) 0%, rgba(26, 42, 58, 0.55) 100%),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1600') center / cover no-repeat;
  padding: 80px 0 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 248, 244, 0.92) 0%, rgba(250, 248, 244, 0.7) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(196, 162, 78, 0.95);
  color: white;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 60ch;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.about-section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 700;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== GRILLES ===== */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ===== TIMELINE ===== */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
}

.timeline-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== QUOTE CARD ===== */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.quote-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.5;
  font-style: italic;
}

.quote-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--cream-light);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--green);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== FORMULAIRE DE CONTACT ===== */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 16px 0;
}

.checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.form-success {
  display: none;
  background: rgba(45, 90, 61, 0.08);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--green-dark);
  font-weight: 500;
  margin-top: 12px;
}

.form-success.visible {
  display: block;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  padding: 64px 32px;
  text-align: center;
  color: white;
  border-radius: var(--radius-lg);
  margin: 0 0 64px;
}

.cta-banner h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .quad-grid   { grid-template-columns: repeat(2, 1fr); }
  .triple-grid { grid-template-columns: 1fr; }
  .split-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-hero { min-height: auto; padding: 48px 0 32px; }
  .hero-title { font-size: 2.4rem; }
  .quad-grid  { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .timeline { padding-left: 28px; }
  .timeline::before { left: 8px; }
  .timeline-item::before { left: -26px; }
}
