:root {
  --bg: #f7fbfb;
  --card: #ffffff;
  --text: #0b1b1e;
  --muted: #4b5b60;
  --blue: #0b6cff;
  --green: #15b36b;
  --green2: #0e8f57;
  --border: rgba(11, 27, 30, .12);
  --shadow: 0 12px 30px rgba(11, 27, 30, .10);
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: radial-gradient(1000px 600px at 10% -10%, rgba(21, 179, 107, .18), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(11, 108, 255, .15), transparent 55%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none
}

p {
  line-height: 1.65;
  color: var(--muted)
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: .2px
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #aeea00, #004d40);
  box-shadow: var(--shadow);
}

.navlinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center
}

.navlinks a {
  font-weight: 650;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
}

.navlinks a:hover {
  background: rgba(11, 27, 30, .06)
}

.ctaRow {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}


/* --- MOBILE MENU --- */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: #0b1b1e;
  border-radius: 3px;
  transition: 0.3s;
}

/* Menu mobile */
.mobileMenu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(247, 251, 251, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 14px;
}

.mobileMenu a {
  font-size: 16px;
  padding: 12px 0;
  font-weight: 700;
  color: #0b1b1e;
  text-decoration: none;
}

/* Dropdown mobile */
.mobileDropdown {
  display: flex;
  flex-direction: column;
}

.dropdownBtn {
  background: none;
  border: none;
  padding: 12px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.dropdownContent {
  display: none;
  flex-direction: column;
  padding-left: 10px;
}

.dropdownContent a {
  padding: 8px 0;
  font-size: 15px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {

  .navlinks,
  .ctaRow {
    display: none !important;
  }

  .burger {
    display: flex;
  }

  .brand img {
    width: 150px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 6px 18px rgba(153, 41, 41, 0.07);
  font-weight: 750;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-1px);
  color: #000000;
  background: #ffffff;
  border: 1px solid var(--border);
}

.btnPrimary {
  border: none;
  background: linear-gradient(135deg, #aeea00, #004d40);
  color: #fff;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .7);
  font-weight: 650;
  font-size: 13px;
  color: var(--muted);
}

.hero {
  padding: 34px 0 22px
}

.heroGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
}

@media (max-width: 920px) {
  .heroGrid {
    grid-template-columns: 1fr
  }
}

.card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  gap: 10px;
}

.heroLeft {
  padding: 24px
}

.kicker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px
}

h1 {
  margin: 10px 0 12px;
  font-size: 42px;
  line-height: 1.12
}

@media (max-width: 520px) {
  h1 {
    font-size: 34px
  }
}

.heroLeft p {
  font-size: 16px;
  margin: 0 0 16px
}

.heroList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 18px;
}

@media (max-width: 520px) {
  .heroList {
    grid-template-columns: 1fr
  }
}

.mini {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
}

.mini b {
  display: block;
  margin-bottom: 4px
}

.heroRight {
  padding: 18px;
  overflow: hidden;
  position: relative
}

.heroImage {
  border-radius: 16px;
  min-height: 350px;
  background:
    linear-gradient(180deg, rgba(11, 27, 30, .15), rgba(11, 27, 30, .55)),
    url("https://images.unsplash.com/photo-1624397640148-949b1732bb0a?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, .25);
}

.heroOverlay {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.statRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

@media (max-width: 520px) {
  .statRow {
    grid-template-columns: 1fr
  }
}

.stat {
  pointer-events: auto;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--border);
}

.stat .big {
  font-size: 22px;
  font-weight: 900
}

.stat .small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px
}

.section {
  padding: 28px 0
}

.section h2 {
  margin: 0 0 10px;
  font-size: 28px
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

@media (max-width: 920px) {
  .grid3 {
    grid-template-columns: 1fr
  }
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f59f0b;
  border: 1px solid rgba(21, 179, 107, .25);
  font-weight: 900;
  color: #ffffff;
}

.split {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 920px) {
  .split {
    grid-template-columns: 1fr
  }
}

.form {
  padding: 18px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px
}

label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .9);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical
}

.help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .8);
}

.faq summary {
  cursor: pointer;
  font-weight: 800
}

.faq details p {
  margin: 10px 0 0
}

.footer {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .55);
}

.smallprint {
  font-size: 12px;
  color: var(--muted)
}

