/* === CSS Reset & Normalize === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { font-size: 16px; scroll-behavior: smooth; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F6F7;
  color: #1d2233;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
input, button, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  appearance: none;
}
button { cursor: pointer; }

/* === Brand Fonts === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #21436C; /* Bleu foncé */
  --secondary: #25837C; /* Vert-bleu vibrant */
  --accent: #F2F6F7; /* Gris très pâle */
  --creative-pink: #F4556F;  /* Artistic flash color */
  --creative-orange: #FFB860; /* Artistic accent color */
  --creative-purple: #845EC2; /* Artistic accent color */
  --creative-yellow: #FFE156; /* Artistic accent */
  --header-bg: #fff;
  --footer-bg: #21436C;
  --footer-text: #fff;
  --body-bg: #F2F6F7;
  --text-main: #1d2233;
  --text-muted: #7b849c;
  --card-bg: #fff;
  --shadow-card: 0 4px 32px rgba(34,61,93,0.12);
  --radius-normal: 18px;
}

/* === Containers & Sections === */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: var(--radius-normal);
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 950px) {
  .section { margin-bottom: 36px; padding: 28px 8px; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 20px; padding: 16px 6px; }
}

/* === Header & Navigation === */
header {
  background: var(--header-bg);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 44px;
  max-width: 120px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 16px;
  border-radius: 12px;
  transition: background .2s, color .2s, box-shadow .2s;
}
nav a:hover {
  background: var(--creative-pink);
  color: #fff;
  box-shadow: 0 2px 8px #F4556F22;
}
nav .cta-primary {
  background: linear-gradient(90deg, var(--secondary) 40%, var(--creative-pink) 80%);
  color: #fff !important;
  font-size: 1.07rem;
  padding: 10px 30px;
  border-radius: 22px;
  margin-left: 6px;
  font-weight: 900;
  box-shadow: 0 4px 20px #25837c19;
  transition: background .2s, transform .18s, box-shadow .18s;
}
nav .cta-primary:hover {
  background: linear-gradient(90deg, var(--creative-pink) 50%, var(--creative-purple) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.06) rotate(-2deg);
  box-shadow: 0 7px 28px #845ec266;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--secondary);
  background: none;
  border: none;
  padding: 7px 13px;
  border-radius: 50%;
  margin-left: 10px;
  transition: background .18s;
  z-index: 103;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--creative-pink);
  color: #fff;
}
@media (max-width: 950px) {
  .mobile-menu-toggle { display: block; }
  nav { display: none; }
}

/* === Mobile Menu Overlay === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(108deg, var(--primary) 80%, var(--creative-pink) 100%);
  box-shadow: 0 6px 40px #21436c2b;
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform .35s cubic-bezier(.65,.05,.36,1), opacity .28s;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: #fff;
  background: var(--creative-pink);
  border-radius: 50%;
  padding: 5px 17px;
  margin: 25px 22px 18px 0;
  transition: background .18s, color .18s;
  z-index: 121;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--creative-orange);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 28px 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.28rem;
  padding: 15px 0;
  border-bottom: 1px solid #f2f6f722;
  width: 100%;
  border-radius: 0;
  transition: color .18s, background .18s;
}
.mobile-nav a:hover {
  color: var(--creative-yellow);
  background: #fff2;
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === Main Layout === */
main {
  min-height: 60vh;
  padding-bottom: 40px;
}
.content-wrapper {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 900;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.14;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--creative-pink) 20%, var(--secondary) 100%);
  background-clip: text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--primary) 70%, var(--creative-pink) 100%);
  background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
}
h3 {
  font-size: 1.30rem;
  font-weight: 700;
  margin-bottom: 7px;
}
h4 {
  font-size: 1.07rem;
  font-weight: 700;
  margin-bottom: 6px;
}
p, li, blockquote {
  color: var(--text-main);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  color: var(--creative-purple);
  background: var(--accent);
  padding: 22px 28px;
  border-left: 5px solid var(--creative-pink);
  margin: 18px 0;
  border-radius: 17px;
}
ul, ol { 
  margin-bottom: 14px;
  margin-top: 6px;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}
