/* ========================================
   G2SUN - Style Premium Tesla
   ======================================== */

/* Police Tesla - UniversalSans */
@font-face {
  font-family: 'UniversalSans';
  src: url('../marketing-tesla/polices/UniversalSans-Display-Medium-540.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'UniversalSans';
  src: url('../marketing-tesla/polices/UniversalSans-Display-Regular-430.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'UniversalSansText';
  src: url('../marketing-tesla/polices/UniversalSansText-Medium_3440551577.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'UniversalSansText';
  src: url('../marketing-tesla/polices/UniversalSansText-Regular_3596454155.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --orange: #F7941D;
  --orange-dark: #E8850A;
  --orange-glow: rgba(247, 148, 29, 0.15);
  --yellow: #FFD700;
  --black: #141414;
  --dark: #1c1c1c;
  --dark-light: #252525;
  --gray: #999999;
  --gray-light: #d0d0d0;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'UniversalSansText', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .hero-title, .section-title {
  font-family: 'UniversalSans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* ========================================
   BANDEAU PROMO POWERWALL
   ======================================== */

.promo-banner {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 50%, var(--orange-dark) 100%);
  padding: 10px 20px;
  text-align: center;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
}

.promo-banner a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 500;
}

.promo-banner a:hover {
  color: #fff;
}

.promo-banner strong {
  color: #e82127;
  font-weight: 700;
}

.promo-arrow {
  font-size: 18px;
  transition: transform 0.3s;
}

.promo-banner a:hover .promo-arrow {
  transform: translateX(5px);
}

/* ========================================
   HERO IMAGE - Grande photo G2SUN
   ======================================== */

.hero-image {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  margin-top: 115px; /* header 70px + bandeau 45px */
  background: url('../images/G2SUN-visuel-A3-Web.jpg') no-repeat center center;
  background-size: cover;
}

/* ========================================
   HERO BANNER - Bandeau noir avec infos
   ======================================== */

.hero-banner {
  background: var(--dark);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid rgba(247, 148, 29, 0.1);
}

.hero-banner .hero-subtitle {
  font-size: 22px;
  color: var(--gray-light);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-banner .hero-subtitle strong {
  color: var(--orange);
}

.hero-banner .hero-cta {
  display: flex;
  justify-content: center;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--orange-dark);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--black);
  box-shadow: 0 4px 20px rgba(247, 148, 29, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(247, 148, 29, 0.5);
  color: var(--black);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: var(--orange);
  background: rgba(247, 148, 29, 0.1);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(247, 148, 29, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding-left: 0;
}

.logo {
  margin-right: 40px;
}

.logo img {
  height: 50px;
  width: auto;
}

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

.nav a {
  color: var(--gray-light);
  font-size: 13px;
  transition: color 0.3s;
  white-space: nowrap;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */

/* Hero stats et CTA */
.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 50px;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.2), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(247, 148, 29, 0.4);
  border-radius: 30px;
  font-size: 14px;
  color: var(--orange);
  box-shadow: 0 0 30px rgba(247, 148, 29, 0.2);
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   Sections
   ======================================== */

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-dark {
  background: linear-gradient(180deg, var(--dark) 0%, rgba(247, 148, 29, 0.03) 50%, var(--dark) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
}

/* ========================================
   LGE Banner
   ======================================== */

.lge-banner {
  background: linear-gradient(90deg, var(--dark) 0%, rgba(247, 148, 29, 0.08) 50%, var(--dark) 100%);
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid rgba(247, 148, 29, 0.1);
  border-bottom: 1px solid rgba(247, 148, 29, 0.1);
}

.lge-logo {
  height: 60px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.lge-banner p {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
}

.lge-banner strong {
  color: var(--orange);
}

/* ========================================
   Cards Grid
   ======================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: linear-gradient(135deg, var(--dark-light) 0%, rgba(247, 148, 29, 0.05) 100%);
  border: 1px solid rgba(247, 148, 29, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 148, 29, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(247, 148, 29, 0.1);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--white);
}

.card p {
  color: var(--gray-light);
  font-size: 15px;
}

/* ========================================
   Partners - Bandeau défilant
   ======================================== */

.partners-section {
  padding: 60px 0;
  background: var(--dark);
  overflow: hidden;
}

.partners-section .section-header {
  margin-bottom: 40px;
}

.partners-slider {
  display: flex;
  animation: scroll-partners 25s linear infinite;
  width: max-content;
}

.partners-slider:hover {
  animation-play-state: paused;
}

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

.partners-track {
  display: flex;
  gap: 80px;
  align-items: center;
  padding: 0 40px;
}

.partner-link {
  display: block;
  transition: transform 0.3s;
}

.partner-link:hover {
  transform: scale(1.15);
}

.partner-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Ajustement taille logos spécifiques */
.partner-logo[alt="MyLight"] {
  height: 120px;
}

.partner-logo[alt="Enphase"] {
  height: 75px;
}

/* ========================================
   Gallery
   ======================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s;
  border: 1px solid rgba(247, 148, 29, 0.1);
}

.gallery-img:hover {
  transform: scale(1.02);
  border-color: rgba(247, 148, 29, 0.4);
  box-shadow: 0 10px 30px rgba(247, 148, 29, 0.2);
}

/* ========================================
   Certifications - Deux encadrements côte à côte
   ======================================== */

.certifications {
  background: var(--dark);
  padding: 80px 0;
}

.certifications-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px 50px;
  background: rgba(247, 148, 29, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(247, 148, 29, 0.2);
  max-width: 500px;
}

.cert-card:hover {
  border-color: rgba(247, 148, 29, 0.4);
}

.cert-logo {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.cert-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--orange);
}

.cert-text p {
  font-size: 15px;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.5;
}

.cert-text p {
  color: var(--gray-light);
  font-size: 16px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(247, 148, 29, 0.15) 0%, transparent 70%);
}

.cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 15px;
}

.cta > .container > p {
  font-size: 18px;
  color: var(--gray-light);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========================================
   BANDEAU RESEAUX SOCIAUX
   ======================================== */

.social-banner {
  background: var(--dark);
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid rgba(247, 148, 29, 0.1);
}

.social-banner p {
  color: var(--gray-light);
  font-size: 18px;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dark-light);
  border: 2px solid rgba(255,255,255,0.1);
  color: var(--white);
  transition: all 0.3s;
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 10px 30px rgba(247, 148, 29, 0.2);
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #e6683c;
  color: #fff;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: url('../images/footersoleil.png') no-repeat center bottom;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--orange);
}

.footer-contact p {
  color: var(--gray-light);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--gray-light);
}

.footer-contact a:hover {
  color: var(--orange);
}

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

.footer-links a {
  color: var(--gray-light);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(247, 148, 29, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray);
}

/* ========================================
   PAGES INTERNES
   ======================================== */

.page-content {
  padding-top: 150px; /* header + bandeau promo */
  padding-bottom: 60px;
  min-height: 80vh;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 20px;
}

.page-intro {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Solutions Page */
.solution-block {
  background: var(--dark-light);
  border: 1px solid rgba(247, 148, 29, 0.1);
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 40px;
}

.solution-block:hover {
  border-color: rgba(247, 148, 29, 0.3);
}

.solution-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.solution-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--orange);
}

.solution-content p {
  color: var(--gray-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.solution-features {
  list-style: none;
  margin-bottom: 30px;
}

.solution-features li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--gray-light);
}

.solution-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.solution-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--white);
}

