/* ================================================================
   GASE Services — Styles principaux
   Palette : Navy #0A1628 · Bleu #0072CE · Cyan #00B4D8 · Orange #F5820A
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Variables ──────────────────────────────────────────────── */
:root {
  --navy:       #0A1628;
  --navy2:      #0F2040;
  --blue:       #0072CE;
  --blue-light: #1a8fe8;
  --cyan:       #00B4D8;
  --orange:     #F5820A;
  --orange-l:   #ff9b33;
  --white:      #FFFFFF;
  --gray-50:    #F7F9FC;
  --gray-100:   #EBF0F8;
  --gray-300:   #BEC8D9;
  --gray-500:   #6B7A99;
  --gray-700:   #374060;
  --text:       #1C2B4A;
  --radius:     12px;
  --shadow:     0 4px 20px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.10);
  --transition: all 0.25s ease;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:'Inter',sans-serif; color:var(--text); background:#fff; overflow-x:hidden; line-height:1.6; }
img  { max-width:100%; display:block; }
a    { text-decoration:none; color:inherit; }
ul   { list-style:none; }
button,input,select,textarea { font-family:inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family:'Sora',sans-serif; line-height:1.2; }
h1 { font-size:clamp(2rem, 5vw, 3.2rem); font-weight:700; }
h2 { font-size:clamp(1.6rem, 3vw, 2.4rem); font-weight:700; }
h3 { font-size:1.25rem; font-weight:600; }

/* ─── Utilities ──────────────────────────────────────────────── */
.container     { max-width:1180px; margin:0 auto; padding:0 24px; }
.section       { padding:96px 0; }
.section--gray { background:var(--gray-50); }
.section--navy { background:var(--navy); }
.tag           { display:inline-block; font-size:.75rem; font-weight:600;
                 letter-spacing:.08em; text-transform:uppercase; color:var(--orange);
                 margin-bottom:.75rem; }
.section-head  { margin-bottom:3.5rem; }
.section-head h2 { color:var(--navy); margin-bottom:.75rem; }
.section-head p  { font-size:1.1rem; color:var(--gray-500); max-width:520px; }
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.875rem 1.75rem; border-radius:10px;
  font-size:.9rem; font-weight:600; border:none; cursor:pointer;
  transition:var(--transition);
}
.btn-primary   { background:var(--orange); color:#fff; }
.btn-primary:hover { background:var(--orange-l); transform:translateY(-2px); box-shadow:0 8px 20px rgba(245,130,10,.35); }
.btn-outline   { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.4); }
.btn-outline:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.7); }
.btn-blue      { background:var(--blue); color:#fff; }
.btn-blue:hover{ background:var(--blue-light); transform:translateY(-2px); }

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(10,22,40,.96); backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:var(--transition);
}
.nav__inner {
  max-width:1180px; margin:0 auto; padding:0 24px;
  height:72px; display:flex; align-items:center; gap:2.5rem;
}
.nav__logo img { height:38px; }
.nav__links { display:flex; gap:2rem; margin-left:auto; }
.nav__links a {
  color:rgba(255,255,255,.7); font-size:.875rem; font-weight:500;
  padding:4px 0; border-bottom:2px solid transparent;
  transition:var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color:#fff; border-bottom-color:var(--orange); }
.nav__cta {
  background:var(--orange); color:#fff; padding:.625rem 1.5rem;
  border-radius:8px; font-size:.875rem; font-weight:600;
  border:none; cursor:pointer; transition:var(--transition); white-space:nowrap;
}
.nav__cta:hover { background:var(--orange-l); }
.nav__hamburger {
  display:none; background:none; border:none; cursor:pointer;
  flex-direction:column; gap:5px; padding:8px;
}
.nav__hamburger span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:.3s; }