ul li img {
  height: 24px;
  width: 24px;
  margin-right: 4px;
}
.category-tag {
  background: var(--creative-yellow);
  color: var(--primary);
  font-size: 0.89em;
  padding: 3px 10px;
  border-radius: 7px;
  margin-left: 9px;
  font-weight: 700;
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
}

.text-section {
  margin-bottom: 16px;
}

/* === Buttons & CTA === */
a.cta-primary, .cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--secondary) 60%, var(--creative-yellow) 100%);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  font-size: 1.13rem;
  padding: 13px 32px;
  border-radius: 28px;
  transition: background .23s, color .17s, transform .18s, box-shadow .16s;
  box-shadow: 0 4px 14px var(--secondary)60;
  margin-top: 10px;
}
a.cta-primary:hover, .cta-primary:hover {
  background: linear-gradient(90deg, var(--creative-pink) 40%, var(--creative-orange) 100%);
  color: #fff;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 32px #f4556f59;
}
a.cta-primary:focus {
  outline: 2px solid var(--creative-yellow);
}

/* === Card Containers & Cards === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--card-bg);
  border-radius: 19px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px #21436c12;
  padding: 32px 24px 28px 24px;
  position: relative;
  flex: 1 0 280px;
  min-width: 250px;
  transition: box-shadow .18s, transform .17s;
  border: 2px solid #f2f6f7cc;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 10px 40px #25837c47;
  transform: translateY(-6px) scale(1.017) rotate(-1.2deg);
  border-color: var(--creative-pink);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* === Features/Feature Items === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 18px;
  padding: 21px 27px;
  box-shadow: 0 2px 8px #25837c16;
  margin-bottom: 20px;
}

/* === Testimonial Cards === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f9fbfd;
  border-radius: 19px;
  box-shadow: 0 3px 19px #21436c20;
  border-left: 7px solid var(--creative-yellow);
  color: #1d2233;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #1d2233;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: var(--creative-purple);
  font-size: 1.02rem;
  font-weight: bold;
  margin-left: auto;
}
@media (max-width: 650px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* === Footer === */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 30px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.88;
  margin-right: 13px;
  transition: color .18s, opacity .13s;
}
footer a:hover {
  color: var(--creative-yellow);
  opacity: 1;
}
footer img {
  max-width: 72px;
  margin-bottom: 18px;
}
footer .text-section p {
  color: #fff;
  font-size: 0.96rem;
  margin-top: 7px;
  margin-bottom: 5px;
}
footer .text-section img {
  height: 14px; width: 14px; display: inline-block; margin-bottom: -2px; margin-right: 4px;
}
@media (max-width: 950px) {
  footer .container { flex-direction: column; gap: 22px; align-items: flex-start; }
  footer nav { margin-top: 12px; }
}

/* === Blog Highlights === */
article {
  background: var(--accent);
  padding: 28px 24px;
  border-radius: 20px;
  margin-bottom: 23px;
  box-shadow: 0 2px 8px #21436c13;
  border-left: 5px solid var(--creative-orange);
}
article h2 {
  font-size: 1.26rem;
  margin-bottom: 7px;
}
article a {
  color: var(--creative-pink);
  font-weight: bold;
  transition: color .17s;
}
article a:hover { color: var(--secondary); }

/* === Form Elements (Newsletter, Contact etc) === */
input, textarea, select {
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 13px 12px;
  font-size: 1rem;
  margin-bottom: 13px;
  background: #fff;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--creative-pink);
}

