/* -------------------------------------------------------------
   CSS Reset & Normalize (Mobile-first, modern minimal)
------------------------------------------------------------- */
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,
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: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body {
  background: #F4F8FA;
  color: #23262F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}
:focus-visible {
  outline: 2px solid #D6B05A;
  outline-offset: 2px;
}


/* -------------------------
   Brand Colors & Palettes
-------------------------- */
:root {
  --primary: #1E3557;
  --secondary: #5EC9B8;
  --accent: #F4F8FA;
  --gold: #D6B05A;
  --gold-light: #F5EDD9;
  --gray-dark: #23262F;
  --gray: #7A869A;
  --white: #fff;
  --danger: #C0392B;
}


/* --------------------
   Typography
--------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.22;
}
p, li, span, .body-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 600;
  color: var(--primary);
}


/* ---------------------------------------------
   Containers & Layout (MOBILE FIRST, FLEXBOX)
---------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(30,53,87,0.07);
  transition: box-shadow 0.18s;
}
.section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(30,53,87,0.08);
  padding: 32px 28px;
  flex: 1 1 310px;
  min-width: 270px;
  transition: box-shadow 0.2s, transform 0.17s;
  border: 1px solid var(--gold-light);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 35px 0 rgba(30,53,87,0.16);
  transform: translateY(-4px) scale(1.025);
  border-color: var(--gold);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(30, 53, 87, 0.09);
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
  color: var(--gray-dark);
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--gray-dark);
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--gray);
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Visual White Area in .section */
@media (min-width: 1200px) {
  .section {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* -------------------------------------
   Navigation (Flexbox, Hidden on Mobile)
-------------------------------------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px 0 rgba(30,53,87,0.08);
  z-index: 40;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
  padding: 0 10px;
  justify-content: flex-start;
}
.main-nav img {
  height: 40px;
  margin-right: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 7px;
  color: var(--primary);
  transition: background 0.16s, color 0.15s;
  position: relative;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: var(--accent);
  color: var(--gold);
}
.main-nav .cta-primary {
  background: var(--gold);
  color: var(--primary);
  padding: 10px 25px;
  box-shadow: 0 1px 8px 0 rgba(214, 176, 90, 0.14);
  margin-left: 15px;
  border-radius: 23px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.22s, box-shadow 0.19s, color 0.2s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: var(--primary);
  color: var(--gold);
}

/* Hide mobile menu elements by default */
.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  padding: 7px 16px;
  border-radius: 7px;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 110;
  transition: background 0.19s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--gold);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  padding: 28px 28px 10px 28px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 8px 36px 0 rgba(30,53,87,0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--primary);
  background: var(--gold);
  border-radius: 7px;
  width: 36px;
  height: 36px;
  border: none;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 210;
  cursor: pointer;
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 65px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  color: var(--primary);
  padding: 13px 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0; 
  transition: color 0.16s, background 0.17s;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  background: var(--accent);
}

@media (max-width: 1100px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .main-nav .cta-primary {
    margin-left: 0;
  }
}
@media (max-width: 780px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  header {
    min-height: 68px;
  }
}

/* --------------------
   Hero Section
--------------------- */
.hero {
  background: linear-gradient(120deg, var(--accent) 67%, var(--gold-light) 100%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0 2px 34px 0 rgba(30,53,87,0.13);
  padding-top: 44px;
  padding-bottom: 36px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.2rem;
  line-height: 1.08;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.13rem;
  color: var(--gray);
  margin-bottom: 12px;
}
.hero .cta-primary {
  margin-top: 12px;
}
.search-bar, .blog-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 1px 12px rgba(30,53,87,0.07);
  padding: 5px 8px 5px 18px;
  margin: 16px 0 8px 0;
  max-width: 500px;
  width: 100%;
  border: 1.5px solid var(--gold);
}
.search-bar input, .blog-search input {
  border: none;
  outline: none;
  font-size: 1.02rem;
  flex: 1;
  padding: 11px 2px 11px 0;
  background: transparent;
  color: var(--gray-dark);
}
.search-bar button, .blog-search button {
  background: var(--gold);
  border-radius: 15px;
  padding: 6px 15px;
  border: none;
  margin-left: 7px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
  cursor: pointer;
}
.search-bar button img, .blog-search button img {
  height: 23px;
}
.search-bar button:hover, .blog-search button:hover {
  background: var(--primary);
}

