/* ========================================
   FELLAPHONE ACADEMY — Style Complet
   Fond blanc, design pro, responsive
   ======================================== */

/* --- RESET --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  font-size:16px;
  color:#333;
  background:#fff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:#d42020;text-decoration:none}
a:hover{color:#a01010}
ul{list-style:none}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* --- BOUTONS --- */
.btn{
  display:inline-block;
  background:#d42020;
  color:#fff!important;
  padding:13px 30px;
  border-radius:6px;
  font-weight:700;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:background .2s,transform .2s;
}
.btn:hover{background:#b01010;transform:translateY(-1px)}
.btn-white{
  display:inline-block;
  background:#fff;
  color:#d42020!important;
  padding:13px 30px;
  border-radius:6px;
  font-weight:700;
  font-size:15px;
  border:2px solid #d42020;
  cursor:pointer;
  transition:all .2s;
}
.btn-white:hover{background:#d42020;color:#fff!important}

/* --- HEADER --- */
header{
  background:#fff;
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:100;
}
.header-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
}
.logo img{height:42px}

nav{display:flex;gap:0}
nav > div{position:relative}
nav > div > a{
  display:block;
  padding:22px 14px;
  font-size:13px;
  font-weight:700;
  color:#444;
  text-transform:uppercase;
  letter-spacing:.5px;
  white-space:nowrap;
  border-bottom:2px solid transparent;
  transition:all .15s;
  cursor:pointer;
}
nav > div > a:hover,
nav > div > a.active{
  color:#d42020;
  border-bottom-color:#d42020;
}

/* Dropdown */
nav .sub{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:190px;
  background:#fff;
  border:1px solid #eee;
  border-radius:0 0 4px 4px;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  padding:6px 0;
}
nav > div:hover .sub{display:block}
nav .sub a{
  display:block;
  padding:10px 18px;
  font-size:14px;
  color:#555;
  transition:all .12s;
}
nav .sub a:hover{background:#f5f5f5;color:#d42020;padding-left:22px}

/* Hamburger */
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px}
.burger span{display:block;width:24px;height:3px;background:#444;margin:4px 0;border-radius:2px}

/* --- HERO --- */
.hero{
  background:#fafafa;
  padding:90px 20px 70px;
  text-align:center;
  border-bottom:1px solid #eee;
}
.hero .badge{
  display:inline-block;
  background:#fef0f0;
  color:#d42020;
  padding:6px 16px;
  border-radius:50px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.5px;
  margin-bottom:20px;
}
.hero h1{
  font-size:40px;
  font-weight:800;
  color:#1a1a1a;
  line-height:1.2;
  margin-bottom:14px;
  max-width:650px;
  margin-left:auto;
  margin-right:auto;
}
.hero h1 em{font-style:normal;color:#d42020}
.hero p{
  font-size:18px;
  color:#666;
  max-width:550px;
  margin:0 auto 30px;
}
.hero .btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* --- SECTIONS --- */
section{padding:80px 20px}
section.gray{background:#f9f9fa}
.section-tag{
  display:block;
  text-align:center;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:2px;
  color:#d42020;
  margin-bottom:10px;
}
.section-title{
  text-align:center;
  font-size:32px;
  font-weight:800;
  color:#1a1a1a;
  margin-bottom:12px;
}
.section-sub{
  text-align:center;
  font-size:17px;
  color:#777;
  max-width:500px;
  margin:0 auto 50px;
}

/* --- CARDS 4 --- */
.cards{display:grid;gap:24px}
.cards4{grid-template-columns:repeat(4,1fr)}
.cards3{grid-template-columns:repeat(3,1fr)}
.cards2{grid-template-columns:repeat(2,1fr)}

.card{
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:35px 24px;
  text-align:center;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
  transition:transform .2s,box-shadow .2s;
}
.card:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.07)}
.card .icon{width:56px;height:56px;margin:0 auto 16px}
.card .icon img{width:100%;height:100%;object-fit:contain}
.card h3{font-size:17px;font-weight:700;margin-bottom:8px;color:#1a1a1a}
.card p{font-size:14px;color:#777;line-height:1.6}

/* Colored accent */
.card.green{border-top:3px solid #2d8a4e}.card.green h3{color:#2d8a4e}
.card.red{border-top:3px solid #d42020}.card.red h3{color:#d42020}
.card.blue{border-top:3px solid #1a73b5}.card.blue h3{color:#1a73b5}
.card.gold{border-top:3px solid #b8860b}.card.gold h3{color:#b8860b}

/* --- ROW --- */
.row{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.row-text h2{font-size:30px;font-weight:800;margin-bottom:18px;color:#1a1a1a}
.row-text p{color:#666;margin-bottom:12px;line-height:1.7}
.row-text ul li{padding:7px 0 7px 22px;position:relative;color:#555}
.row-text ul li::before{content:"✓";position:absolute;left:0;color:#d42020;font-weight:700}

/* --- STATS --- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.stat{
  text-align:center;
  padding:30px 20px;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
}
.stat .big{font-size:42px;font-weight:800}
.stat .big.r{color:#d42020}
.stat .big.g{color:#2d8a4e}
.stat .big.b{color:#1a73b5}
.stat .lbl{font-size:14px;color:#999;margin-top:4px}

/* --- LINK CARDS --- */
.lcard{
  display:flex;align-items:center;gap:16px;
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  padding:20px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
  transition:all .2s;
  color:#333;
}
.lcard:hover{box-shadow:0 4px 14px rgba(0,0,0,.07);border-color:#d42020}
.lcard .ico{font-size:26px}
.lcard h4{font-size:15px;font-weight:700;margin-bottom:2px}
.lcard p{font-size:13px;color:#999;margin:0}

/* --- QUOTE --- */
.quote{
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:28px;
}
.quote .stars{color:#e6a700;font-size:16px;letter-spacing:2px;margin-bottom:8px}
.quote blockquote{font-style:italic;font-size:15px;color:#666;border:none;padding:0;margin-bottom:10px}
.quote .who{font-weight:700;color:#d42020;font-size:13px}

/* --- PARTNERS --- */
.partners{display:flex;justify-content:center;align-items:center;gap:50px;flex-wrap:wrap}
.partners img{height:50px;opacity:.7;transition:opacity .2s}
.partners img:hover{opacity:1}

/* --- PAGE HEADER --- */
.phead{background:#fafafa;border-bottom:1px solid #eee;padding:70px 20px 36px;text-align:center}
.phead h1{font-size:34px;font-weight:800;color:#1a1a1a}
.pbody{max-width:760px;margin:0 auto;padding:45px 20px 65px}
.pbody h2{font-size:20px;font-weight:700;margin:30px 0 10px;color:#1a1a1a}
.pbody p,.pbody li{color:#555;line-height:1.75;margin-bottom:10px}
.pbody ul,.pbody ol{padding-left:1.5em;margin-bottom:1em}
.pbody ul{list-style:disc}
.pbody ol{list-style:decimal}

/* --- CONTACT --- */
.cgrid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.cinfo h3{font-size:22px;margin-bottom:14px}
.cinfo p{margin-bottom:8px;color:#666}
.cinfo a{color:#666}.cinfo a:hover{color:#d42020}
.socs{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.soc{
  display:inline-flex;align-items:center;gap:6px;
  background:#f5f5f5;
  padding:10px 16px;border-radius:50px;
  font-size:13px;font-weight:600;
  color:#555;
  transition:all .2s;
}
.soc:hover{background:#d42020;color:#fff}

.cform{
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:30px;
  box-shadow:0 1px 3px rgba(0,0,0,.03);
}
.cform h3{font-size:20px;margin-bottom:18px}
.cform input,.cform textarea{
  width:100%;
  padding:12px 14px;
  margin-bottom:12px;
  background:#f9f9fa;
  border:1px solid #e0e0e0;
  border-radius:6px;
  font-size:14px;
  font-family:inherit;
  color:#333;
  transition:border-color .2s;
}
.cform input:focus,.cform textarea:focus{outline:none;border-color:#d42020}
.cform textarea{min-height:100px;resize:vertical}

/* --- FOOTER --- */
footer{
  background:#1a1a1a;
  color:rgba(255,255,255,.55);
  padding:50px 20px 24px;
}
.fgrid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:36px;
}
.fcol h4{color:#d42020;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:14px}
.fcol p,.fcol a{font-size:13px;line-height:2;color:rgba(255,255,255,.4);display:block}
.fcol a:hover{color:#fff}
.fbot{
  max-width:1100px;
  margin:30px auto 0;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
  font-size:11px;
  color:rgba(255,255,255,.2);
}

/* --- RESPONSIVE --- */
@media(max-width:900px){
  .burger{display:block}
  nav{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;background:#fff;flex-direction:column;padding:12px 0;overflow-y:auto;box-shadow:0 8px 20px rgba(0,0,0,.1)}
  nav.open{display:flex}
  nav > div > a{padding:14px 20px;border-bottom:none;border-left:3px solid transparent}
  nav > div > a:hover,nav > div > a.active{border-left-color:#d42020;background:#f9f9fa}
  nav .sub{display:none;position:static;box-shadow:none;border:none;background:#f9f9fa}
  nav > div.open .sub{display:block}
  .cards4,.cards3{grid-template-columns:1fr 1fr}
  .row,.cgrid{grid-template-columns:1fr;gap:36px}
  .fgrid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:30px}
}
@media(max-width:560px){
  .cards4,.cards3,.cards2,.stats{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr}
  .hero h1{font-size:24px}
  .section-title{font-size:24px}
  .hero{padding:60px 16px 45px}
  section{padding:50px 16px}
}


/* Sticky CTA mobile */
.sticky-cta{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:2px solid #d42020;padding:10px 16px;z-index:99;box-shadow:0 -2px 10px rgba(0,0,0,.08)}
.sticky-cta a{display:flex;align-items:center;justify-content:center;gap:8px;background:#d42020;color:#fff!important;padding:12px;border-radius:6px;font-weight:700;font-size:15px;text-align:center}
@media(max-width:900px){.sticky-cta{display:block}body{padding-bottom:70px}}