/* === Cookie Consent Banner & Modal === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -4px 32px #21436c23;
  padding: 22px 20px 22px 20px;
  z-index: 99991;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  animation: cookieBannerIn .48s cubic-bezier(.67,-0.12,.46,1.15);
}
@keyframes cookieBannerIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 600px;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  background: var(--creative-yellow);
  color: var(--primary);
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.01rem;
  padding: 8px 17px;
  border: none;
  margin-right: 7px;
  box-shadow: 0 2px 7px #FFE15633;
  transition: background .16s, color .14s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--creative-pink);
  color: #fff;
  outline: 0;
}
.cookie-banner .settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .settings:hover {
  background: var(--creative-orange);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-banner .cookie-btns {
    width: 100%; justify-content: flex-start;
  }
}
/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(33,67,108,0.37);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 23px;
  padding: 36px 38px 28px 38px;
  max-width: 430px;
  width: 94vw;
  box-shadow: 0 10px 42px #21436c46;
  animation: modalIn .33s cubic-bezier(.75,-0.12,.54,1.15);
}
@keyframes modalIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.34rem;
  margin-bottom: 14px;
  color: var(--creative-purple);
}
.cookie-category {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--creative-pink);
  border-radius: 4px;
  width: 22px; height: 22px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.04rem;
  color: var(--primary);
}
.cookie-category.essential label::after {
  content: '(toujours activé)';
  color: var(--creative-yellow);
  font-size: 0.96em;
  font-style: italic;
  margin-left: 8px;
}
.cookie-modal-content .modal-actions {
  margin-top: 22px;
  display: flex; gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-content button {
  background: var(--creative-orange);
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.02rem;
  padding: 8px 15px;
  border: none;
  transition: background .16s;
}
.cookie-modal-content button:hover {
  background: var(--creative-pink);
}

/* === Artistic/Creative Visual Twists === */
/* Artistic squiggle underlines for major headings */
h2::after, h1::after {
  content: '';
  display: block;
  width: 67px;
  height: 9px;
  background: url('data:image/svg+xml;utf8,<svg width="67" height="9" viewBox="0 0 67 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5C6.5 2 12 7 18 4.5C24 2 28.5 7 33.5 4.5C38.5 2 44 7 49 4.5C54 2 58.5 7 65 4.5" stroke="%23F4556F" stroke-width="3" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  margin-top: 7px;
  margin-left: 2px;
}
/* Artistic blob accent for creative-artistic mood */
.section::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: -25px; top: -30px;
  width: 110px;
  height: 95px;
  opacity: 0.16;
  background: url('data:image/svg+xml;utf8,<svg width="110" height="95" viewBox="0 0 110 95" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="55" cy="47.5" rx="53" ry="45.5" fill="%23FFE156"/><ellipse cx="85" cy="15" rx="18" ry="9" fill="%23F4556F"/><ellipse cx="40" cy="80" rx="20" ry="8" fill="%2325837C"/></svg>') no-repeat center/contain;
}
.section {
  overflow: hidden;
}

/* === Responsive Layouts === */
@media (max-width: 768px) {
  .card, .feature-item {
    min-width: 0; flex-basis: 100%;
    padding: 20px 10px 18px 10px;
  }
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .content-wrapper { gap: 17px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.27rem; }
  .container { padding-left: 4px; padding-right: 4px; }
  .section { padding: 8px 2px; }
}

/* === Micro-interactions & Transitions === */
.card, .feature-item, .testimonial-card, a.cta-primary, .cta-primary, nav a, .mobile-menu, .cookie-btns button {
  transition: box-shadow .18s, background .18s, color .18s, transform .14s;
}

/* === Recurring Alignment Utilities === */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-start { display: flex; align-items: flex-start; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* === Hide scrollbars on overlays === */
.mobile-menu, .cookie-modal { scrollbar-width: none; }
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar { display: none; }

/* == Special: Hide content visually for a11y == */
.sr-only { position: absolute; left: -99999px; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* == Misc artistic border accents == */
table, th, td { border: none; }

/* === Decorative dash for list items with icon === */
ul li > img + span:not(.category-tag)::before {
  content: '\25CF';
  font-size: 1rem;
  color: var(--creative-orange);
  margin-right: 7px;
  vertical-align: middle;
}

/* === Success, Alert, Info Badge Classes for Artistic Mood === */
.badge-success {
  background: var(--secondary);
  color: #fff;
  border-radius: 8px;
  padding: 4px 13px;
  font-size: 0.92rem;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.badge-warning {
  background: var(--creative-yellow);
  color: var(--primary);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 0.94rem;
  font-weight: bold;
}
.badge-danger {
  background: var(--creative-pink);
  color: #fff;
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 0.94rem;
  font-weight: bold;
}

/* === General Utility Spacing (Artistic Spacing System) === */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 32px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 32px !important; }

/* === Accessibility : focus-visible === */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--creative-yellow);
  outline-offset: 1.5px;
}

/* === End of style.css === */
