/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
  /* Colors */
  --g1: #ffe566;
  --g2: #d4a843;
  --g3: #f1b10e;
  --g4: #edaa0c;
  --g5: #f2ad0d;

  --white: #e0e0e0;
  --cream: #fdf8ee;
  --ivory: #f5edd8;

  --bg: #070604;
  --bg-section: #0c0c08;
  --bg-dark: #100d07;
  --bg-dark-2: #1a1510;

  --text: rgb(245 230 190);
  --text-dim: rgb(245 230 190 / 0.65);
  --text-bright: #f5e6be;
  --text-mid: rgb(245 230 190 / 0.82);

  --deco: rgb(245 230 190 / 0.2);
  --border: rgb(212 168 67 / 0.35);
  --glass: rgb(9 7 4 / 0.72);

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', cursive;

  /* Layout */
  --container: 1900px;
  --container-lg: 1000px;
  --container-md: 600px;

  /* Transitions */
  --ease: 0.4s ease;
  --ease-soft: 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { text-wrap: balance; }
p { text-wrap: pretty; }

a {
  text-decoration: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a { text-decoration: none !important; }


/* Curseur global — masqué partout */
*, *::before, *::after { cursor: auto; }

/* Override uniquement si pointer fine (injecté par JS) */
.cursor-none *, .cursor-none *::before, .cursor-none *::after { cursor: none !important; }

.cursor-dot {
  position: fixed;
  width: 8px; 
  height: 8px;
  background: var(--g2, #D4A843);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  left: -100px; 
  top: -100px;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity 0.3s ease, transform 0.15s ease;
}

.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(212,168,67,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  left: -100px; top: -100px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, border-color 0.3s ease, opacity 0.3s ease;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
}

/* ═══════════════════════════════
   GENERAL
═══════════════════════════════ */
.intro-page {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:clamp(40px,3vw,60px) clamp(24px,5vw,80px);
  position:relative;
  overflow:hidden;
  gap:clamp(48px,7vh,80px);
}

.section-label,
.section-label-center {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 0.5em;
  color: var(--g3);
  text-transform: uppercase;
}
.section-label {
  margin-bottom: 32px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6408);
}
.section-label-center {
  justify-content: center;
  margin-bottom: clamp(12px, 2vh, 20px);
}
.section-label-center::before,
.section-label-center::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6408);
}
.section-label-center::after {
  background: linear-gradient(to left, transparent, #8b6408);
}
.section-title {
  margin-bottom: 40px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  background: linear-gradient(
    135deg,
    #8b6408 0%,
    #c9940a 20%,
    #ffe566 45%,
    #d4a843 65%,
    #8b6408 100%
  );
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldFlow 6s ease-in-out infinite;
/*   max-width: 600px; */
}
.intro-page h1 {
  font-size: clamp(40px, 4.8vw, 80px)!important;
}
.sub-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0.15em;
  color: var(--g5);
  text-transform: uppercase;
}
.text {
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
}
.text strong {
  color: var(--text);
  font-weight: 400;
}
.text em {
  color: var(--g5);
  font-style: italic;
}
.text-bright {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--text-bright);
  text-transform: uppercase;
  text-align: center;
}

/* Divider */
.divider{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  max-width:280px;
  position:relative;
  z-index:2;
  margin-bottom: 40px;
}
.divider::before,.divider::after{
  content:'';flex:1;height:1px;
  background:linear-gradient(to right,transparent,rgba(212,168,67,.2));
}
.divider::after{background:linear-gradient(to left,transparent,rgba(212,168,67,.2));}
.dot {
  width: 4px;
  height: 4px;
  background: var(--g4);
  border-radius: 50%;
}

.section-ring {
  width: 540px; height: 540px;
}
.deco-ring {
  position: absolute;
  border: 1px solid rgba(212,168,67,0.09);
  border-radius: 50%;
  animation: rotSlow 55s linear infinite;
}
.deco-ring::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 5px; height: 5px;
  background: #8B6408;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px #D4A843;
}
@media (max-width: 768px) {
  .deco-ring   { width:260px; height:260px; }
}


