/* =========================
   Rose Digitale — corrections (logo + centrage titres/contact)
   ========================= */

/* Colors & fonts */
:root{
  --rose-bg: #fbe3e3;      /* fond rosé poudré */
  --gold: #c8a951;         /* doré clair */
  --gold-dark: #b89a45;
  --text: #222222;
  --white: #ffffff;
  --card-white: #ffffff;
}

/* Global */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Lato', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--rose-bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* ---------- Top menu (doré clair) ---------- */
.topbar{
  background:var(--gold);           /* doré clair */
  padding:0;
  box-shadow:0 2px 0 rgba(0,0,0,0.03);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.menu-wrap{max-width:1200px;margin:0 auto;padding:10px 20px}
.menu{display:flex;align-items:center;justify-content:center}
.menu-list{list-style:none;margin:0;padding:0;display:flex;gap:32px}
.menu-list li{position:relative}
.menu-list a{
  color:var(--white);
  text-decoration:none;
  font-weight:600;
  padding:8px 4px;
  display:inline-block;
  transition:color .22s ease, transform .12s ease;
}
.menu-list a:hover{color:var(--gold-dark); transform: translateY(-1px);}

/* --- Menu déroulant amélioré --- */
.has-dropdown {
  position: relative;
}

.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--doré); /* fond doré opaque */
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  padding: 10px 0;
  z-index: 100;
  opacity: 1; /* on garde l'opacité à 1 */
  transition: all 0.2s ease-in-out;
}

.has-dropdown:hover .dropdown,
.has-dropdown .dropdown:hover {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--blanc); /* texte blanc bien lisible */
  text-decoration: none;
}

.dropdown li a:hover {
  background-color: rgba(255,255,255,0.2); /* effet doré plus clair */
}

.dropdown li {
  list-style: none;
}

.dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Brand (logo + Rose Digitale text) ---------- */
.brand-section{
  text-align:center;
  padding:40px 20px 8px;
  max-width:1100px;
  margin:0 auto;
}

/* Logo : bigger, NO frame, transparent */
.brand-logo{
  width:150px;           /* LOGO agrandi légèrement */
  height:auto;
  display:inline-block;
  margin-bottom:14px;
  background:transparent; /* IMPORTANT : pas de cadre rose */
  padding:0;
  border-radius:0;
  box-shadow:none;
}

/* Brand name: Playfair Display for both words; R & D styled in gold */
.brand-name{display:block;line-height:1;margin-bottom:8px;text-align:center}
.brand-rose{
  font-family:'Great Vibes', cursive;
  font-size:44px;
  font-weight:400;
  color:var(--text); /* 'Rose' en noir (on keep consistent) */
  display:block;
  margin-bottom:-8px;
}
.brand-digitale{
  font-family:'Playfair Display', serif;
  font-size:36px;
  font-weight:600;
  color:var(--text);
  display:block;
  letter-spacing:0.4px;
}
.gold-letter{
  color:var(--gold-dark);  /* R et D dorés */
}

/* Tagline */
.tagline{
  font-family:'Playfair Display', serif;
  color:#6b6b6b;
  margin-top:6px;
  margin-bottom:18px;
}

/* ---------- Generic section card style (applied to all main rubriques) ---------- */
.section-card{
  max-width:1100px;
  margin:24px auto;
  padding:28px 20px;
  background:var(--card-white);
  border-radius:10px;
  box-shadow:0 10px 28px rgba(0,0,0,0.04);
  text-align:center; /* TITRES ET CONTENU CENTRÉS */
}

/* Section title styling with gold underline */
.section-title{
  font-family:'Playfair Display', serif;
  font-size:26px;
  color:var(--text);
  margin:0 0 12px;
  display:inline-block;
  position:relative;
  padding-bottom:8px;
  text-align:center;
}
.section-title::after{
  content:"";
  display:block;
  height:3px;
  background:var(--gold);
  width:110px;
  margin:10px auto 0;
  border-radius:2px;
}

/* ---------- Cards / Services grid ---------- */
.cards{
  display:flex;
  gap:20px;
  justify-content:space-between;
  margin-top:20px;
  flex-wrap:wrap;
}
.card{
  background:var(--rose-bg);
  width:32%;
  min-width:240px;
  border-radius:10px;
  padding:22px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  text-decoration:none;
  color:inherit;
}
.card h3{
  font-family:'Playfair Display', serif;
  color:var(--text);
  margin:0 0 10px;
  font-size:18px;
}
.card p{ color:#555; line-height:1.6; margin:0 }

/* ---------- Why list ---------- */
.why-list{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.why-item{
  background:var(--rose-bg);
  padding:14px 18px;
  min-width:200px;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
  font-weight:600;
}

/* ---------- Downloads CTA & Contact ---------- */
.download-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.cta{
  display:inline-block;
  background:var(--gold);
  color:var(--white);
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:transform .12s ease, box-shadow .12s ease;
}
.cta:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,0.12)}
.contact-line{margin:12px 0}
.contact-line a{color:var(--text);text-decoration:none;font-weight:600}

/* extra utility: center contact text */
.center{ text-align:center !important; }

/* ---------- Footer ---------- */
footer{
  margin-top:28px;
  padding:22px 10px;
  text-align:center;
  color:var(--text);
  font-size:0.95rem;
}
.footer-top{margin:0;padding-bottom:6px}
.ples{margin-top:8px;color:#666;font-style:italic}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards{flex-direction:column;align-items:center}
  .card{width:92%}
  .brand-rose{font-size:36px}
  .brand-digitale{font-size:28px}
  .menu-list{gap:18px}
}
@media (max-width: 480px) {
  .brand-rose{font-size:30px}
  .brand-digitale{font-size:22px}
  .menu-list{flex-direction:column;gap:10px;align-items:center}
  .menu{justify-content:center;padding:6px 0}
  .menu-wrap{padding:6px 12px}
}
/* ----- Style du titre Rose Digitale ----- */
.site-title {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1;
}

.site-title .rose {
  display: block;
  font-family: 'Great Vibes', cursive;
  color: #c4a45f; /* doré clair poudré */
  font-size: 2.5em;
  font-weight: 400; /* plus d'effet gras */
  margin-bottom: -50px; /* rapproche Rose de Digitale davantage */
  letter-spacing: -1px; /* resserre un peu les lettres */
}

.site-title .digitale {
  display: block;
  font-family: 'Playfair Display', serif;
  color: #1c1c1c; /* noir élégant */
  font-size: 2em;
  font-weight: 700;
}
 
.cgv h3 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- Correction affichage du menu déroulant --- */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #c8a951; /* doré plein opaque */
  min-width: 220px;
  border-radius: 0 0 10px 10px; /* arrondi bas */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  padding: 10px 0;
  z-index: 1000;
}

.has-dropdown:hover .dropdown,
.has-dropdown .dropdown:hover {
  display: block;
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: #ffffff; /* texte blanc */
  text-decoration: none;
  font-weight: 500;
}

.dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.15); /* léger effet clair au survol */
}