.stickyCall {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stickyCall a {
  box-shadow: var(--shadow)
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.main-nav ul li a:hover {
  color: #aeea00;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #aeea00, #004d40);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 5px;
  width: 180px;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: #fff;
  text-decoration: none;
  position: left !important;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

li.dropdown::marker {
  content: "";
}


.site-footer {
  background: #f2f8fb;
  color: #000000;
  padding-top: 50px;
  font-family: Arial, sans-serif;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.footer-column h3 {
  margin-bottom: 15px;
  color: #004d40;
}

.footer-column p {
  line-height: 1.6;
  font-size: 14px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: #0b6cff;

}

.footer-cta {
  display: inline-block;
  /* margin-top: 15px; */
  background: linear-gradient(135deg, #aeea00, #004d40);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(11, 27, 30, .07);
  font-weight: 750;
  font-size: 14px;
  text-align: center;
}

.footer-cta:hover {
  transform: translateY(-1px)
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: #f2f8fb;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.footer-bottom a {
  color: #000000;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }
}




.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  background: linear-gradient(135deg, #aeea00, #004d40);
  color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: none;
  /* Animation */
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInCookie 0.6s ease-out forwards;

}

/* Triangle gauche */
.cookie-banner::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid #a4e103;

  opacity: 0;
  transform: translateX(-20px);
  animation: triangleIn 0.6s ease-out 0.2s forwards;
}

/* Animation principale */
@keyframes slideInCookie {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }

  70% {
    opacity: 1;
    transform: translateX(5px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation triangle */
@keyframes triangleIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cookie-content p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #000000;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-btn.accept {
  background-color: #aeea00;
  color: #000000;
}

.cookie-btn.reject {
  background-color: #ffffff;
  color: #000000;
}

.cookie-btn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .cookie-banner::before {
    display: none;
    /* enlève le triangle sur mobile */
  }
}

.page-header {
  text-align: center;
  padding: 80px 20px 40px;
  background: #f5f5f5;
  color: #000000;
  border-radius: 12px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  ;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 18px;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #004d40;
}

.section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: #f7fbfb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(11, 27, 30, .07);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #003d33;
}

.cta-section {
  text-align: center;
  margin: 50px 0;
}

.cta-section a {
  padding: 14px 25px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #aeea00, #004d40);
  box-shadow: 0 6px 18px rgba(11, 27, 30, .07);
  transition: transform 0.3s ease;
}

.cta-section a:hover {
  transform: translateY(-2px);
}

/* Responsive images */
.section img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.footer-column a img {
  float: none;
  width: 100%;
  display: block;
}

.logofooter {
  width: 100%;
  display: block;
}

.btnadw {
  display: none;
}

@media screen and (max-width: 768px) {
  .footer-column a img {
    width: 100%;
    margin: 10px auto;
    display: block;
    float: none;
  }

  .logofooter {
    width: 100%;
    display: block;
    margin: 0 auto;
    float: left;
  }

  .ctaRowAdw,
  .btnPrimary,
  .btn {
    display: flex;
    flex-direction: column;
    /* empile verticalement */
    gap: 6px;
    /* espace entre les liens */
  }

  .btnPrimary {
    text-align: center;
  }

  .brand img {
    width: 155px;
    float: left;
  }

  img.mob-logo {
    width: 150px !important;
  }

}

.footer-column img {
  width: 90%;
}

.heroOverlay {
  position: unset;
  margin-top: 10px;
}

.cta-section h2 {
  padding-bottom: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #f7fbfb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(11, 27, 30, .07);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.cardAdw {
  background: #f7fbfb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(11, 27, 30, .07);
  transition: 0.3s;
}

.gridAdw {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ===== HERO MODERNE ===== */

.heroNew {
  position: relative;
  min-height: 92vh;
  background: url("https://images.unsplash.com/photo-1613665813446-82a78c468a1d?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: white;
  overflow: hidden;
}

.heroOverlayBg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.heroContent {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  animation: fadeUp 1.2s ease forwards;
}

/* Badge */
.heroBadge {
  display: inline-block;
  background: rgba(0, 255, 150, 0.2);
  border: 1px solid #00ff99;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 25px;
  animation: fadeDown 1s ease;
}

/* Titre */
.heroTitle {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlightGreen {
  color: #63a61b;
}

.highlightOrange {
  color: #f59e0b;
  font-size: 60px;
}

/* Sous-texte */
.heroSubtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 35px auto;
  opacity: 0.9;
  color: #ffffff
}

/* Boutons */
.heroButtons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btnHeroPrimary {
  background: #00cc66;
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btnHeroPrimary:hover {
  background: #00aa55;
  transform: translateY(-3px);
}

.btnHeroSecondary {
  background: white;
  color: #222;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btnHeroSecondary:hover {
  transform: translateY(-3px);
}

/* Stats */
.heroStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.statCard {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
  animation: fadeUp 1.4s ease;
}

.statCard h3 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #00ff88;
}

.statCard p {
  font-size: 14px;
  opacity: 0.8;
  color: #ffffff;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .heroTitle {
    font-size: 32px;
  }

  .highlightOrange {
    font-size: 40px;
  }

  .heroSubtitle {
    font-size: 16px;
  }
}

.orange {
  color: #f59e0b;
}


.section {
  padding: 40px 20px;
}

.container.split {
  display: flex;
  align-items: center;
  /* centre verticalement */
  gap: 40px;
  /* espace entre l'image et le texte */
  flex-wrap: wrap;
  /* permet de rester responsive sur petits écrans */
}

.container.split div {
  flex: 1;
  /* chaque div prend une portion égale de l'espace */
}

.cen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centre verticalement le contenu textuel */
}

@media (max-width: 768px) {
  .split {
    flex-direction: column;
    gap: 15px;
  }
}



/* HERO de a propos page*/

.heroone {
  position: relative;
  /* top:0; */
  left: 0;
  /* z-index: -1; */
  width: 100%;
  height: 50vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.60)),
    url('images/Photovoltaïque_sunnyflux_sunlib.jpeg');
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: center;
  justify-content: center;
}

.hero-contentone {
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.hero-contentone p {
  color: #F5F5F5;
  margin-bottom: 25px;
}

.heroone h1 {
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 20px;
}

.solar-btnone {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  color: #2f7d32;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.3s;
}

/* --- CODE RESPONSIVE --- */

/* Pour les tablettes (max 992px) */
@media (max-width: 992px) {
  .heroone h1 {
    font-size: 42px;
    /* On réduit un peu la taille du titre */
  }

  .hero-contentone {
    margin-left: 0;
    /* On centre réellement le contenu sur tablette */
    padding: 0 20px;
    /* On ajoute une petite marge de sécurité sur les côtés */
  }
}

/* Pour les mobiles (max 600px) */
@media (max-width: 600px) {
  .heroone {
    height: 60vh;
    /* On augmente un peu la hauteur sur mobile pour laisser respirer le texte */
  }

  .heroone h1 {
    font-size: 27px;
    /* Taille adaptée aux écrans de smartphones */
    line-height: 1.2;
  }

  .hero-contentone p {
    font-size: 16px;
    /* Texte plus lisible sur mobile */
    margin-bottom: 20px;
  }

  .solar-btnone {
    width: 100%;
    /* Le bouton prend toute la largeur sur mobile (plus facile à cliquer) */
    padding: 15px 0;
    text-align: center;
  }
}

.btn-primaryone {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  border: solid 1px #ffffff;
  transition: 0.3s;
}

.btn-primaryone:hover {
  background-color: #ffffff;
  color: #000000;
}

/* HERO de page FAQ */

.herotwo {
  position: relative;
  /* top:0; */
  left: 0;
  /* z-index: -1; */
  width: 100%;
  height: 50vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.60)),
    url('images/societe-panneau-solaire-abonnement_sunny_flex.jpg');
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: center;
  justify-content: center;
}