.partner-logos-small {
  display: flex;
  gap: 30px;
  align-items: center;
  opacity: 0.7;
}

.partner-logos-small img {
  filter: brightness(0) invert(1);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--dark-light);
  border: 1px solid rgba(247, 148, 29, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--orange);
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--gray-light);
}

.contact-icon {
  font-size: 24px;
  width: 40px;
}

.contact-item a {
  color: var(--orange);
}

.zone-list {
  list-style: none;
  color: var(--gray-light);
}

.zone-list li {
  padding: 5px 0;
}

.certif-card {
  text-align: center;
}

.certif-card img {
  margin-bottom: 15px;
}

.certif-card p {
  color: var(--gray-light);
  font-size: 14px;
}

.contact-map {
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

/* Aides Page */
.aide-block {
  background: var(--dark-light);
  border: 1px solid rgba(247, 148, 29, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
}

.aide-highlight {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--dark-light) 0%, rgba(247, 148, 29, 0.08) 100%);
}

.aide-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.aide-icon {
  font-size: 40px;
}

.aide-header h2 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 5px;
}

.aide-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.aide-content p {
  color: var(--gray-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.aide-table {
  background: rgba(0,0,0,0.3);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.aide-table h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--orange);
}

.aide-table table {
  width: 100%;
  border-collapse: collapse;
}

.aide-table th,
.aide-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.aide-table th {
  color: var(--gray);
  font-weight: 500;
  font-size: 14px;
}

.aide-table td {
  color: var(--white);
}

.aide-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 15px;
  margin-bottom: 0;
}

