﻿/* APPC.TN — style.css v=1 */
@font-face { font-family: Quicksand; font-weight: 700; src: url(assets/fonts/Quicksand-Bold.woff2) format("woff2"); }
@font-face { font-family: Quicksand; font-weight: 600; src: url(assets/fonts/Quicksand-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Quicksand; font-weight: 500; src: url(assets/fonts/Quicksand-Medium.woff2) format("woff2"); }
@font-face { font-family: Quicksand; font-weight: 400; src: url(assets/fonts/Quicksand-Regular.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-weight: 300; src: url(assets/fonts/Urbanist-Light.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-weight: 400; src: url(assets/fonts/Urbanist-Regular.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-weight: 500; src: url(assets/fonts/Urbanist-Medium.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-weight: 600; src: url(assets/fonts/Urbanist-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-style: italic; src: url(assets/fonts/Urbanist-Italic.woff2) format("woff2"); }

:root {
  --teal: #00c9af;
  --pink: #dc6ba8;
  --dark: #010f0d;
  --dark2: #071a18;
  --ink: #1a2c29;
  --muted: #6b8280;
  --light: #e9fffc;
  --lightpink: #ffe4fb;
  --white: #fff;
  --gray: #f4f6f8;
  --border: #e0e8e6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Urbanist, sans-serif; font-size: 17px; color: #1a2c29; background: #fff; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* NAV */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 48px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > span {
  display: flex; align-items: center; gap: 4px; padding: 8px 14px;
  font-family: Quicksand; font-weight: 600; font-size: 15px; color: var(--ink);
  border-radius: 8px; cursor: pointer; transition: background .18s, color .18s;
}
.nav-menu > li > a:hover, .nav-menu > li > span:hover { background: var(--light); color: var(--teal); }
.nav-menu .has-drop:hover > .dropdown { display: block; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 6px 0; }
.dropdown a { display: block; padding: 10px 18px; font-size: 14px; font-family: Urbanist; color: var(--ink); transition: background .15s; }
.dropdown a:hover { background: var(--light); color: var(--teal); }
.nav-cta { margin-left: 12px; background: var(--teal); color: #fff !important; border-radius: 8px; padding: 9px 20px !important; font-family: Quicksand !important; font-weight: 700 !important; transition: opacity .18s !important; }
.nav-cta:hover { opacity: .85; background: var(--teal) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.mobile-menu { display: none; position: fixed; inset: 0; background: #fff; z-index: 200; overflow-y: auto; padding: 24px; }
.mobile-menu.open { display: block; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-close { font-size: 28px; cursor: pointer; color: var(--ink); line-height: 1; }
.mobile-nav a, .mobile-nav span { display: block; padding: 14px 0; font-family: Quicksand; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--border); color: var(--ink); }
.mobile-sub { padding-left: 16px; }
.mobile-sub a { font-size: 15px; font-family: Urbanist; font-weight: 400; padding: 10px 0; border-bottom: none; color: var(--muted); }

/* HERO */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(1,15,13,.82) 50%, rgba(0,201,175,.25) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.hero-label { display: inline-block; background: rgba(0,201,175,.15); border: 1px solid rgba(0,201,175,.4); color: var(--teal); font-size: 13px; font-family: Quicksand; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero-content h1 { font-family: Quicksand; font-weight: 700; font-size: clamp(2rem,5vw,3.4rem); color: #fff; line-height: 1.2; max-width: 720px; text-wrap: balance; margin-bottom: 20px; }
.hero-content h1 span { color: var(--teal); }
.hero-content p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 10px; font-family: Quicksand; font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s; border: none; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { opacity: .88; }
.btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* STATS BAND */
.stats-band { background: var(--dark2); padding: 48px 24px; }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.stat-item { text-align: center; padding: 24px 16px; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: Quicksand; font-weight: 700; font-size: 2.4rem; color: var(--teal); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.4; }

/* SECTIONS GENERAL */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { display: inline-block; font-family: Quicksand; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { font-family: Quicksand; font-weight: 700; font-size: clamp(1.6rem,3.5vw,2.4rem); color: var(--ink); line-height: 1.2; text-wrap: balance; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.bg-light { background: var(--gray); }
.bg-dark { background: var(--dark); }
.bg-teal-light { background: var(--light); }

/* RENCONTRES CARDS */
.editions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.edition-card { border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); background: #fff; transition: transform .2s, box-shadow .2s; }
.edition-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.edition-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.edition-body { padding: 20px; }
.edition-tag { font-size: 12px; font-family: Quicksand; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.edition-body h3 { font-family: Quicksand; font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.3; margin-bottom: 14px; }
.edition-body a { display: inline-flex; align-items: center; gap: 6px; font-family: Quicksand; font-weight: 600; font-size: 14px; color: var(--teal); }
.edition-body a:hover { gap: 10px; }

/* ABOUT SPLIT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 14px; overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.link-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 30px; background: var(--light); color: var(--teal); font-family: Quicksand; font-weight: 600; font-size: 14px; transition: background .18s; }
.link-pill:hover { background: var(--teal); color: #fff; }

/* ACTIVITY section on home */
.activity-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.activity-img-stack { position: relative; }
.activity-img-main { border-radius: 14px; overflow: hidden; }
.activity-img-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* SPONSORS */
.sponsors-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-top: 36px; }
.sponsor-logo { height: 52px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(40%); opacity: .8; transition: .2s; }
.sponsor-logo:hover { filter: none; opacity: 1; }

/* FOOTER */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-col h4 { font-family: Quicksand; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .18s; }
.footer-col a:hover { color: var(--teal); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.35); }

/* PAGE HERO (sub pages) */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 80px 24px 60px; text-align: center; }
.page-hero h1 { font-family: Quicksand; font-weight: 700; font-size: clamp(1.8rem,4vw,3rem); color: #fff; margin-bottom: 12px; }
.page-hero h1 span { color: var(--teal); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.65); max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--teal); }

/* RENCONTRE PAGE */
.rencontre-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 64px 24px; }
.rencontre-intro-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.rencontre-text h2 { font-family: Quicksand; font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-bottom: 16px; }
.rencontre-text p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.rencontre-img img { width: 100%; border-radius: 14px; object-fit: cover; }
.programme-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; font-family: Quicksand; font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 10px; margin-top: 24px; transition: opacity .18s; }
.programme-btn:hover { opacity: .85; }

/* GALLERY GRID */
.gallery-section { padding: 64px 24px; }
.gallery-section h2 { font-family: Quicksand; font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-bottom: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; cursor: pointer; transition: transform .2s; }
.photo-grid img:hover { transform: scale(1.03); }

/* VIDEO GRID (talks) */
.video-section { padding: 48px 24px 64px; background: var(--gray); }
.video-section h2 { font-family: Quicksand; font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-bottom: 28px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.video-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.video-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--dark2); display: flex; align-items: center; justify-content: center; }
.video-card-thumb-placeholder svg { opacity: .4; }
.video-card-body { padding: 14px 16px; }
.video-card-body p { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.45; text-align: center; }
.video-card-body strong { color: var(--teal); }

/* SPEAKERS GRID */
.speakers-section { padding: 64px 24px; }
.speakers-section h2 { font-family: Quicksand; font-weight: 700; font-size: 1.6rem; color: var(--ink); margin-bottom: 28px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.speakers-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.speaker-card { text-align: center; }
.speaker-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; border: 3px solid var(--border); margin-bottom: 10px; }
.speaker-card .sp-name { font-family: Quicksand; font-weight: 600; font-size: 14px; color: var(--ink); }

/* BUREAU / MEMBRES */
.members-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.member-card { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--border); text-align: center; }
.member-card .m-name { font-family: Quicksand; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.member-card .m-role { font-size: 14px; color: var(--teal); font-weight: 500; }

/* OBJECTIFS */
.objectifs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.objectif-card { background: #fff; border-radius: 14px; padding: 32px 24px; text-align: center; border: 1px solid var(--border); }
.objectif-card img { height: 60px; width: auto; margin: 0 auto 16px; }
.objectif-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* CAT PAGE */
.cat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; }
.cat-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.cat-card-body { padding: 20px; }
.cat-card-body h3 { font-family: Quicksand; font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.cat-card-body .cat-dl { display: inline-flex; align-items: center; gap: 6px; background: var(--teal); color: #fff; font-size: 14px; font-family: Quicksand; font-weight: 600; padding: 8px 18px; border-radius: 8px; }

/* CONTACT */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; border-radius: 14px; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: Quicksand; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: Urbanist; font-size: 15px; color: var(--ink); background: #fff; outline: none; transition: border-color .18s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit { width: 100%; padding: 14px; background: var(--teal); color: #fff; border: none; border-radius: 10px; font-family: Quicksand; font-weight: 700; font-size: 16px; cursor: pointer; transition: opacity .18s; }
.btn-submit:hover { opacity: .85; }
.contact-info h3 { font-family: Quicksand; font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.ci-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.ci-value { font-weight: 500; color: var(--ink); }
.success-msg { background: #e6fff7; border: 1px solid var(--teal); color: #007a60; border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; font-weight: 500; }

/* ACTIVITES page */
.activites-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 32px; }

/* MOT DU PRESIDENT */
.president-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.president-photo img { width: 100%; border-radius: 14px; object-fit: cover; }
.president-text { font-size: 17px; color: var(--muted); line-height: 1.8; }
.president-text p { margin-bottom: 16px; }
.president-sig { margin-top: 28px; font-family: Quicksand; font-weight: 700; color: var(--ink); font-size: 1rem; }

/* LAPPC nav pills */
.lappc-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.lappc-nav a { padding: 8px 20px; border-radius: 30px; font-family: Quicksand; font-weight: 600; font-size: 14px; border: 1.5px solid var(--border); color: var(--ink); transition: .18s; }
.lappc-nav a:hover, .lappc-nav a.active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .speakers-grid { grid-template-columns: repeat(4,1fr); }
  .photo-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .editions-grid, .about-split, .activity-split, .rencontre-intro-inner, .contact-wrap { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .members-grid, .objectifs-grid, .cat-cards, .activites-cards { grid-template-columns: repeat(2,1fr); }
  .speakers-grid { grid-template-columns: repeat(3,1fr); }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .president-wrap { grid-template-columns: 1fr; }
  .president-photo { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .section { padding: 52px 16px; }
  .photo-grid { grid-template-columns: repeat(2,1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: repeat(2,1fr); }
  .members-grid, .objectifs-grid, .cat-cards, .activites-cards, .editions-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}