/* -------- Features --------- */
.features ul, .services ul, .faq ul, .about ul, .team ul, .articles ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.features li, .services li, .faq li, .about li, .team li, .articles li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--gray-dark);
  background: transparent;
  padding: 0.7em 0;
}
.features li img, .services li img, .faq li img, .about li img, .team li img {
  height: 30px;
  width: 30px;
}

/* --- Tables (Tarifs) --- */
table {
  width: 100%;
  margin: 26px 0 14px 0;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 14px 0 rgba(30,53,87,0.08);
  font-size: 1rem;
}
thead {
  background: var(--gold);
  color: var(--primary);
}
th, td {
  padding: 14px 10px;
  text-align: left;
}
thead th {
  font-weight: 700;
  letter-spacing: 0.04em;
}
tbody tr {
  border-bottom: 1px solid var(--accent);
}
tbody tr:last-child {
  border-bottom: none;
}
tbody td {
  color: var(--gray-dark);
}

/* ---------- CTA Buttons --------- */
.cta-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 25px;
  box-shadow: 0 1px 8px 0 rgba(214, 176, 90, 0.17);
  letter-spacing: 0.03em;
  transition: background 0.23s, color 0.19s, box-shadow 0.15s, transform 0.19s;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--gold);
  box-shadow: 0 5px 17px 0 rgba(30,53,87,0.13);
  transform: translateY(-2px) scale(1.035);
}

a.cta-primary {
  text-align: center;
}

/* --------- FAQ/Compare/Availability Snippets --------- */
.faq-snippet,.availability,.compare-plans,.user-choices,.acceptance-clause, .last-updated {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
}
.faq-snippet strong, .availability strong, .user-choices strong, .acceptance-clause strong {
  color: var(--primary);
}

/* -----------------
   Footer
------------------ */
footer {
  background: var(--primary);
  color: var(--gold-light);
  padding: 40px 0 0 0;
  border-radius: 24px 24px 0 0;
  margin-top: 40px;
}
footer .container {
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--gold);
  font-size: 0.97rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--gold-light);
  color: var(--primary) !important;
}
.contact-info {
  color: var(--gold-light);
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}
.contact-info img {
  height: 21px;
  width: 21px;
  margin-right: 4px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}
.social-links a {
  display: flex;
  background: rgba(214,176,90,0.09);
  border-radius: 12px;
  padding: 8px;
  transition: background 0.18s, transform 0.16s;
  align-items: center;
}
.social-links a:hover, .social-links a:focus {
  background: var(--gold);
  transform: scale(1.12);
}
.social-links img {
  height: 26px;
}


/* ---------------------------------------------
   Cookie Consent Banner (Fixed, Anim, Modal)
---------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -2px 20px 0 rgba(30,53,87,0.17);
  border-top: 2.5px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3000;
  padding: 22px 13px 16px 13px;
  animation: cookieIn 0.7s cubic-bezier(.68,-0.55,.27,1.55);
  gap: 15px;
}
@keyframes cookieIn {
  0% { transform: translateY(100px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 3px;
  justify-content: center;
}
.cookie-banner button {
  padding: 7px 22px;
  border-radius: 18px;
  border: none;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.14s;
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--gold);
}
.cookie-banner .cookie-settings-btn {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--gold);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--gold-light);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%,52%) scale(0.98);
  background: var(--white);
  box-shadow: 0 8px 44px 0 rgba(30,53,87,0.25);
  border-radius: 18px;
  z-index: 4000;
  width: 93vw;
  max-width: 400px;
  padding: 34px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalIn 0.42s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalIn {
  0% { transform: translate(-50%,90%) scale(0.9); opacity:0; }
  100% { transform: translate(-50%,52%) scale(0.98); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  padding: 9px 0;
}
.cookie-cat label {
  font-weight: 600;
  color: var(--gray-dark);
}
.cookie-cat input[type='checkbox'] {
  accent-color: var(--gold);
  width: 19px;
  height: 19px;
}
.cookie-cat .always-on {
  color: var(--secondary);
  font-size: 0.98rem;
  font-style: italic;
}
.cookie-modal .cookie-btns {
  margin-top: 4px;
  gap: 7px;
  justify-content: flex-end;
  display: flex;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-light);
  color: var(--gold);
  border: none;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ------------- Responsive Layouts -------------- */