/* ─── HERO CAROUSEL ──────────────────────────────────────────── */
.hero { position:relative; height:100vh; min-height:600px; overflow:hidden; }
.hero__slides { display:flex; height:100%; transition:transform .8s cubic-bezier(.77,0,.18,1); }
.hero__slide {
  min-width:100%; height:100%; position:relative;
  background-size:cover; background-position:center;
}
.hero__slide::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(10,22,40,.82) 0%, rgba(10,22,40,.55) 60%, rgba(10,22,40,.3) 100%);
}
.hero__slide--1 { background-image:url('../images/hero-1.jpg'); }
.hero__slide--2 { background-image:url('../images/hero-2.jpg'); }
.hero__slide--3 { background-image:url('../images/hero-3.jpg'); }

.hero__content {
  position:absolute; inset:0; display:flex; align-items:center;
  padding-top:72px;
}
.hero__content .container { max-width:760px; }
.hero__badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(245,130,10,.18); border:1px solid rgba(245,130,10,.38);
  padding:.375rem 1rem; border-radius:20px; margin-bottom:1.5rem;
}
.hero__badge span { color:var(--orange-l); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
.hero__content h1 { color:#fff; margin-bottom:1.25rem; }
.hero__content h1 em { color:var(--orange-l); font-style:normal; }
.hero__content p  { color:rgba(255,255,255,.7); font-size:1.1rem; max-width:540px; margin-bottom:2.25rem; line-height:1.75; }
.hero__btns { display:flex; gap:1rem; flex-wrap:wrap; }

/* Carousel controls */
.hero__dots { position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); display:flex; gap:.625rem; z-index:10; }
.hero__dot  { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.4); border:none; cursor:pointer; transition:var(--transition); }
.hero__dot.active { background:#fff; width:28px; border-radius:5px; }
.hero__arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:10;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
  color:#fff; width:48px; height:48px; border-radius:50%; font-size:1.25rem;
  cursor:pointer; transition:var(--transition); display:flex; align-items:center; justify-content:center;
}
.hero__arrow:hover { background:var(--orange); border-color:var(--orange); }
.hero__arrow--prev { left:1.5rem; }
.hero__arrow--next { right:1.5rem; }

/* ─── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:1.5rem;
}
.service-card {
  background:#fff; border:1px solid var(--gray-100);
  border-radius:var(--radius); padding:2rem;
  transition:var(--transition); position:relative; overflow:hidden;
}
.service-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height:3px; background:linear-gradient(90deg, var(--blue), var(--orange));
  transform:scaleX(0); transform-origin:left; transition:.3s;
}
.service-card:hover { box-shadow:var(--shadow-md); transform:translateY(-5px); }
.service-card:hover::after { transform:scaleX(1); }
.service-card__img { width:100%; height:160px; object-fit:cover; border-radius:8px; margin-bottom:1.25rem; }
.service-card h3 { font-size:1.05rem; color:var(--navy); margin-bottom:.5rem; }
.service-card p  { font-size:.9rem; color:var(--gray-500); line-height:1.65; }

/* ─── SECTEURS CAROUSEL ──────────────────────────────────────── */
.secteurs-track-wrap { overflow:hidden; position:relative; }
.secteurs-track { display:flex; gap:1.25rem; transition:transform .5s ease; }
.secteur-card {
  min-width:220px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1); border-radius:var(--radius);
  padding:1.75rem 1.5rem; text-align:center; flex-shrink:0;
  transition:var(--transition); cursor:default;
}
.secteur-card:hover { background:rgba(0,114,206,.2); border-color:rgba(0,114,206,.45); transform:translateY(-4px); }
.secteur-card__img { width:56px; height:56px; border-radius:50%; object-fit:cover; margin:0 auto .875rem; }
.secteur-card h4 { color:#fff; font-size:.95rem; font-weight:600; }
.secteurs-nav { display:flex; justify-content:center; gap:.75rem; margin-top:2rem; }
.secteurs-nav button {
  width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08); color:#fff; font-size:1.1rem;
  cursor:pointer; transition:var(--transition); display:flex; align-items:center; justify-content:center;
}
.secteurs-nav button:hover { background:var(--orange); border-color:var(--orange); }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.about-img { border-radius:20px; overflow:hidden; }
.about-img img { width:100%; height:440px; object-fit:cover; }
.about-text p { font-size:.975rem; color:var(--gray-700); line-height:1.85; margin-bottom:1rem; }
.values-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2rem; }
.value-item {
  display:flex; align-items:flex-start; gap:.875rem;
  background:var(--gray-50); padding:1rem; border-radius:10px;
}
.value-bar { width:4px; height:auto; min-height:40px; background:linear-gradient(180deg,var(--blue),var(--orange)); border-radius:2px; flex-shrink:0; }
.value-item h5  { font-size:.875rem; font-weight:600; color:var(--navy); margin-bottom:.2rem; }
.value-item p   { font-size:.8rem; color:var(--gray-500); }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background:linear-gradient(135deg, var(--navy), var(--navy2));
  padding:3.5rem 0;
}
.stats-bar__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; text-align:center; }
.stat-item__num { font-family:'Sora',sans-serif; font-size:2.5rem; font-weight:700; color:var(--orange-l); }
.stat-item__lbl { font-size:.875rem; color:rgba(255,255,255,.6); margin-top:.25rem; }

