/*!
Theme Name: LaTerredEscampette
Theme URI: https://www.bullegraphic.fr
Author: BulleGraphic
Author URI: https://www.bullegraphic.fr
Description: Thème sur-mesure
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: laterredescampette
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


/* ---------- Polices ---------- */
@font-face {
  font-family: "Mayonice";
  src: url("/wp-content/themes/laterredescampette/font/Mayonice.otf") format("opentype"),
       url("/wp-content/themes/laterredescampette/font/Mayonice.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/wp-content/themes/laterredescampette/font/Raleway/Raleway-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
  --cream:        #f6f2ee;
  --cream-dark:    #efe7dd;
  --sand:          #e7ddd0;
  --terracotta:    #c07a4e;
  --terracotta-dark: #a8663e;
  --clay-deep:     #7a4a30;
  --green-deep:    #2b4a3c;
  --green-deep-2:  #244034;
  --sage:          #a7ac8f;
  --sage-dark:     #8d9376;
  --slate-blue:    #45536b;
  --ink:           #2e2a25;
  --ink-soft:      #55524c;
  --white:         #ffffff;

  --font-display: "Mayonice", cursive;
  --font-body: "Raleway", sans-serif;

  --container: 1152px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --transition: 0.35s cubic-bezier(.25,.8,.25,1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container {
  width: 900px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Typo générale ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--green-deep);
  line-height: 1.25;
}

h1{margin-bottom: 23px; font-size:40px;}

p{font-size:16px; color: var(--ink-soft);}

.eyebrow-btn {
  display: block;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 10px 30px;
  border-radius: 40px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-transform: uppercase;
  width: 160px !important;
  margin: 0 auto;
}

.eyebrow-btn:hover { transform: translateY(-2px); }

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
  margin:0;
}
  .btn-blog{width:110px !important;}

.btn-terracotta:hover { background: var(--terracotta-dark); }
.btn-sage {
  background: var(--sage);
  color: var(--white);
  text-align: center;
}
.btn-sage:hover { background: var(--sage-dark); }

.btn-cream {
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
  margin:inherit;
width: 170px !important;
}

.eyebrow-btn .arrow { transition: transform var(--transition); }
.eyebrow-btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #e6dfd9;
  overflow: visible;
}
.header-blob {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 300px;
  height: auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.footer-blob {
  position: absolute;
  top: -70px;
  right: 34%;
  width: 300px;
  height: auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
  
.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 20px;
}

.logo img {
  height: 80px;
  width: auto;
  mix-blend-mode: multiply;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}
.main-nav a, .dropdown-btn{
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding: 12px 18px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .dropdown-btn:hover{
	color: #fff;
	background: #a2a48f; 
	box-shadow: inset 0 0 0 2px #adaf9b;
  }
  
.main-nav a.active, .dropdown-btn.active{
  box-shadow: inset 0 0 0 2px #27463D;
  color: #000;
  background: transparent;
}

.dropdown-btn{
	padding: 12px 18px !important;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.dropdown-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .35s ease;
}

.dropdown-arrow svg{
    width:14px;
    height:14px;
    stroke:#27463d;
    stroke-width:2.5;
    fill:none;
}

.dropdown{
    position:relative;
	z-index:1000;
}

.dropdown.open .dropdown-arrow{
    transform:rotate(180deg);
}

.dropdown-content{
    position:absolute;
    top:59%;
    left:62%;
    transform:translateX(-50%);
    min-width:240px;
    background:#fff;
    padding:15px 0;
    margin-top:25px;
    opacity:0;
    visibility:hidden;
    z-index:1001;
}

.dropdown:hover .dropdown-content{
    opacity:1;
    visibility:visible;
}

.dropdown-content a{
    display:block;
    padding:12px 22px;
    color:#27463d;
    text-decoration:none;
    transition:.25s;
}

.dropdown-content a:hover{
    background:#e6dfd9;
    color:#af6f50;
}

.header-shape {
  position: absolute;
  overflow: hidden;
  z-index: 1;
  top: 0;
  right: 0;
  width: 420px;
  height: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.social-links a:hover { transform: translateY(-2px); }
.social-links svg { width: 15px; height: 15px; fill: var(--cream); }
.profile-link {
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}

.profile-link:hover { 
	background: transparent !important;
	box-shadow: none !important;
}


.profile-link svg { width: 22px; height: 22px; fill: var(--green-deep); }
.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--green-deep);
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 130px 0 130px;
  overflow: hidden;
}
.hero-blob-bottom {
  position: absolute;
  left: -60px;
  bottom: -130px;
  width: 380px;
  opacity: .85;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  margin-bottom: 22px;
}
.hero-text {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 470px;
  margin-bottom: 32px;
}
.hero-text strong { color: var(--ink); font-weight: 700; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-visual .photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Carte cadeau tab */
.gift-tab {
  position: fixed;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
  z-index: 400;
  background: var(--green-deep);
  color: #e6dfd9;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  border-radius: 10px 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  transition: padding var(--transition), background var(--transition);
  text-transform:uppercase;
}
.gift-tab:hover { background: var(--terracotta-dark); padding-right: 16px; }
.gift-tab svg { width: 20px; height: auto; transform: rotate(90deg); }

/* ============================================
   PARALLAX BAND (atelier-poterie-paimpol.jpg)
   ============================================ */
.parallax-band {
  position: relative;
  height: 30vw;
  min-height: 320px;
  max-height: 560px;
  overflow: hidden;
}
.parallax-band .parallax-media {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 110%;
  background-image: url("img/atelier-poterie-paimpol.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ============================================
   COURS & STAGES
   ============================================ */
.section-courses {
  padding: 0 0 100px;
  text-align: center;
}
h2 {
  font-size:35px;
  margin-bottom: 22px;
}

.section-lead {
  max-width: 700px;
  margin: 0 auto 56px;
  color:#fff;
  font-size: 0.96rem;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  text-align: left;
  margin-bottom: 26px;
}
.course-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  background-image: url("img/fond-carte-1.png");
  background-repeat:no-repeat;
  background-size:contain !important;
box-shadow: none !important;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 4px 4px 32px rgba(255,255,255,0.2);
}

.course-card.bg-sand { background-image: url("img/fond-carte-2.png"); }

.card-thumb {
  width: auto;
}

.course-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--green-deep);
}

.course-card p {
  font-size: 16px;
  padding:0 20px;
}


/* Bannière "Pratique libre" */
.banner-free {
  background-image: url("img/fond-carte-4.png");
  background-repeat:no-repeat;
  background-size:cover;
  border-radius: var(--radius-lg);
  padding: 35px 40px !important;
  display: flex;
  text-align: left;
  color: var(--white);
}

.banner-free h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--white);
}
.banner-free p {
  font-size: 0.9rem;
  opacity: .95;
  max-width: 520px;
  margin-bottom: 16px;
  color:#fff;
}