.aide-example {
  background: rgba(247, 148, 29, 0.1);
  border-left: 3px solid var(--orange);
  padding: 20px;
  border-radius: 0 15px 15px 0;
  margin-bottom: 25px;
}

.aide-example h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--orange);
}

.aide-example ul {
  list-style: none;
  color: var(--gray-light);
}

.aide-example li {
  padding: 3px 0;
}

.aide-conditions h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--white);
}

.aide-conditions ul {
  list-style: none;
}

.aide-conditions li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--gray-light);
}

.aide-conditions li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.certification-block {
  margin: 60px 0;
}

.certification-block .cert-content {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--dark) 0%, rgba(247, 148, 29, 0.05) 100%);
  border: 1px solid rgba(247, 148, 29, 0.2);
  border-radius: 20px;
  padding: 50px;
}

.certification-block .cert-logo {
  height: 120px;
}

.certification-block h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--orange);
}

.certification-block p {
  color: var(--gray-light);
  margin-bottom: 20px;
}

.certification-block ul {
  list-style: none;
}

.certification-block li {
  padding: 5px 0;
  padding-left: 25px;
  position: relative;
  color: var(--gray-light);
}

.certification-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* Page CTA */
.page-cta {
  text-align: center;
  padding: 60px;
  background: radial-gradient(ellipse at center, rgba(247, 148, 29, 0.1) 0%, transparent 70%);
  border-radius: 20px;
  margin-top: 40px;
}

.page-cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.page-cta p {
  color: var(--gray-light);
  margin-bottom: 30px;
}

/* Nav active state */
.nav a.active {
  color: var(--orange);
}

/* ========================================
   PAGES LEGALES
   ======================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(247, 148, 29, 0.2);
}

.legal-section p {
  color: var(--gray-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-section ul {
  list-style: none;
  color: var(--gray-light);
}

.legal-section li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.legal-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ========================================
   PAGE SOLUTIONS
   ======================================== */

.solution-block {
  background: rgba(247, 148, 29, 0.03);
  border: 1px solid rgba(247, 148, 29, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.solution-block:hover {
  border-color: rgba(247, 148, 29, 0.25);
}

.solution-content {
  max-width: 100%;
}

.solution-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.solution-block h2 {
  color: var(--orange);
  font-size: 28px;
  margin-bottom: 20px;
}

.solution-block h3 {
  color: #fff;
  font-size: 18px;
  margin: 30px 0 15px;
}

.solution-block p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.solution-brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.brand-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-item strong {
  color: #fff;
  font-size: 16px;
}

.brand-item p {
  font-size: 14px;
  margin: 10px 0;
}

.solution-features {
  list-style: none;
  margin: 20px 0;
}

.solution-features li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--gray-light);
}

.solution-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.solution-highlight {
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(247, 148, 29, 0.08);
  padding: 25px;
  border-radius: 15px;
  margin: 25px 0;
}

.solution-highlight img {
  height: 60px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.partner-logo-medium {
  height: 60px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.solution-table {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 12px;
  margin: 25px 0;
}

.solution-table table {
  width: 100%;
  border-collapse: collapse;
}

.solution-table th,
.solution-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-table th {
  color: var(--orange);
  font-weight: 600;
}

.solution-table td {
  color: var(--gray-light);
}

.table-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 15px;
  font-style: italic;
}

.solution-note {
  background: rgba(247, 148, 29, 0.1);
  border-left: 3px solid var(--orange);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  margin-top: 25px;
}

.solution-note p {
  margin: 0;
}

.solution-highlight-block {
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.1) 0%, rgba(247, 148, 29, 0.05) 100%);
  border: 2px solid rgba(247, 148, 29, 0.3);
}

.solution-cta-box {
  margin-top: 30px;
}

.solution-targets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.target-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.target-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 10px;
}

.target-item strong {
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.target-item p {
  font-size: 14px;
  margin: 0;
}

/* ========================================
   PAGE AUTOCONSOMMATION COLLECTIVE
   ======================================== */

.acc-section {
  margin-bottom: 60px;
}

.acc-section h2 {
  color: var(--orange);
  font-size: 28px;
  margin-bottom: 25px;
}

.acc-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.acc-intro p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 17px;
}

.acc-schema {
  margin: 40px 0;
}

.schema-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(247, 148, 29, 0.05);
  padding: 40px;
  border-radius: 20px;
}

