:root {
  --etoro-green: #00c805;
  --etoro-green-dark: #009700;
  --etoro-green-light: #e9fbe6;
  --etoro-green-ultralight: #f5fff3;
  --etoro-blue: #1e40af;
  --white: #fff;
  --gray-900: #23292f;
  --gray-700: #3e454c;
  --gray-300: #dde6e8;
  --footer-text: #2c3e34;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  margin: 0;
  padding: 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1.2rem 0;
  text-align: center;
}

a {
  color: var(--etoro-green);
  text-decoration: none;
  transition: color 0.14s;
  text-align: center;
}
a:hover { color: var(--etoro-green-dark); }

img { max-width: 100%; display: block; margin-left: auto; margin-right: auto; }

p, li, ul, ol, .section, .blog-card, .testimonial-card {
  color: var(--gray-900);
  text-align: center;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.3rem;
}

.header {
  background: var(--white);
  height: 70px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky; top: 0; left: 0; z-index: 100;
}
.header .container {
  display: flex; align-items: center; justify-content: center;
  height: 70px;
  padding: 0 1.1rem;
}
.logo img { height: 46px; margin: 0 auto;}
.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  justify-content: center;
  width: 100%;
}
.nav a {
  color: var(--gray-700);
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  text-align: center;
}
.nav a::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--etoro-green);
  transition: width .2s;
  border-radius: 2px;
  margin: 0 auto;
}
.nav a:hover::after { width: 100%; }

.cta-btn {
  display: inline-block;
  background: var(--etoro-green) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 2.3rem;
  border-radius: 18px;
  font-size: 1.14rem;
  box-shadow: 0 2px 7px rgba(0,200,5,0.08);
  letter-spacing: 0.01em;
  transition: box-shadow .14s, background .18s;
  border: none;
  text-align: center;
  margin: 0 auto;
}
.cta-btn:hover {
  background: var(--etoro-green-dark) !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
}

/* HERO */
.hero {
  background: var(--etoro-green-light);
  border-radius: 0 0 36px 36px;
  margin-bottom: 3.7rem;
  text-align: center;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0 2rem 0;
  text-align: center;
}
.hero-content, .hero-text, .hero-cta { text-align: center; align-items: center; margin: 0 auto; }
.hero-image { margin: 1.8rem auto 0 auto; }

/* STATS */
.stats-section {
  background: #fff;
  margin: 0 0 3.5rem 0;
  padding: 2.3rem 0;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
}
.stat-item {
  background: var(--etoro-green-light);
  border-radius: 18px;
  text-align: center;
  padding: 2rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--etoro-green);
  box-shadow: 0 2px 8px rgba(0,200,5,0.07);
}
.stat-item span { display: block; font-size: 1.01rem; font-weight: 500; color: var(--gray-700); margin-top: 0.23rem; text-align: center; }

/* AVANTAGES */
.avantages-section { margin: 4.8rem 0 3.7rem 0; text-align: center;}
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}
.avantage-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0,200,5,0.05), 0 1.5px 6px rgba(30,64,175,0.04);
  padding: 2.1rem 1.2rem;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}
.avantage-card img {
  height: 48px; width: auto; margin-bottom: 0.6rem;
  object-fit: contain;
  margin-left: auto; margin-right: auto;
}
.avantage-card h3 { color: var(--etoro-green);}
.avantage-card p { color: var(--gray-700); font-size: 1.14rem;}

/* CTA SECONDARY */
.cta-secondary { margin: 4.7rem 0 4rem 0; text-align: center;}
.cta-box {
  background: var(--etoro-green-light);
  border-radius: 20px;
  padding: 2.6rem 2.3rem;
  box-shadow: 0 3px 12px rgba(0,200,5,0.06);
  text-align: center;
}
.cta-description { margin-bottom: 1.2rem; }
.cta-wrapper { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }

/* TESTIMONIALS */
.temoignages-section { margin: 4.7rem 0 4rem 0; text-align: center;}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.3rem;
  justify-items: center;
}
.testimonial-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0,200,5,0.05), 0 1.5px 6px rgba(30,64,175,0.04);
  padding: 2.1rem 1.2rem;
  text-align: center;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--etoro-green);
  margin-top: 1.1rem;
  text-align: center;
}

/* FAQ */
.faq-section {
  margin: 4.7rem 0 4rem 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(30,64,175,0.04);
  padding: 2.7rem 2.1rem;
  text-align: center;
}
.faq-item h3, .faq-item p, .faq-section h2 { text-align: center; }