/* Bannière "Autres" */
.banner-other {
  background-image: url("img/fond-carte-3.png");
  background-repeat:no-repeat;
  background-size:cover;
  border-radius: var(--radius-lg);
  padding: 35px 0 !important;
  display: flex;
  text-align: left;
  color: var(--white);
}

.banner-other h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--white);
}
.banner-other p {
  opacity: .95;
  max-width: 520px;
  margin-bottom: 16px;
  color:#fff;
}
.banner-content { flex: 1; }

.carte-abo-1, .carte-abo-2 {
  background-image: url("img/fond-carte-5.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 40px !important;
  row-gap: 7px !important;
}

.carte-abo-3, .carte-abo-4{
  background-image: url("img/fond-carte-4.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 20px 29px !important;
  row-gap: 7px !important;
}

.carte-abo-4 {
  background-image: url("img/fond-carte-6.png");
}

.carte-abo-1 p, .carte-abo-2 p, .stage-p {
  color: #fff;
}

.carte-abo-2 {
  background-image: url("img/fond-carte-6.png");
 }

.prix-abo {
  font-weight: 500;
  font-size: 18px;
  padding: 4px 0;
  background-color: #a2a48f;
  border-radius: 50px;
  margin: 5px auto 0 auto;
  width: 115px !important;
  color:#fff;
}

.nbre-jour-abo{font-weight: 500;font-size:20px}

.column-bar-prix-abo {
  width: 10px !important;
  gap: 10px;
  columns: 1;
  display: contents;
}


/* ============================================
   BLOG PARALLAX SECTION
   ============================================ */
.section-blog {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}
.section-blog .parallax-media {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 150%;
  background-image: url("img/fond-blog-accueil.png");
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
  background-color: #68768d;
}
.section-blog .container {
  position: relative;
  z-index: 1;
  padding: 90px 24px 110px;
}
.section-blog .section-title { color: var(--white); }
.section-blog .section-lead { color: rgba(255,255,255,.9); }
.scroll-top-btn {
  position: fixed;
  left: 92%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #a7ac8f;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 24px rgba(0,0,0,.2);
  transition: background var(--transition), transform var(--transition);
}
.scroll-top-btn:hover { background: var(--terracotta); transform: translateX(-50%) translateY(-4px); }
.scroll-top-btn svg { width: 18px; height: 18px; fill: var(--white); }

.article-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 10px 20px 10px;
}

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
  position: relative;
  background-image: url("img/fond-contact-accueil.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0 90px;
  color: var(--white);
}
.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(70,40,20,.15), rgba(70,40,20,.35));
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-info .script {
  color: var(--white);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  margin-bottom: 18px;
}
.contact-info > p {
  color: rgba(255,255,255,.92);
  margin-bottom: 30px;
  max-width: 380px;
  font-size: 0.95rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .icon-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail .icon-circle svg { width: 15px; height: 15px; fill: var(--white); }
.contact-detail p { font-size: 16px; line-height: 1.5; color:#fff; }

.contact-form-wrap {
  position: relative;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image: url(/wp-content/themes/laterredescampette/img/fond-formulaire-accueil.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-form-wrap .form-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  z-index: 0;
}
.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.contact-form input::placeholder,

.contact-form textarea::placeholder {
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
}
.contact-form textarea { resize: vertical; min-height: 130px; margin-bottom: 10px;}

.contact-form button {margin:0; }

.contact-form div {margin-bottom: 15px;}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background:#e6dfd9;
  padding: 22px 0;
  text-align: center;
  position:relative;
  overflow:hidden;
}
.site-footer p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
  z-index:2;
  position:relative;
}
.site-footer a { transition: color var(--transition); }
.site-footer a:hover { color: var(--terracotta); }

#amelia-container {
  margin: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.am-ec.am-rw-768.am-rw-740.am-rw-720.am-rw-700.am-rw-680.am-rw-660.am-rw-650.am-rw-640.am-rw-620.am-rw-600.am-rw-580.am-rw-560.am-rw-540.am-rw-520.am-rw-500.am-rw-480.am-rw-460.am-rw-440.am-rw-420.am-rw-400.am-rw-380.am-rw-370.am-rw-360{
    background: transparent !important;
	margin-bottom:0 !important;
	border: none !important;
	padding:0 !important;
	box-shadow:none !important;
}

.amelia-v2-booking #amelia-container.am-elf{padding:0 !important;}

.amelia-v2-booking #amelia-container .am-ec__period.am-rw-500, .amelia-v2-booking #amelia-container .am-ec__actions.am-rw-500 {margin:0 !important;}

.wp-block-button__link.has-white-color.has-text-color.has-background.has-link-color.wp-element-button{
	background: transparent !important;
  	padding: 0 !important;
}


/* ============================================
   FORMULAIRE CARTE CADEAU
   ============================================ */

/* Sections du formulaire */
.contact-form .form-section {
  margin-bottom: 15px;
}

/* Titres des sections */
.contact-form .form-section h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.2;
  margin: 0 0 22px;
}