@media (max-width: 1020px) {
  .section {
    padding: 32px 10px;
  }
  .card {
    min-width: 185px;
  }
}
@media (max-width: 900px) {
  .footer-nav, .content-grid, .card-container {
    gap: 10px;
  }
  .card {
    padding: 19px 13px;
  }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  h1, .h1 { font-size: 2.01rem; }
  h2, .h2 { font-size: 1.32rem; }
  .container { padding-left: 5px; padding-right: 5px; }
  .content-wrapper { gap: 18px; }
  .section { padding: 19px 3px; margin-bottom: 34px; }
  .card-container, .content-grid { gap: 8px; }
  .card { min-width: 120px; padding: 12px 7px; }
  .text-image-section { flex-direction: column; gap: 13px; }
  .features ul, .services ul, .faq ul, .about ul, .team ul, .articles ul { gap: 7px; }
  .footer-nav { gap: 8px; }
  .hero { padding-top: 20px; padding-bottom: 12px; border-radius: 0 0 20px 20px; margin-bottom: 15px; }
}
@media (max-width: 540px) {
  .footer-nav, .social-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .cookie-modal {
    max-width: 100vw;
    padding: 18px 5px 12px 5px;
  }
}

/* -------------- Custom Animations ------------ */
.cta-primary, .main-nav a, .footer-nav a, .social-links a, .card, .testimonial-card, .card {
  transition: background 0.15s, color 0.13s, box-shadow 0.17s, transform 0.15s;
}

.card, .testimonial-card {
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.17s;
}

/* -------------- Form Inputs (for newsletter/search) ------------- */
input[type='text'], input[type='email'], textarea {
  background: var(--accent);
  border-radius: 10px;
  border: 1.4px solid var(--gold-light);
  padding: 10px 15px;
  color: var(--gray-dark);
  font-size: 1rem;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

/* ---------- Misc utility ---------- */
.mt-2 { margin-top: 14px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-accent { color: var(--secondary); }
.bg-gold-light { background: var(--gold-light); }
.bg-accent { background: var(--accent); }
.rounded { border-radius: 12px; }

/* ------------- Classes for HTML Compliance ------------- */
.process ol {
  list-style: decimal inside;
  margin: 0 0 18px 1.6em;
  color: var(--gray-dark);
  font-size: 1rem;
}
.process ol li {
  margin-bottom: 8px;
  padding-left: 6px;
}

.compare-plans {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.last-updated {
  font-size: 0.94rem;
  color: var(--gray);
}

/* ---------------- Accessible States ----------------- */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* -------------- Selection Highlight ------------- */
::selection {
  background: var(--gold-light);
  color: var(--primary);
}
::-webkit-input-placeholder, ::placeholder {
  color: #A1A1A7;
  opacity: 1;
}

/* -----------------------------------------
   Luxury Details - Gold Divider, Subtle Details
------------------------------------------ */
hr {
  border: none;
  border-top: 2px solid var(--gold-light);
  margin: 24px 0 20px 0;
  width: 100%;
}

/* -----------------------------------------
   Hide cookie-modal/cookie-banner by default if JS not present
------------------------------------------ */
.cookie-modal[hidden], .cookie-banner[hidden] { display:none !important; }
