/* Reset & base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Raleway', sans-serif; background: #FFFEFA; overflow-x: hidden; }
html { scroll-behavior: smooth; }

/* Section Hero / Accueil */
.section-accueil { width: 100%; height: 100vh; overflow: hidden; background: linear-gradient(180deg, #FFFEFA, #FFFAE2); }

/* 2 colonnes plein écran */
.layout-hero { display: flex; height: 100%; }

/* Colonne gauche = photo */
.photo-profil { flex: 1; display: flex; justify-content: center; align-items: center; background: #FFFAE2; }
.photo-profil img { height: 100%; width: auto; object-fit: cover; display: block; }

/* Colonne droite = hero */
.hero-content { position: static; transform: none; top: auto; left: auto; z-index: auto; max-width: none;
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px; }

/* Deco block (synced to button) */
.deco { display: inline-block; background: #FFD400; border: 1px solid #FFAE00; border-radius: 4px; margin: 0 auto 24px; }

.hero-title { font-size: 85px; font-weight: 900; color: #1A1500; letter-spacing: 1.7px; margin-bottom: 16px; line-height: 1.1; }
.hero-subtitle { font-size: 40px; font-weight: 400; color: #1A1500; letter-spacing: 0.4px; margin-bottom: 24px; }

.btn-primary { background: #FFD400; border: 1px solid #FFAE00; border-radius: 4px; padding: 12px 16px 12px 11px; font-size: 24px; font-weight: 600; color: #1A1500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: transform 0.2s; }
.btn-primary:hover { transform: translateY(-1px); background: #FFC600; box-shadow: 0px 4px 10px rgba(0,0,0,0.15); }
.decorative-icon { width: 24px; height: 24px; }

/* Sections communes */
.section-title { font-size: 64px; font-weight: 900; color: #1A1500; text-align: center; margin-bottom: 32px; line-height: 1.1; }
.content-wrapper, .guide-content { max-width: 1280px; margin: 0 auto; display: flex; gap: 210px; justify-content: center; align-items: flex-start; }
.content-column { width: 535px; display: flex; flex-direction: column; gap: 32px; }
.info-card { background: rgba(255, 254, 250, 0.85); backdrop-filter: blur(6px); border-radius: 8px; padding: 32px 76px; box-shadow: 0px 4px 4px rgba(0,0,0,0.25); }
.card-title { font-size: 24px; font-weight: 900; color: #1A1100; margin-bottom: 20px; }
.info-list { list-style: disc; padding-left: 24px; }
.info-list li { font-size: 18px; font-weight: 500; color: #1A1100; line-height: 1.5; margin-bottom: 10px; }
.info-list li:last-child { margin-bottom: 0; }
.info-list strong { font-weight: 700; }
.mockup-image { width: 349px; height: 205px; border-radius: 8px; background: #E0E0E0; overflow: hidden; }
.mockup-image img, .livret-image img { width: 100%; height: 100%; object-fit: cover; }

/* Section Plugin */
.section-plugin { width: 100%; min-height: 900px; background: #FFFAE2; position: relative; padding: 80px 0; }

/* Section Guide */
.section-guide { width: 100%; min-height: 946px; background: #FFFAE2; position: relative; overflow: hidden; padding: 80px 0; }
.guide-content { align-items: center; position: relative; }
.livret-image { width: 211px; height: 300px; box-shadow: 4px 4px 6px rgba(68,46,0,0.5); border-radius: 4px; background: #E0E0E0; }

/* Section Questionnaire / Works */
.section-works { width: 100%; min-height: 770px; background: #FFFAE2; position: relative; padding: 80px 0; }
.questionnaire-container { max-width: 717px; margin: 0 auto; text-align: center; }
.questionnaire-title { font-size: 36px; font-weight: 900; color: #1A1500; line-height: 1.1; margin-bottom: 60px; }
.question-card { background: rgba(255,245,204,0); padding: 51px 188px; border-radius: 8px; margin-bottom: 60px; }
.question-text { font-size: 24px; font-weight: 400; color: #1A1100; line-height: 1.5; }
.answer-options { display: flex; gap: 24px; justify-content: center; }
.answer-btn { width: 380px; background: #FFD400; border: 1px solid #FFAE00; border-radius: 8px; padding: 12px; font-size: 20px; font-weight: 500;
  color: #1A1100; cursor: pointer; box-shadow: 2px 2px 6px rgba(68,46,0,0.25); transition: transform 0.2s; text-align: center; line-height: 1.5; }
.answer-btn:hover { transform: translateY(-2px); }
.citation-card { background: #FFFEFA; backdrop-filter: blur(6px); border-radius: 25px; padding: 32px 60px; box-shadow: 0px 4px 4px rgba(0,0,0,0.25); margin: 40px auto; max-width: 717px; }
.citation-text { font-size: 32px; font-weight: 500; color: #1A1500; margin-bottom: 16px; font-style: italic; }
.citation-author { font-size: 20px; font-weight: 400; color: #1A1500; text-align: right; }

/* Footer */
.footer { width: 100%; background: rgba(255,254,250,0.5); padding: 40px 60px; display: flex; justify-content: space-between; align-items: center; }
.footer-section { display: flex; flex-direction: column; gap: 13px; }
.footer-title { font-size: 12px; font-weight: 700; color: #332B00; }
.footer-text { font-size: 16px; font-weight: 600; color: #332B00; }
.footer-link { font-size: 18px; font-weight: 500; color: #1A73E8; text-decoration: underline; }
.social-icons { display: flex; gap: 16px; }
.social-icon { width: 24px; height: 24px; color: #332B00; }
.footer-info { display: flex; flex-direction: column; gap: 12px; }
.rgpd-text { font-size: 12px; font-weight: 700; color: #332B00; max-width: 282px; line-height: 1.5; }
.rgpd-list { list-style: disc; padding-left: 18px; margin-top: 4px; }

/* Header / Menu de navigation */
.topnav { position: sticky; top: 0; z-index: 1000; background: rgba(255,254,250,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(0,0,0,0.1); }
.topnav-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.topnav .brand { font-weight: 900; font-size: 18px; color: #1A1500; text-decoration: none; padding: 6px 12px; background: #FFD400; border: 1px solid #FFAE00; border-radius: 6px; }
.topnav nav { margin-left: auto; display: flex; gap: 20px; }
.topnav nav a { font-weight: 600; color: #1A1500; text-decoration: none; padding: 8px 10px; border-radius: 6px; transition: background 0.2s, transform 0.2s; }
.topnav nav a:hover { background: #FFFAE2; transform: translateY(-1px); }
.topnav nav a.active { background: #FFD400; border: 1px solid #FFAE00; }

/* Compense la hauteur du header sticky pour les ancres */
.section-accueil, .section-about, .section-skills, .section-works, .section-contact { scroll-margin-top: 96px; }

/* Burger visible uniquement sur mobile */
.nav-toggle { display: none; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .topnav nav { display: none; position: absolute; top: 56px; right: 12px; left: 12px; padding: 12px; background: rgba(255,254,250,0.96);
    backdrop-filter: blur(6px); border: 1px solid rgba(0,0,0,0.06); border-radius: 8px; flex-direction: column; gap: 8px; }
  .topnav nav.open { display: flex; }
  .layout-hero { flex-direction: column; }
  .photo-profil img { width: 100%; height: auto; }
  .content-wrapper, .guide-content { flex-direction: column; align-items: center; gap: 60px; padding: 0 40px; }
  .content-column { width: 100%; max-width: 535px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 24px; }
  .section-title { font-size: 36px; }
  .answer-options { flex-direction: column; align-items: center; }
  .answer-btn { width: 100%; max-width: 380px; }
  .footer { flex-direction: column; gap: 24px; }
  .info-card { padding: 32px 24px; }
  .question-card { padding: 32px 24px; }
  .citation-card { padding: 24px; }
  .citation-text { font-size: 24px; }
}

/* Desktop tweaks */
@media (max-width: 1200px) {
  .content-wrapper, .guide-content { gap: 60px; padding: 0 40px; }
  .hero-title { font-size: 60px; }
  .hero-subtitle { font-size: 30px; }
  .section-title { font-size: 48px; }
}