/* Ligne de deux champs */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Espacement des champs */
.contact-form .form-row > div,
.contact-form .form-section > div:not(.form-row):not(.gift-choice) {
  margin-bottom: 15px;
}


/* ============================================
   CHOIX DU CADEAU
   ============================================ */

.contact-form .gift-choice {
  margin-bottom: 20px;
}

.contact-form .gift-choice > p {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Groupe des boutons radio */
.contact-form .gift-choice .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Chaque choix */
.contact-form .gift-choice .wpcf7-list-item {
  margin: 0;
}

/* Label des choix */
.contact-form .gift-choice .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
}

/* Bouton radio */
.contact-form .gift-choice input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--sage-dark);
}


/* ============================================
   CHAMP MONTANT LIBRE
   ============================================ */

/* Caché par défaut */
.gift-amount-field {
  display: none;
}

/* Affiché quand "Montant libre" est sélectionné */
.gift-amount-field.is-visible {
  display: block;
}

/* Label du montant */
.gift-amount-field label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-bottom: 8px;
}


/* ============================================
   MESSAGE
   ============================================ */

.contact-form textarea.champ_msg {
  min-height: 150px;
}


.article-retour {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #dcc2bb;
    text-align: center;
}

.article-retour a {
    display: inline-block;
    padding: 5px 14px;
    color: #af6f50;
    border: 2px solid #af6f50;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform:uppercase;
    margin-bottom:80px;
}