/* ═══════════════════════════════
   BOUTON
═══════════════════════════════ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: max-content;
  margin-top: clamp(16px, 2.5vw, 26px);
  padding: 9px 22px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--g5);
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color var(--ease), border-color var(--ease);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8b6408, #d4a843);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.btn:hover {
  color: #070604;
  border-color: var(--g2);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn span,
.btn-arrow {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  display: inline-block;
  transition: transform .3s ease;
}

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

/* Boutons socials */
.wrap-btn-links{
  display:flex;
  gap:clamp(10px,1.5vw,16px);
  flex-wrap:wrap;
  justify-content:center;
}

.btn-links{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 22px;
  border:1px solid rgba(212,168,67,.35);
  background:transparent;
  color: var(--g5);
  font-family:'Cinzel',serif;
  font-size:clamp(12px, 2vw, 14px);
  letter-spacing:.25em;text-transform:uppercase;
  text-decoration:none;
  position:relative;overflow:hidden;
  transition:color .4s ease,border-color .4s ease;
}
.btn-links::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,#8B6408,#D4A843);
  transform:scaleX(0);transform-origin:left;
  transition:transform .4s ease;
}
.btn-links:hover{color:#070604;border-color:#D4A843;}
.btn-links:hover::before{transform:scaleX(1);}
.btn-links span{position:relative;z-index:1;}


/* Icônes SVG inline */
.btn-icon{
  position:relative;z-index:1;
  width:12px;
  height:12px;
  flex-shrink:0;
}


/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.header{
  position:fixed;top:0;left:0;right:0;z-index:600;
  height:80px;padding:0 clamp(24px,5vw,64px);
  display:flex;align-items:center;justify-content:flex-start;
  border-bottom:1px solid transparent;
  transition:background .4s ease,border-color .4s ease;
}
.header.scrolled{
  background:var(--transparent-blur);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom-color:rgba(212,168,67,.1);
}
.header.scrolled .burger {
  top: calc((80px - 44px) / 2);
}
/* Header transparent quand menu ouvert — même si scrolled */
.header.scrolled.nav-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

/* ── Logo ── */
.header-logo{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-decoration:none;position:relative;z-index:500;}
.logo-script{
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height:1.12;
  background:linear-gradient(135deg,#8B6408,var(--g2),var(--g1),var(--g2),#8B6408);
  background-size:200% 200%;
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  animation:goldFlow 5s ease-in-out infinite;
  padding: 2px 4px 0 0;
}
.logo-sub{font-family:'Cinzel',serif;font-size:6.5px;letter-spacing:.4em;color:var(--g5);text-transform:uppercase;}
 
/* ══ BURGER ══ */
.burger {
  position: fixed; 
  top: clamp(18px, 4vw, 60px);
  right: clamp(24px, 5vw, 64px); /* même valeur que ton padding header */
  z-index: 650;
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: transparent; border: none;
  cursor: pointer; padding: 0;
  gap: 8px;
  outline: none;
}

.burger-line {
  display: block;
  height: 1.5px;
  background: linear-gradient(to right, var(--g3), var(--g2));
  border-radius: 1px;
  transform-origin: center;
  transition:
	 transform .42s cubic-bezier(.23,1,.32,1),
	 opacity .3s ease,
	 width .35s ease;
}

.burger-line:nth-child(1) { width: 36px; }
.burger-line:nth-child(2) { width: 36px; }
.burger-line:nth-child(3) { width: 26px; }

.burger:not(.open) .burger-line:nth-child(1) {
  animation: idle-1 3.2s ease-in-out infinite;
}
.burger:not(.open) .burger-line:nth-child(2) {
  animation: idle-2 4.1s ease-in-out infinite;
  animation-delay: .6s;
}
.burger:not(.open) .burger-line:nth-child(3) {
  animation: idle-3 2.8s ease-in-out infinite;
  animation-delay: 1.3s;
}

/* Hover — pause idle + effet */
.burger:hover:not(.open) .burger-line { animation-play-state: paused; }
.burger:hover:not(.open) .burger-line:nth-child(1) { transform: translateY(-2px); }
.burger:hover:not(.open) .burger-line:nth-child(2) { transform: translateY(2px); }
.burger:hover:not(.open) .burger-line:nth-child(3) { width: 36px; transform: translateX(0); }

/* Open → croix */
/* Open → croix corrigée */
.burger.open .burger-line:nth-child(1) {
  animation: none;
  transform: translateY(9.5px) rotate(45deg);
  transition:
    width .15s ease,
    transform .42s cubic-bezier(.23,1,.32,1) .1s;
}
.burger.open .burger-line:nth-child(2) {
  animation: none;
  opacity: 0;
  transform: scaleX(0);
}
.burger.open .burger-line:nth-child(3) {
  animation: none;
  width: 36px;
  transform: translateY(-9.5px) rotate(-45deg);
  transition:
    width .15s ease,
    transform .42s cubic-bezier(.23,1,.32,1) .1s;
}

/* Annule hover si open */
.burger.open:hover .burger-line:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.burger.open:hover .burger-line:nth-child(2) { opacity: 0; }
.burger.open:hover .burger-line:nth-child(3) { width: 36px; transform: translateY(-9.5px) rotate(-45deg); }


/* ══ MENU 100% ÉCRAN ══ */
.nav-menu{
  position: fixed;
  inset: 0;
  z-index: 550;
  background: var(--bg-section);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.23,1,.32,1);
  overflow: hidden;
  padding: 32px clamp(24px,5vw,64px) 48px;
}

.nav-menu.open{
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}

.nav-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-bottom: -90px;
}