/* BLOG */
.blog-section { margin: 4.7rem 0 4rem 0; text-align: center;}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}
.blog-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0,200,5,0.05), 0 1.5px 6px rgba(30,64,175,0.04);
  padding: 2.1rem 1.2rem;
  text-align: center;
  display: flex; flex-direction: column; height: 100%; align-items: center;
}
.blog-card img { height: 200px; width: 100%; object-fit: cover; margin: 0 auto; }
.blog-card h3 { color: #1e40af; margin-top: 1rem; font-size: 1.33rem;}
.read-more {
  color: var(--etoro-green);
  font-weight: 600;
  margin-top: auto;
  padding: 0.3rem 0.1rem 1rem 0.1rem;
  display: inline-block;
  transition: color .15s;
  text-align: center;
}
.read-more::after { content: "→"; margin-left: 7px; }
.read-more:hover { color: #1e40af; }

/* NEWSLETTER & FORM */
.newsletter-section {
  background: var(--etoro-green-light);
  border-radius: 22px;
  max-width: 900px;
  margin: 4.5rem auto 4.2rem auto;
  padding: 3rem 2rem;
  box-shadow: 0 4px 22px rgba(0,200,5,0.07);
  text-align: center;
}
.newsletter-section h2 {
  font-size: 2rem;
  color: #00c805;
  margin-bottom: 1.3rem;
  text-align: center;
}
.newsletter-section p {
  font-size: 1.08rem;
  margin-bottom: 1.3rem;
  text-align: center;
}
.newsletter-section form {
  margin: 1.6rem auto 0 auto;
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  max-width: 560px;
}
.newsletter-section input[type="email"] {
  padding: 1rem;
  border: 1.5px solid #00c805;
  border-radius: 10px;
  font-size: 1.07rem;
  flex: 1;
  text-align: center;
}
.newsletter-section button[type="submit"] {
  padding: 1rem 2rem;
  border-radius: 10px;
  border: none;
  background: var(--etoro-green);
  color: var(--white);
  font-size: 1.07rem;
  font-weight: 600;
  transition: background .15s;
  cursor: pointer;
  text-align: center;
}
.newsletter-section button[type="submit"]:hover {
  background: var(--etoro-green-dark);
}
.popup-message {
  margin: 1.7rem auto 0 auto;
  background: var(--white);
  color: var(--etoro-green);
  border: 1.5px solid var(--etoro-green);
  border-radius: 10px;
  max-width: 400px;
  font-size: 1rem;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,200,5,0.07);
  display: none;
  text-align: center;
}
.popup-message.active { display: block; }

/* FOOTER VERT CLAIR & CENTRÉ */
footer, .footer {
  margin-top: 6rem;
  padding: 3.3rem 0 1.4rem 0;
  background: var(--etoro-green-light);
  color: var(--footer-text);
  text-align: center;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 32px rgba(0,200,5,0.09);
}
.footer-logo img { height: 54px; margin: 0 auto 1.2rem auto; }
.footer-links {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem auto;
}
.footer-links a {
  color: var(--etoro-green);
  font-weight: 600;
  font-size: 1.13rem;
  transition: color .13s;
}
.footer-links a:hover { color: var(--etoro-blue); }
.footer-contact {
  text-align: center;
  font-size: 1.08rem;
}

/* COOKIE BANNER */
.cookie-banner {
  display: none;
  background: var(--etoro-green);
  color: #fff;
  padding: 1.2rem 2.1rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,200,5,0.10);
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 9001;
  font-size: 1.08rem;
  text-align: center;
}
.cookie-banner a { color: #fff; text-decoration: underline;}
.cookie-banner button {
  margin-left: 2rem;
  background: #fff;
  color: var(--etoro-green);
  border: none;
  border-radius: 11px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-banner button:hover { background: var(--etoro-green-dark); color: #fff; }

/* RESPONSIVE TUNING */
@media (max-width: 1100px) {
  .container { padding: 0 0.8rem; }
  .header .container { padding: 0 0.8rem; }
  .footer-logo img { height: 42px; }
}
@media (max-width: 800px) {
  h1 { font-size: 1.7rem;}
  h2 { font-size: 1.2rem;}
  .footer-links { gap: 1.2rem;}
  .stats-grid, .avantages-grid, .testimonials-grid, .blog-grid { gap: 1.2rem;}
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