.article-retour a:hover {
    background-color: #af6f50;
    color: #ffffff;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form .form-section h3 {
    font-size: 27px;
  }

  .contact-form .gift-choice .wpcf7-radio {
    flex-direction: column;
    gap: 12px;
  }

}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-inner {grid-template-columns: 1fr;}
  .hero-visual {min-height: 340px; margin-top: 20px;}
  .contact-grid {grid-template-columns: 1fr;}
  .main-nav {display:none; }
  .nav-toggle {display: flex; height:42px; align-items:center;}
  .header-inner{display:flex; align-items:center;}
  .logo{order:2;margin-left:18px;}
  .nav-toggle{order:1;}
  .header-actions{order:3;margin-left:auto;}
  .banner-other{flex-direction: column; text-align: center;}
  .banner-other .banner-content{ 
	display: flex; 
	flex-direction: column; 
	align-items: center; 
  }
  .main-nav.open{
	display: flex;
	position: absolute;
	top: 100%;
	left: 0;
	width:100%;
	background:#f6f2ee;
	padding: 30px 25px;
	box-shadow: 0 16px 24px rgba(0,0,0,.08);
	z-index:999;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	height: 100vh;
  }
  .main-nav.open a{width:100%;text-align:center;}
  .dropdown{width:100%;text-align:center;}
  .dropdown-content{
	display:none;
	position:static;
	transform:none;
	margin-top:10px;
	background:transparent;
	opacity:1;
	visibility:visible;
	box-shadow:none;
	padding:0;
  }
  .dropdown.open .dropdown-content{display:block;}
  .sous-item {
  	text-transform: initial;
  	text-align: left !important;
  	padding: 5px 10px !important;
  	margin: 0 auto;
  	display: block !important;
  	width: 50% !important;
  }

	.course-card p, .banner-other p {padding: 0 10px; line-height: 1.5;}
	.course-card h3, .banner-free h3 {line-height: 0.5; text-align:center;}
	.banner-free p {text-align:center;}
	.btn-cream{margin:auto;}

	.site-footer p{display: grid;}
	.site-footer span {display: none;}
	.photo{width: 50% !important; margin: 0 auto;}
	.course-card{min-height: 400px !important;}
	.h2-responsive{text-align:center !important;}
	.carte-abo-1.abo, .carte-abo-2.abo{background-size: cover !important;}
	.barre-verticale{display:none;}
}

@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
  .gift-tab { font-size: 0.65rem; padding: 16px 8px; }
  .header-blob { width: 220px; }
  .hero { padding: 50px 0 90px; }
  .hero-visual .photo-frame { width: 260px; height: 260px; }
  .hero-visual .blob-shape { width: 320px; }
  .section-courses { padding: 80px 0 70px; }
  .banner-other { padding: 28px; gap: 22px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 14px 16px; }
  .logo img { height: 42px; }
  .hero-visual .photo-frame { width: 220px; height: 220px; }
  .contact-form-wrap { padding: 30px 22px; }
  .nav-toggle{margin-right:10px;}
}