.nav-center{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-footer{
  position: relative;
  z-index: 2;
  text-align: center;
}
 
/* Halo central */
.nav-menu::before{
  content:'';position:absolute;
  width:700px;height:700px;
  background:radial-gradient(circle,rgba(212,168,67,.06) 0%,transparent 65%);
  border-radius:50%;pointer-events:none;
  animation:breathe 7s ease-in-out infinite;
}
 
/* Lignes déco haut et bas */
.nav-menu::after{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(to right,transparent,rgba(212,168,67,.2),transparent);
}
 
/* ── Label ── */
.nav-eyebrow{
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--g3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom:clamp(32px,5vh,56px);
  position:relative;z-index:1;
  opacity:0;transform:translateY(8px);
  transition:opacity .4s ease .1s, transform .4s ease .1s;
}
.nav-menu.open .nav-eyebrow{opacity:1;transform:translateY(0);}
.nav-eyebrow::before,.nav-eyebrow::after{content:'';width:40px;height:1px;background:linear-gradient(to right,transparent,rgba(212,168,67,.3));}
.nav-eyebrow::after{background:linear-gradient(to left,transparent,rgba(212,168,67,.3));}
 
/* ── Liens ── */
.nav-links{
  list-style:none;
  display:flex;
  flex-direction:column;
  align-items:start;
  gap:0;
  position:relative;z-index:1;
}
 
.nav-links a{
  display:flex;align-items:baseline;gap:20px;
  padding:clamp(10px,1.8vh,18px) 0;
  border-bottom:1px solid rgba(212,168,67,.08);
  text-decoration:none;
  position:relative;overflow:hidden;
/*   width:clamp(280px,40vw,520px); */
  transform:translateY(20px);opacity:0;
  transition:transform .5s cubic-bezier(.23,1,.32,1),opacity .45s ease,border-color .3s ease;
}
.nav-menu.open .nav-links a{transform:translateY(0);opacity:1;}
 
/* Délais décalés */
.nav-menu.open .nav-links li:nth-child(1) a{transition-delay:.14s;}
.nav-menu.open .nav-links li:nth-child(2) a{transition-delay:.21s;}
.nav-menu.open .nav-links li:nth-child(3) a{transition-delay:.28s;}
.nav-menu.open .nav-links li:nth-child(4) a{transition-delay:.35s;}
 
/* Trait doré au hover */
.nav-links a::after{
  content:'';position:absolute;bottom:-1px;left:0;
  width:0;height:1px;
  background:linear-gradient(to right,var(--g3),var(--g2));
  transition:width .4s cubic-bezier(.23,1,.32,1);
}
.nav-links a:hover::after{width:100%;}
.nav-links a:hover{border-bottom-color:rgba(212,168,67,.2);}
 
.nav-num{
  font-family:'Cinzel',serif;
  font-size:clamp(10px,1vw,12px);
  color: var(--text-bright);
  letter-spacing:.2em;
  min-width:28px;
}
 
.nav-text{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;font-weight:300;
  font-size:clamp(36px,5vw,56px);line-height:1;
  background:linear-gradient(135deg,#8B6408,var(--g2),var(--g1),var(--g2));
  background-size:200% 200%;
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  animation:goldFlow 5s ease-in-out infinite;
  transition:filter .3s ease;
}
.nav-links a:hover .nav-text{filter:brightness(1.3);}
 
.nav-arrow{
  margin-left:auto;font-size:18px;
  color:var(--g2);
  opacity:0;transform:translateX(-10px);
  transition:opacity .3s ease,transform .3s ease;
}
.nav-links a:hover .nav-arrow{opacity:1;transform:translateX(0);}
 
/* ── Footer du menu ── */
.nav-menu.open .nav-footer{opacity:1;transform:translateY(0);}


/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer{
  border-top:1px solid rgba(212,168,67,.12);
  padding:clamp(48px,7vh,80px) clamp(24px,5vw,80px) 0;
  display:flex;
  flex-direction:column;
}

.footer .section-label-center {
  font-size:12px;
}

.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:clamp(32px,4vw,64px);
  padding-bottom:clamp(40px,6vh,64px);
  align-items:start;
}

/* Brand */
.footer-brand{display:flex;flex-direction:column;gap:16px;}

.footer-social{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;color:var(--g4);
  font-family:'Cinzel',serif;font-size:12px;
  letter-spacing:.35em;text-transform:uppercase;
  transition:color .3s ease;
}
.footer-social:hover{color:var(--g2);}
.footer-social svg{width:14px;height:14px;fill:currentColor;flex-shrink:0;}

/* Colonnes */
.footer-col{display:flex;flex-direction:column;gap:20px;}

.footer-col-title{
  font-family:'Cinzel',serif;
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing:.25em;
  color:var(--g4);text-transform:uppercase;
  padding-bottom:12px;
  border-bottom:1px solid rgba(212,168,67,.12);
}

.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}

