/* CreerMonLivre - Stylesheet */

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

:root {
  --salmon: #f5c4bc;
  --red: #e8453c;
  --red-dark: #c73530;
  --navy: #1e2d4e;
  --beige: #f5f0e8;
  --peach: #f5845a;
  --peach-border: #e06a42;
  --pink-text: #e8637a;
  --text-mid: #4a5568;
  --text-light: #8a9bb5;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.top-band {
  background: var(--salmon);
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 80px;
}

.top-band a {
  display: inline-block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -25%);
  z-index: 10;
}

.logo-img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.18));
}

/* ===== BUTTONS ===== */
.btn-red {
  background: var(--red);
  color: #fff;
  border: none;
  font-weight: 800;
  border-radius: 8px;
  padding: 0 24px;
  transition: background 0.2s;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
}

.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.25rem rgba(232, 69, 60, 0.15);
}

/* ===== HERO / MAINTENANCE CARD ===== */
.hero {
  padding: 32px 0 70px;
}

.maint-card {
  background: #fff;
  border-radius: 16px;
  padding: 52px 48px;
  box-shadow: 0 4px 32px rgba(30, 45, 78, 0.1);
  border: 1px solid #ececec;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.maint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--peach));
}

.maint-icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
}

.maint-card h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.maint-card .subtext {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 auto 30px;
  max-width: 520px;
}

.notif-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.notif-form .form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notif-form textarea {
  resize: vertical;
  min-height: 100px;
}

.notif-form .form-check-label {
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
}

.notif-form .form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.notif-form .form-check-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.25rem rgba(232, 69, 60, 0.15);
}

.btn-submit {
  display: block;
  width: 100%;
  height: 54px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 27px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(232, 69, 60, 0.25);
}

.btn-submit:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 16px rgba(232, 69, 60, 0.35);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232, 69, 60, 0.25);
}

.contact-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 10px;
}

.contact-note a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

.success-msg {
  background: #fdf2f2;
  color: var(--red-dark);
  border: none;
  font-weight: 700;
}

/* ===== HOW IT WORKS ===== */
.how-block {
  background: var(--beige);
  padding: 70px 0;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 50px;
}

.step {
  text-align: center;
}

.step-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.step-icon {
  width: 78px;
  height: 78px;
}

.step p {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink-text);
  line-height: 1.5;
  font-style: italic;
}

/* ===== PARTNERS ===== */
.partners {
  background: #fff;
  padding: 56px 0 64px;
  text-align: center;
}

.partners-title {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 42px;
  font-weight: 400;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partner-logo {
  opacity: 0.55;
  transition: opacity 0.25s;
  height: 60px;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo.c8 { width: 80px; }
.partner-logo.eu1 { width: 120px; }
.partner-logo.auf { width: 170px; }
.partner-logo.fr5 { width: 80px; height: 80px; }
.partner-logo.tf1 { width: 110px; }

/* ===== FOOTER ===== */
.footer-wrap {
  background: var(--navy);
}

.newsletter-section {
  padding: 52px 24px 46px;
  text-align: center;
}

.newsletter-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: block;
}

.newsletter-section h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
}

.nl-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nl-form input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #fff;
  outline: none;
}

.nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.nl-form button {
  height: 50px;
  padding: 0 28px;
  background: var(--peach);
  color: #fff;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.nl-form button:hover {
  background: var(--peach-border);
}

.nl-feedback {
  max-width: 520px;
  margin: 14px auto 0;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.nl-feedback-error {
  background: rgba(232, 69, 60, 0.3);
}

.wavy {
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 8 Q10 0 20 8 Q30 16 40 8' fill='none' stroke='%23f5845a' stroke-width='2'/%3E%3C/svg%3E") repeat-x center;
}

.footer-middle {
  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.labels-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.label-logo {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
}

.label-img {
  width: 100%;
  height: 100%;
}

.payment-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-logo {
  height: 34px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.social-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.social-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.social-btn.yt { background: #e52d27; }
.social-btn.ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-btn.fb { background: #1877f2; }

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 24px 24px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== LEGAL PAGES ===== */
.page-title {
  background: var(--beige);
  padding: 48px 0;
  text-align: center;
}

.page-title h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.legal-content {
  padding: 48px 0 64px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--salmon);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 28px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--navy);
}
