/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2B6089;
  --blue-dark: #1e4d70;
  --blue-light: #eef4fa;
  --yellow: #F9C41A;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,96,137,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 28px;
  color: var(--yellow);
}

.logo-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-text strong {
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--dark2);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.btn-nav:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43,96,137,0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 24px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background-image: url('realisation/dji_fly_20260320_121518_112_1774004310873_photo_optimized.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,58,95,0.78) 60%, rgba(15,23,42,0.85) 100%);
  z-index: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.04; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.07; transform: translateY(-50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  background: rgba(43,96,137,0.2);
  color: var(--yellow);
  border: 1px solid rgba(251,191,36,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.highlight {
  background: linear-gradient(135deg, var(--blue), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}


/* ===== RIBBON ===== */
.ribbon {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 14px 0;
  overflow: hidden;
}

.ribbon-inner {
  display: flex;
  gap: 48px;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ribbon-inner span {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.light h2,
.section-header.light p {
  color: var(--white);
}

.tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tag-light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.service-card.featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, #eef4fa 0%, #ffffff 100%);
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--blue);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  font-size: 13px;
  color: var(--dark2);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
}

/* ===== AVANTAGES ===== */
.avantages {
  padding: 100px 0;
  background: var(--white);
}

.avantages-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.avantages-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.avantages-text > p {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 16px;
}

.avantages-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.avantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.avantage-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avantage-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.avantage-item p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.savings-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.savings-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.savings-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-bottom: 28px;
}

.savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

.savings-row span { color: rgba(255,255,255,0.6); }
.savings-row strong { font-weight: 700; }
.savings-row strong.green { color: #4ade80; }

.savings-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 28px;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

.savings-highlight strong {
  font-size: 18px;
  color: #4ade80;
}

/* ===== REALISATIONS ===== */
.realisations {
  padding: 100px 0;
  background: var(--gray-light);
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.realisation-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.3s ease;
}

.realisation-card:hover { transform: translateY(-6px); }

.realisation-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.img1 {
  background-image: url('realisation/ACP Hoover Cerisiers. - photos chantiers 2.jpeg');
  background-size: cover;
  background-position: center;
}

.img2 {
  background-image: url('realisation/ACP REG I & II - Photos chantier PV (4).jpg');
  background-size: cover;
  background-position: center top;
}

.img3 {
  background-image: url('realisation/dji_fly_20260305_144426_94_1772735780804_photo_optimized.jpeg');
  background-size: cover;
  background-position: center;
}

.realisation-info {
  padding: 20px 24px;
}

.realisation-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.realisation-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.realisation-info p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== TEMOIGNAGES ===== */
.temoignages {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.temoignages-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.carousel-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.2);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.carousel-dot.active {
  background: var(--yellow);
}

.temoignage-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
  transition: all 0.3s;
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
}

.temoignage-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.stars {
  color: var(--yellow);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.temoignage-card p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.client strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.client span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 13px;
  color: var(--gray);
}

/* ===== FORM ===== */
.contact-form {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark2);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.certifs {
  display: flex;
  gap: 8px;
}

.certif-badge {
  background: rgba(43,96,137,0.2);
  color: var(--blue);
  border: 1px solid rgba(43,96,137,0.3);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul li,
.footer-links ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links ul a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .avantages-inner { grid-template-columns: 1fr; gap: 48px; }
  .avantages-visual { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero h1 { letter-spacing: -1px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .temoignage-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