/* ─── RECRUTEMENT ────────────────────────────────────────────── */
.recruit-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; }
.offres-list  { display:flex; flex-direction:column; gap:.875rem; }
.offre-item {
  background:#fff; border:1px solid var(--gray-100); border-radius:var(--radius);
  padding:1.25rem 1.5rem; display:flex; justify-content:space-between; align-items:center;
  transition:var(--transition);
}
.offre-item:hover { box-shadow:var(--shadow); border-color:var(--blue); }
.offre-item__title { font-size:.95rem; font-weight:600; color:var(--navy); margin-bottom:.25rem; }
.offre-item__meta  { font-size:.8rem; color:var(--gray-500); }
.badge-open { background:rgba(16,185,129,.1); color:#059669; padding:.3rem .875rem; border-radius:20px; font-size:.75rem; font-weight:600; white-space:nowrap; }

/* ─── FORM ───────────────────────────────────────────────────── */
.form-card { background:#fff; border-radius:16px; padding:2.5rem; box-shadow:var(--shadow-md); }
.form-card h3 { font-size:1.2rem; color:var(--navy); margin-bottom:1.5rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { margin-bottom:1.125rem; }
.form-group label { display:block; font-size:.8rem; font-weight:600; color:var(--gray-700); margin-bottom:.375rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:.75rem 1rem; border:1.5px solid var(--gray-100);
  border-radius:8px; font-size:.9rem; color:var(--text); background:#fff;
  transition:border-color .2s; outline:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--blue); }
.form-group textarea { height:90px; resize:vertical; }
.upload-area {
  border:2px dashed var(--gray-300); border-radius:8px; padding:1.5rem;
  text-align:center; cursor:pointer; transition:border-color .2s; position:relative;
}
.upload-area:hover { border-color:var(--blue); }
.upload-area input[type=file] { position:absolute; inset:0; opacity:0; cursor:pointer; }
.upload-area p  { font-size:.875rem; color:var(--gray-500); }
.upload-area small { font-size:.75rem; color:var(--gray-300); }
.form-submit {
  width:100%; background:var(--orange); color:#fff; padding:.9rem;
  border-radius:9px; font-size:.95rem; font-weight:600; border:none;
  cursor:pointer; transition:var(--transition); margin-top:.5rem;
}
.form-submit:hover { background:var(--orange-l); }
.form-alert { display:none; border-radius:8px; padding:.875rem 1rem; font-size:.875rem; font-weight:500; margin-top:.875rem; }
.form-alert--success { background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.3); color:#059669; }
.form-alert--error   { background:rgba(220,38,38,.08); border:1px solid rgba(220,38,38,.25); color:#dc2626; }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:5rem; align-items:start; }
.contact-info h3 { font-size:1.5rem; font-weight:700; color:var(--navy); margin-bottom:1.75rem; }
.contact-item { display:flex; gap:1rem; margin-bottom:1.5rem; }
.contact-item__icon {
  width:48px; height:48px; border-radius:12px;
  background:linear-gradient(135deg, var(--blue), var(--cyan));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:1.2rem; flex-shrink:0;
}
.contact-item__label { font-size:.7rem; font-weight:600; text-transform:uppercase;
  letter-spacing:.07em; color:var(--gray-300); margin-bottom:.2rem; }
.contact-item__val   { font-size:1rem; color:var(--navy); font-weight:500; }
.contact-map {
  margin-top:1.75rem; background:linear-gradient(135deg,#e2f0ff,#cce4f7);
  border-radius:var(--radius); height:200px; display:flex; align-items:center;
  justify-content:center; flex-direction:column; gap:.5rem;
  border:1px solid #b4d4f0; overflow:hidden; position:relative;
}
.contact-map__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.35; }
.contact-map p { font-size:.95rem; color:var(--blue); font-weight:600; position:relative; z-index:1; }
.contact-map span { font-size:.8rem; color:var(--gray-500); position:relative; z-index:1; }
.contact-form-wrap { background:var(--gray-50); border-radius:20px; padding:2.5rem; }
.contact-form-wrap h3 { font-size:1.2rem; color:var(--navy); margin-bottom:1.5rem; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background:var(--navy); padding:4rem 0 2rem; }
.footer__top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.08); }
.footer__brand p { font-size:.875rem; color:rgba(255,255,255,.5); line-height:1.75; max-width:260px; margin-top:1rem; }
.footer__logo { height:34px; margin-bottom:0; }
.footer__col h5 { color:#fff; font-size:.875rem; font-weight:600; margin-bottom:1rem; }
.footer__col a  { display:block; color:rgba(255,255,255,.5); font-size:.875rem; margin-bottom:.5rem; transition:color .2s; }
.footer__col a:hover { color:#fff; }
.footer__bottom { display:flex; justify-content:space-between; align-items:center; padding-top:1.75rem; flex-wrap:wrap; gap:.75rem; }
.footer__bottom p { font-size:.8rem; color:rgba(255,255,255,.4); }
.footer__langs  { display:flex; gap:.5rem; }
.lang-btn { padding:.375rem .875rem; border-radius:6px; font-size:.8rem; font-weight:600; cursor:pointer; border:none; transition:var(--transition); }
.lang-btn.active { background:var(--orange); color:#fff; }
.lang-btn:not(.active) { background:rgba(255,255,255,.08); color:rgba(255,255,255,.5); }

/* ─── TOAST ──────────────────────────────────────────────────── */
.toast {
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:9999;
  background:var(--navy); color:#fff; padding:.875rem 1.5rem;
  border-radius:12px; font-size:.875rem; font-weight:500;
  transform:translateY(80px); opacity:0; transition:all .4s;
  border-left:4px solid var(--orange); max-width:320px;
}
.toast.show { transform:translateY(0); opacity:1; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns:1fr; gap:2.5rem; }
  .footer__top { grid-template-columns:1fr 1fr; gap:2rem; }
  .stats-bar__grid { grid-template-columns:1fr 1fr; gap:2rem; }
}
@media (max-width: 768px) {
  .nav__links { display:none; }
  .nav__hamburger { display:flex; }
  .nav__links.open {
    display:flex; flex-direction:column;
    position:fixed; top:72px; left:0; right:0;
    background:rgba(10,22,40,.98); padding:1.5rem;
    gap:1.25rem; border-top:1px solid rgba(255,255,255,.08); z-index:999;
  }
  .recruit-grid { grid-template-columns:1fr; }
  .form-row     { grid-template-columns:1fr; }
  .values-grid  { grid-template-columns:1fr; }
  .hero__arrow  { display:none; }
  .section      { padding:64px 0; }
}
@media (max-width: 500px) {
  .footer__top { grid-template-columns:1fr; }
  .stats-bar__grid { grid-template-columns:1fr 1fr; }
}