.schema-step {
  text-align: center;
}

.step-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}

.step-label {
  color: var(--gray-light);
  font-size: 14px;
}

.schema-arrow {
  font-size: 32px;
  color: var(--orange);
}

.acc-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-icon {
  font-size: 36px;
  margin-bottom: 15px;
  display: block;
}

.benefit-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.acc-how {
  background: rgba(247, 148, 29, 0.05);
  padding: 35px;
  border-radius: 20px;
  margin-top: 35px;
}

.acc-how h3 {
  color: #fff;
  margin-bottom: 25px;
}

.acc-steps {
  list-style: none;
  counter-reset: steps;
}

.acc-steps li {
  counter-increment: steps;
  padding: 15px 0 15px 50px;
  position: relative;
  color: var(--gray-light);
  line-height: 1.6;
}

.acc-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 15px;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.acc-examples {
  margin-top: 35px;
}

.acc-examples h3 {
  color: #fff;
  margin-bottom: 20px;
}

.acc-list {
  list-style: none;
}

.acc-list li {
  padding: 15px 0 15px 30px;
  position: relative;
  color: var(--gray-light);
  line-height: 1.6;
}

.acc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.acc-legal {
  background: rgba(0, 0, 0, 0.2);
  padding: 40px;
  border-radius: 20px;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.legal-item h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
}

.legal-item p {
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.advantage-item {
  text-align: center;
  padding: 25px;
  background: rgba(247, 148, 29, 0.05);
  border-radius: 15px;
}

.adv-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.advantage-item strong {
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.advantage-item p {
  color: var(--gray-light);
  font-size: 14px;
  margin: 0;
}

.accomp-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.accomp-step {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  color: #fff;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gray-light);
  margin: 0;
}

.acc-certification {
  margin-top: 50px;
}

.cert-banner {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(247, 148, 29, 0.08);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(247, 148, 29, 0.2);
}

.cert-banner .cert-logo {
  height: 100px;
  flex-shrink: 0;
}

.cert-banner .cert-text h3 {
  color: var(--orange);
  margin-bottom: 12px;
}

.cert-banner .cert-text p {
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.acc-cta {
  margin-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .solution-block {
    padding: 25px;
  }
  
  .solution-highlight {
    flex-direction: column;
    text-align: center;
  }
  
  .schema-box {
    flex-direction: column;
  }
  
  .schema-arrow {
    transform: rotate(90deg);
  }
  
  .cert-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .accomp-step {
    flex-direction: column;
    text-align: center;
  }
}

/* Responsive pages */
@media (max-width: 768px) {
  .page-content {
    padding-top: 130px;
  }
  
  .solution-block,
  .aide-block {
    padding: 30px 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-map {
    min-height: 300px;
  }
  
  .certification-block .cert-content {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .aide-header {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid rgba(247, 148, 29, 0.1);
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .cert-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
  
  /* Soleil plus petit sur mobile */
  body::before {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
  }
  
  body::after {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
  }
}
/* ===========================================
   SECTION NOTRE MÉTHODE - G2SUN
   À ajouter dans style.css
   =========================================== */

/* Section dark background */
.section-dark {
  background: #1a1a1a;
}

/* Grille des 3 cartes */
.methode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Carte méthode */
.methode-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.methode-card:hover {
  background: rgba(247, 148, 29, 0.1);
  border-color: rgba(247, 148, 29, 0.3);
  transform: translateY(-5px);
}

.methode-card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.methode-card h3 {
  color: #F7941D;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.methode-card p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Vidéo dans la carte */
.methode-video-container {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.methode-video {
  width: 100%;
  border-radius: 10px;
}

/* Badges monitoring */
.monitoring-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.badge {
  background: rgba(247, 148, 29, 0.2);
  border: 1px solid rgba(247, 148, 29, 0.4);
  color: #F7941D;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Bouton dans carte */
.methode-card .btn {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .methode-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .methode-card {
    padding: 25px 20px;
  }
  
  .methode-card-icon {
    font-size: 2.5rem;
  }
}

/* ===========================================
   MODAL PDF
   =========================================== */

.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.pdf-modal.active {
  display: flex;
}

.pdf-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pdf-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: #F7941D;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pdf-modal-close:hover {
  background: #e8850a;
  transform: scale(1.1);
}

.pdf-modal iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .pdf-modal-content {
    height: 80vh;
    border-radius: 8px;
  }
  
  .pdf-modal-close {
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}

