/* ── SEAK CTA Shortcodes ── */

.seak-cta-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15) !important;
    line-height: 1 !important;
}
.seak-cta-whatsapp svg {
    flex-shrink: 0 !important;
    display: block !important;
}
.seak-cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}
.seak-cta-whatsapp:active { transform: translateY(0); }
.seak-cta-whatsapp svg { flex-shrink: 0; }

.seak-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.seak-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── Custom properties for CTA glow ── */
@property --seak-cta-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@property --seak-cta-angle2 {
    syntax: '<angle>';
    initial-value: 180deg;
    inherits: false;
}

/* ── Hero CTA block ── */
.seak-cta-hero {
    max-width: 640px;
    padding: 40px 0;
    text-align: center;
}
.seak-cta-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    opacity: 0.85;
}
.seak-cta-hero-title {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: inherit;
    line-height: 1.3;
    margin-bottom: 6px;
}
.seak-cta-hero-sub {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 14px;
    color: inherit;
    opacity: 0.55;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ── Input wrap : glassmorphism + animated glow ring ── */
.seak-cta-field-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: 60px;
}

/* Glow ring : conic-gradient anime (comme le chatbot mais en plus grand) */
.seak-cta-field-wrap::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 72px;
    background:
        conic-gradient(
            from var(--seak-cta-angle),
            transparent 0%,
            rgba(252,106,10,0.3) 12%,
            rgba(167,139,250,0.25) 20%,
            rgba(245,158,11,0.25) 28%,
            transparent 40%
        ),
        conic-gradient(
            from var(--seak-cta-angle2),
            transparent 0%,
            rgba(244,114,182,0.2) 15%,
            transparent 30%,
            rgba(129,140,248,0.2) 50%,
            transparent 65%
        );
    filter: blur(18px);
    opacity: 0.5;
    z-index: 0;
    animation:
        seak-cta-rotate 12s ease-in-out infinite,
        seak-cta-rotate2 17s ease-in-out infinite,
        seak-cta-breathe 8s ease-in-out infinite;
    transition: opacity 0.4s ease;
}
.seak-cta-field-wrap:focus-within::before {
    opacity: 1;
}

/* Ombre douce derriere le champ */
.seak-cta-field-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: transparent;
    border: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 12px rgba(0,0,0,0.04);
    z-index: 0;
    transition: box-shadow 0.3s;
    pointer-events: none;
}
.seak-cta-field-wrap:focus-within::after {
    box-shadow: 0 12px 48px rgba(0,0,0,0.14), 0 0 24px rgba(252,106,10,0.1);
}

.seak-cta-input,
.seak-cta-input[type="text"] {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 22px 30px !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 16px;
    color: inherit;
    background: transparent !important;
    min-width: 0;
    width: auto !important;
}
.seak-cta-input::placeholder { color: inherit; opacity: 0.55; }

.seak-cta-send {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    border-radius: 0 60px 60px 0;
    background: transparent !important;
}
.seak-cta-send svg {
    filter: drop-shadow(0 0 6px rgba(252,106,10,0.4));
    transition: filter 0.2s, transform 0.2s;
}
.seak-cta-send:hover svg {
    filter: drop-shadow(0 0 12px rgba(252,106,10,0.6));
    transform: scale(1.15);
}

/* ── Animations (organiques, pas cycliques) ── */
@keyframes seak-cta-rotate {
    0%   { --seak-cta-angle: 0deg; }
    15%  { --seak-cta-angle: 80deg; }
    30%  { --seak-cta-angle: 70deg; }
    50%  { --seak-cta-angle: 200deg; }
    65%  { --seak-cta-angle: 185deg; }
    80%  { --seak-cta-angle: 310deg; }
    100% { --seak-cta-angle: 360deg; }
}
@keyframes seak-cta-rotate2 {
    0%   { --seak-cta-angle2: 180deg; }
    20%  { --seak-cta-angle2: 100deg; }
    40%  { --seak-cta-angle2: 120deg; }
    60%  { --seak-cta-angle2: 300deg; }
    75%  { --seak-cta-angle2: 280deg; }
    100% { --seak-cta-angle2: 540deg; }
}
@keyframes seak-cta-breathe {
    0%, 100% { opacity: 0.35; }
    25%      { opacity: 0.55; }
    60%      { opacity: 0.4; }
    80%      { opacity: 0.6; }
}

@media (max-width: 600px) {
    .seak-cta-hero { padding: 28px 0; }
    .seak-cta-hero-title { font-size: 20px; }
    .seak-cta-input,
    .seak-cta-input[type="text"],
    .seak-cta-input[type="tel"] { padding: 18px 22px !important; font-size: 16px !important; }
    .seak-cta-whatsapp, .seak-cta-button { padding: 12px 20px; font-size: 14px; }
}
