/* ============================================
   NOSTRALE - Landing Page Google Ads
   ============================================ */

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

/* --- VARIABLES --- */
:root {
  --primary: #006AFF;
  --primary-dark: #0054CC;
  --primary-light: #338FFF;
  --primary-lightest: #E6F0FF;
  --dark: #0A1628;
  --text-dark: #1A1A1A;
  --text-body: #444444;
  --text-light: #777777;
  --bg-white: #FFFFFF;
  --bg-light: #F7F9FC;
  --border-light: #E2E8F0;
  --error: #E53E3E;
  --success: #00B87C;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

/* --- BASE --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
}

.highlight {
  color: var(--primary);
}

/* --- BOUTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 106, 255, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--large {
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-md);
}

.btn--nav {
  font-size: 0.9rem;
  padding: 10px 24px;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

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

.nav__logo img {
  width: 130px;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-white) 0%, var(--primary-lightest) 50%, var(--bg-white) 100%);
}

.hero__bg {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 106, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero__content {
  max-width: 620px;
}

.hero__form {
  position: relative;
}

.hero__badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-lightest);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- STATS --- */
.stats {
  background: var(--dark);
  padding: 56px 0;
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stats__item {
  text-align: center;
}

.stats__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stats__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 220px;
  line-height: 1.5;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
}

/* --- PROBLÈME --- */
.problem {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.problem__item {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.problem__item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.problem__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.problem__icon svg {
  width: 100%;
  height: 100%;
}

.problem__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.problem__text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

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

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

.services__card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.services__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.services__icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: 20px;
}

.services__icon svg {
  width: 100%;
  height: 100%;
}

.services__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.services__text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- MÉTHODE --- */
.method {
  padding: 100px 0;
  background: var(--bg-white);
}

.method__steps {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.method__steps::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.method__step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.method__step:last-child {
  margin-bottom: 0;
}

.method__number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.method__content {
  padding-top: 14px;
}

.method__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.method__text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- GARANTIE --- */
.guarantee {
  padding: 100px 0;
  background: var(--bg-light);
}

.guarantee__card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 24px rgba(0, 106, 255, 0.08);
}

.guarantee__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  color: var(--primary);
}

.guarantee__icon svg {
  width: 100%;
  height: 100%;
}

.guarantee__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.guarantee__text {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 12px;
}

.guarantee__text strong {
  color: var(--primary);
}

.guarantee__subtext {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 32px;
}

/* --- FAQ --- */
.faq {
  padding: 100px 0;
  background: var(--bg-white);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border-light);
}

.faq__item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--primary);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform var(--transition);
}

.faq__item--open .faq__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item--open .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- FORMULAIRE --- */
.contact__form-wrapper {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text-dark);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: #bbb;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.12);
}

.form-input--error {
  border-color: var(--error);
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 1.2em;
}

.contact__submit {
  width: 100%;
  margin-top: 8px;
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact__success {
  text-align: center;
  padding: 32px;
}

.contact__success svg {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin: 0 auto 16px;
}

.contact__success p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact__error-msg {
  text-align: center;
  padding: 16px;
  margin-top: 16px;
  background: rgba(229, 62, 62, 0.08);
  border-radius: var(--radius-sm);
}

.contact__error-msg p {
  font-size: 0.9rem;
  color: var(--error);
  font-weight: 500;
}

/* --- FOOTER --- */
.footer {
  padding: 32px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE TABLETTE --- */
@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 64px;
  }

  .hero__form {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .problem__grid,
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats__grid {
    flex-direction: column;
    gap: 32px;
  }

  .stats__divider {
    width: 60px;
    height: 1px;
  }

  .problem,
  .services,
  .method,
  .guarantee,
  .faq {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .guarantee__card {
    padding: 44px 36px;
  }

  .guarantee__title {
    font-size: 1.55rem;
  }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 64px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats__number {
    font-size: 2rem;
  }

  .method__steps::before {
    left: 28px;
  }

  .method__number {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }

  .method__step {
    gap: 20px;
    margin-bottom: 36px;
  }

  .method__step:last-child {
    margin-bottom: 0;
  }

  .method__title {
    font-size: 1.1rem;
  }

  .method__content {
    padding-top: 10px;
  }

  .stats {
    padding: 44px 0;
  }

  .stats__grid {
    gap: 24px;
  }

  .problem,
  .services,
  .method,
  .guarantee,
  .faq {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .guarantee__card {
    padding: 36px 24px;
  }

  .guarantee__title {
    font-size: 1.45rem;
  }

  .guarantee__text {
    font-size: 1rem;
  }

  .guarantee__subtext {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .contact__form-wrapper {
    padding: 28px 20px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__legal {
    gap: 16px;
  }

  .nav__logo img {
    width: 110px;
  }

  .btn--nav {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

/* --- RESPONSIVE PETIT TÉLÉPHONE --- */
@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .nav__logo img {
    width: 95px;
  }

  .btn--nav {
    font-size: 0.75rem;
    padding: 10px 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero {
    padding: 88px 0 48px;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero__title {
    font-size: 1.55rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .btn--large {
    font-size: 0.95rem;
    padding: 14px 24px;
  }

  .stats {
    padding: 40px 0;
  }

  .stats__number {
    font-size: 1.6rem;
  }

  .stats__label {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .problem,
  .services,
  .method,
  .guarantee,
  .faq {
    padding: 64px 0;
  }

  .problem__item {
    padding: 28px 20px;
  }

  .problem__title {
    font-size: 1.05rem;
  }

  .services__card {
    padding: 28px 20px;
  }

  .services__title {
    font-size: 1.1rem;
  }

  .method__steps::before {
    left: 22px;
  }

  .method__number {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  .method__step {
    gap: 16px;
  }

  .method__title {
    font-size: 1.05rem;
  }

  .method__content {
    padding-top: 8px;
  }

  .method__text {
    font-size: 0.9rem;
  }

  .guarantee__card {
    padding: 28px 16px;
  }

  .guarantee__title {
    font-size: 1.4rem;
  }

  .guarantee__text {
    font-size: 0.95rem;
  }

  .faq__question {
    font-size: 0.95rem;
    padding: 18px 0;
  }

  .faq__answer p {
    font-size: 0.9rem;
  }

  .contact__form-wrapper {
    padding: 24px 16px;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .footer__logo {
    width: 90px;
  }

  .footer__copy {
    font-size: 0.75rem;
  }

  .footer__legal a {
    font-size: 0.7rem;
  }
}