.footer-col a{
  font-family:'Cinzel',serif;
  font-weight:300;
  font-size:clamp(16px,1.3vw,18px);
  color:var(--text);text-decoration:none;
  transition:color .3s ease;
  display:flex;align-items:center;gap:8px;
}
.footer-col a::before{
  content:'';width:0;height:1px;
  background:var(--g2);
  transition:width .3s ease;flex-shrink:0;
}
.footer-col a:hover{color:var(--g3);}
.footer-col a:hover::before{width:14px;}

/* Séparateur */
footer .divider{
  max-width:100%;
	margin-bottom: 0;
}

/* Bottom */
.footer-bottom{
  display:flex;align-items:center;
  justify-content:space-between;
  padding:20px 0;gap:16px;flex-wrap:wrap;
}

.footer-copy{
  font-family:'Cinzel',serif;font-size:11px;
  letter-spacing:.3em;color: var(--g3);
  text-transform:uppercase;
}

.footer-legal{display:flex;gap:24px;}
.footer-legal a{
  font-family:'Cinzel',serif;font-size:11px;
  letter-spacing:.3em;color:color: var(--g3);
  text-transform:uppercase;text-decoration:none;
  transition:color .3s ease;
}
.footer-legal a:hover{color:var(--g4);}

/* Responsive */
@media(max-width:760px){
  .footer-top{grid-template-columns:1fr 1fr;gap:36px;}
  .footer-brand{grid-column:1/-1;}
}
@media(max-width:480px){
  .footer-top{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:12px;}
}