.hero-contenttwo {
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.hero-contenttwo p {
  color: #F5F5F5;
  margin-bottom: 25px;
}

.herotwo h1 {
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 20px;
}

.solar-btntwo {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  color: #2f7d32;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.3s;
}

/* --- CODE RESPONSIVE --- */

/* Pour les tablettes (max 992px) */
@media (max-width: 992px) {
  .herotwo h1 {
    font-size: 42px;
    /* On réduit un peu la taille du titre */
  }

  .hero-contenttwo {
    margin-left: 0;
    /* On centre réellement le contenu sur tablette */
    padding: 0 20px;
    /* On ajoute une petite marge de sécurité sur les côtés */
  }
}

/* Pour les mobiles (max 600px) */
@media (max-width: 600px) {
  .herotwo {
    height: 60vh;
    /* On augmente un peu la hauteur sur mobile pour laisser respirer le texte */
  }

  .herotwo h1 {
    font-size: 27px;
    /* Taille adaptée aux écrans de smartphones */
    line-height: 1.2;
  }

  .hero-contenttwo p {
    font-size: 16px;
    /* Texte plus lisible sur mobile */
    margin-bottom: 20px;
  }

  .solar-btntwo {
    width: 100%;
    /* Le bouton prend toute la largeur sur mobile (plus facile à cliquer) */
    padding: 15px 0;
    text-align: center;
  }
}

/* css de page FAQ */
.cta {
  height: 500px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('images/puissance_solaire.avif');
  background-size: 100%;
  background-position: 50% 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0px 20px;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 25px;
}

.btn-primarytwo {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  border: solid 1px #ffffff;
  transition: 0.3s;
}

.btn-primarytwo:hover {
  background-color: #ffffff;
  color: #000000;
}

@media (max-width:768px) {
  .cta {
    height: 350px;
    background-size: cover;
  }

  .cta h2 {
    font-size: 28px;
  }
}

/* footer css réseaux sociaux */

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-contact-details {
  margin-top: 15px;
}

.footer-contact-details p {
  margin-bottom: 8px;
}

/* Alignement des icônes */
.footer-socials {
  display: flex;
  gap: 15px;
  /* Espace entre Facebook, Insta, etc. */
  /* margin-top: 15px;
  Espace sous l'email */
}

.social-link {
  color: #3c832a;
  /* Ton vert SunnyFlex */
  transition: 0.3s ease;
  display: flex;
  align-items: center;
}

.social-link:hover {
  color: #f39c12;
  /* Ton orange SunnyFlex au survol */
  transform: translateY(-3px);
}

@media (max-width:768px) {
  .footer-socials {
    justify-content: center;
  }
}