/* Scroll reveal */
.sr {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.sr.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-delay-1 { transition-delay: 0.1s; }
.sr-delay-2 { transition-delay: 0.2s; }
.sr-delay-3 { transition-delay: 0.35s; }
.sr-delay-4 { transition-delay: 0.5s; }


.sr-d1 { transition-delay:0.12s; }
.sr-d2 { transition-delay:0.28s; }
.sr-d3 { transition-delay:0.44s; }
.sr-d4 { transition-delay:0.62s; }
.sr-d5 { transition-delay:0.82s; }

/* ═══════════════════════════════
   ANIMATIONS
═══════════════════════════════ */
@keyframes goldFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes rotSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
  from { height: 0; }
  to { height: 60px; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

@keyframes draw {
  from { stroke-dashoffset: var(--len); }
  to   { stroke-dashoffset: 0; }
}

@keyframes haloBreath {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

/* ── IDLE ANIMATIONS ── */
/* Chaque ligne a son propre keyframe avec amplitude et timing différents */
@keyframes idle-1 {
	0%, 100% { transform: translateX(0); }
	50%       { transform: translateX(3px); }
}
@keyframes idle-2 {
	0%, 100% { transform: translateX(0); }
	50%       { transform: translateX(-4px); }
}
@keyframes idle-3 {
	0%, 100% { transform: translateX(0); width: 26px; }
	50%       { transform: translateX(2px); width: 36px; }
}


/* ══ CTA ══ */
.cta-section{
  padding:clamp(80px,10vh,120px) clamp(24px,5vw,80px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:100dvh;
}

/* ══ CTA frame — déclaration unique ══ */
.cta-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  max-width: 1000px;
  padding: clamp(48px,7vh,80px) clamp(40px,6vw,80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px,4vh,40px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease, background .8s ease;
}

.cta-frame.visible {
  opacity: 1;
  transform: translateY(0);
  background: var(--bg-section);
}

/* Canvas particles */
.cta-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Halo */
.cta-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(212,168,67,.04) 0%, transparent 65%);
}

/* Coins — z-index 3, au-dessus de tout */
.cta-corner {
  position: absolute;
  width: 28px; height: 28px;
  z-index: 3;
}
.cta-corner svg { width: 100%; height: 100%; }
.cta-corner.tl { top: 0; left: 0; }
.cta-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.cta-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.cta-corner.br { bottom: 0; right: 0; transform: scale(-1); }

/* Bordures */
.cta-border-h {
  position: absolute; height: 1px;
  left: 28px; right: 28px; z-index: 3;
  background: linear-gradient(to right,
    rgba(212,168,67,.15),
    rgba(212,168,67,.35) 30%,
    rgba(212,168,67,.35) 70%,
    rgba(212,168,67,.15)
  );
  transition: background .6s ease;
}
.cta-border-h.top { top: 0; }
.cta-border-h.bot { bottom: 0; }

.cta-border-v {
  position: absolute; width: 1px;
  top: 28px; bottom: 28px; z-index: 3;
  background: linear-gradient(to bottom,
    rgba(212,168,67,.15),
    rgba(212,168,67,.35) 30%,
    rgba(212,168,67,.35) 70%,
    rgba(212,168,67,.15)
  );
  transition: background .6s ease;
}
.cta-border-v.left { left: 0; }
.cta-border-v.right { right: 0; }

/* Contenu au-dessus de tout */
.cta-frame > *:not(.cta-particles):not(.cta-halo):not(.cta-corner):not([class*="cta-border"]) {
  position: relative;
  z-index: 2;
}

/* Hover bordures */
.cta-frame:hover .cta-border-h {
  background: linear-gradient(to right,
    rgba(212,168,67,.08),
    rgba(212,168,67,.55) 30%,
    rgba(212,168,67,.55) 70%,
    rgba(212,168,67,.08)
  );
}
.cta-frame:hover .cta-border-v {
  background: linear-gradient(to bottom,
    rgba(212,168,67,.08),
    rgba(212,168,67,.55) 30%,
    rgba(212,168,67,.55) 70%,
    rgba(212,168,67,.08)
  );
}
.cta-frame:hover .cta-corner svg path:first-child {
  stroke: rgba(212,168,67,.8);
  transition: stroke .6s ease;
}